FEM: flake8
This commit is contained in:
@@ -126,7 +126,7 @@ class FemInputWriterCcx(writerbase.FemInputWriter):
|
||||
self.write_node_sets_constraints_planerotation(inpfileMain, self.split_inpfile)
|
||||
self.write_surfaces_constraints_contact(inpfileMain, self.split_inpfile)
|
||||
self.write_surfaces_constraints_tie(inpfileMain, self.split_inpfile)
|
||||
self.write_surfaces_constraints_sectionprint(inpfileMain, self.split_inpfile)
|
||||
self.write_surfaces_constraints_sectionprint(inpfileMain, self.split_inpfile)
|
||||
self.write_node_sets_constraints_transform(inpfileMain, self.split_inpfile)
|
||||
self.write_node_sets_constraints_temperature(inpfileMain, self.split_inpfile)
|
||||
|
||||
|
||||
@@ -131,7 +131,10 @@ class Writer(object):
|
||||
groups.extend(self._builder.getBoundaryNames())
|
||||
self._exportToUnv(groups, mesh, unvPath)
|
||||
if self.testmode:
|
||||
Console.PrintMessage("Solver Elmer testmode, ElmerGrid will not be used. It might not be installed.\n")
|
||||
Console.PrintMessage(
|
||||
"Solver Elmer testmode, ElmerGrid will not be used. "
|
||||
"It might not be installed.\n"
|
||||
)
|
||||
else:
|
||||
binary = settings.get_binary("ElmerGrid")
|
||||
if binary is None:
|
||||
@@ -170,7 +173,10 @@ class Writer(object):
|
||||
tools.write_part_file()
|
||||
tools.write_geo()
|
||||
if self.testmode:
|
||||
Console.PrintMessage("Solver Elmer testmode, Gmsh will not be used. It might not be installed.\n")
|
||||
Console.PrintMessage(
|
||||
"Solver Elmer testmode, Gmsh will not be used. "
|
||||
"It might not be installed.\n"
|
||||
)
|
||||
import shutil
|
||||
shutil.copyfile(geoPath, os.path.join(self.directory, "group_mesh.geo"))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user