FEM: fix trailing newlines
This commit is contained in:
@@ -198,7 +198,7 @@ class Proxy(nonlinear.Proxy, equationbase.MagnetodynamicProxy):
|
||||
obj.CalculateNodalForces = False
|
||||
obj.CalculateNodalHeating = False
|
||||
obj.DiscontinuousBodies = False
|
||||
|
||||
|
||||
|
||||
class ViewProxy(nonlinear.ViewProxy, equationbase.MagnetodynamicViewProxy):
|
||||
pass
|
||||
|
||||
@@ -153,7 +153,7 @@ class MgDyn2Dwriter:
|
||||
if not obj.CurrentDensity_im_1_Disabled:
|
||||
currentDensity = float(obj.CurrentDensity_im_1.getValueAs("A/m^2"))
|
||||
self.write.bodyForce(name, "Current Density Im", round(currentDensity, 6))
|
||||
|
||||
|
||||
if hasattr(obj, "Magnetization_re_1"):
|
||||
# output only if magnetization is enabled and needed
|
||||
if not obj.Magnetization_re_1_Disabled:
|
||||
|
||||
@@ -350,7 +350,7 @@ class MgDynwriter:
|
||||
for name in obj.References[0][1]:
|
||||
self._outputMagnetodynamicBndConditions(obj, name, equation)
|
||||
self.write.handled(obj)
|
||||
|
||||
|
||||
# the potential can either be a body force or a boundary constraint
|
||||
# therefore only output here if a face is referenced
|
||||
potentials = self.write.getMember("Fem::ConstraintElectrostaticPotential")
|
||||
|
||||
@@ -548,7 +548,7 @@ class Writer(object):
|
||||
activeIn = equation.References[0][1]
|
||||
else:
|
||||
activeIn = self.getAllBodies()
|
||||
|
||||
|
||||
solverSection = MgDyn.getMagnetodynamicSolver(equation)
|
||||
solverPostSection = MgDyn.getMagnetodynamicSolverPost(equation)
|
||||
for body in activeIn:
|
||||
|
||||
Reference in New Issue
Block a user