FEM: solver elmer, use single quotes instead of double ones
This commit is contained in:
@@ -54,14 +54,14 @@ class Proxy(linear.Proxy, equationbase.ElectrostaticProxy):
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "CalculateSurfaceCharge",
|
||||
"Electrostatic", "Select type of solver for linear system")
|
||||
'''
|
||||
"""
|
||||
#obj.addProperty(
|
||||
#"App::PropertyBool", "CalculateCapacitanceMatrix",
|
||||
#"Electrostatic", "Select type of solver for linear system")
|
||||
#obj.addProperty(
|
||||
#"App::PropertyInteger", "CapacitanceBodies",
|
||||
#"Electrostatic", "Select type of solver for linear system")
|
||||
'''
|
||||
"""
|
||||
|
||||
obj.Priority = 10
|
||||
|
||||
|
||||
@@ -48,18 +48,18 @@ class Proxy(linear.Proxy, equationbase.FluxsolverProxy):
|
||||
obj.addProperty(
|
||||
"App::PropertyString", "FluxVariable",
|
||||
"Fluxsolver", "Insert variable name for flux calculation")
|
||||
'''
|
||||
"""
|
||||
#obj.addProperty(
|
||||
#"App::PropertyBool", "CalculateFluxAbs",
|
||||
#"Fluxsolver", "Select calculation of abs of flux")
|
||||
#obj.addProperty(
|
||||
#"App::PropertyBool", "CalculateFluxMagnitude",
|
||||
#"Fluxsolver", "Select calculation of magnitude of flux")
|
||||
'''
|
||||
"""
|
||||
obj.addProperty(
|
||||
"App::PropertyBool", "CalculateGrad",
|
||||
"Fluxsolver", "Select calculation of gradient")
|
||||
'''
|
||||
"""
|
||||
#obj.addProperty(
|
||||
#"App::PropertyBool", "CalculateGradAbs",
|
||||
#"Fluxsolver", "Select calculation of abs of gradient")
|
||||
@@ -69,7 +69,7 @@ class Proxy(linear.Proxy, equationbase.FluxsolverProxy):
|
||||
#obj.addProperty(
|
||||
#"App::PropertyBool", "EnforcePositiveMagnitude",
|
||||
#"Fluxsolver", "Select calculation of positive magnitude")
|
||||
'''
|
||||
"""
|
||||
obj.Priority = 5
|
||||
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ class Writer(object):
|
||||
|
||||
def _writeStartinfo(self):
|
||||
path = os.path.join(self.directory, _STARTINFO_NAME)
|
||||
with open(path, 'w') as f:
|
||||
with open(path, "w") as f:
|
||||
f.write(_SIF_NAME)
|
||||
|
||||
def _exportToUnv(self, groups, mesh, meshPath):
|
||||
@@ -741,7 +741,7 @@ class Writer(object):
|
||||
|
||||
def _writeSif(self):
|
||||
sifPath = os.path.join(self.directory, _SIF_NAME)
|
||||
with open(sifPath, 'w') as fstream:
|
||||
with open(sifPath, "w") as fstream:
|
||||
sif = sifio.Sif(self._builder)
|
||||
sif.write(fstream)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user