Commit 149e5728 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[python][ex2] avoid warning, set mesh size in domain

parent 01e4184a
Pipeline #2774 passed with stages
in 11 minutes and 14 seconds
...@@ -149,5 +149,6 @@ print("\n --- Writing .geo file ---\n") ...@@ -149,5 +149,6 @@ print("\n --- Writing .geo file ---\n")
from frackit.io import GmshWriter from frackit.io import GmshWriter
writer = GmshWriter(network); writer = GmshWriter(network);
writer.setMeshSize(GmshWriter.GeometryTag.entity, 0.1) writer.setMeshSize(GmshWriter.GeometryTag.entity, 0.1)
writer.setMeshSize(GmshWriter.GeometryTag.subDomain, 0.1)
writer.write("network") # filename of the .geo files (will add extension .geo automatically) writer.write("network") # filename of the .geo files (will add extension .geo automatically)
print("\n --- Finished writing .geo file ---\n") print("\n --- Finished writing .geo file ---\n")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment