File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ def refine_mesh(
75
75
) -> dolfin .Mesh :
76
76
dolfin .parameters ["refinement_algorithm" ] = "plaza_with_parent_facets"
77
77
for i in range (num_refinements ):
78
- logger .info (f"Performing refinement { i + 1 } " )
78
+ logger .info (f"Performing refinement { i + 1 } " )
79
79
mesh = dolfin .refine (mesh , redistribute = redistribute )
80
80
81
81
return mesh
@@ -159,8 +159,8 @@ def default_parameters() -> Dict[str, Any]:
159
159
def default_stimulus_domain (mesh : dolfin .Mesh ) -> StimulusDomain :
160
160
# Default is to stimulate the entire tissue
161
161
marker = 1
162
- #domain = dolfin.MeshFunction("size_t", mesh, mesh.topology().dim())
163
- #domain.set_all(marker)
162
+ # domain = dolfin.MeshFunction("size_t", mesh, mesh.topology().dim())
163
+ # domain.set_all(marker)
164
164
subdomain = dolfin .CompiledSubDomain ("x[0] < 1.0" )
165
165
domain = dolfin .MeshFunction ("size_t" , mesh , mesh .topology ().dim ())
166
166
domain .set_all (0 )
You can’t perform that action at this time.
0 commit comments