feat(mean_field): added initial implementation
note this implementation lacks many tests
This commit is contained in:
13
generate_mesh.py
Normal file
13
generate_mesh.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from stroid.config import MeshConfig
|
||||
from stroid.IO import SaveStroidMesh
|
||||
from stroid import GenerateMesh
|
||||
|
||||
cfg = MeshConfig()
|
||||
cfg.order = 4
|
||||
cfg.refinement_levels = 2
|
||||
print(cfg)
|
||||
|
||||
mesh = GenerateMesh(cfg)
|
||||
SaveStroidMesh(mesh, "sandbox.smesh")
|
||||
print(mesh)
|
||||
|
||||
Reference in New Issue
Block a user