You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Sets the path to export a vtu file with the results, use bounda_only to export only one layer of the mesh in 3d"""
46
50
self.export["vis_mesh"] =path
47
51
self.export["vis_boundary_only"] =bounda_only
48
52
49
53
50
54
defset_wireframe_export_path(self, path):
55
+
"""Sets the path to export a wireframe of the mesh"""
51
56
self.export["wire_mesh"] =path
52
57
53
58
54
59
defset_isolines_export_path(self, path):
60
+
"""Sets the path to export the isolines of the solution"""
55
61
self.export["iso_mesh"] =path
56
62
57
63
58
64
defset_solution_export_path(self, path):
65
+
"""Sets the path to save the solution"""
59
66
self.export["solution"] =path
60
67
61
68
62
69
defset_advanced_option(self, key, value):
70
+
"""Used to set any advanced option not present in this class, for instance set_advanced_option("use_spline",True), see https://polyfem.github.io/documentation/ for full list"""
63
71
self.advanced_options[key] =value
64
72
65
73
def__str__(self):
74
+
"""stringygied json description of this class, used to run the solver"""
66
75
tmp=dict(
67
76
(key, value)
68
77
for (key, value) inself.__dict__.items())
@@ -72,4 +81,5 @@ def __str__(self):
72
81
returnjson.dumps(tmp, sort_keys=True, indent=4)
73
82
74
83
defserialize(self):
84
+
"""stringygied json description of this class, used to run the solver"""
0 commit comments