mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
10 lines
189 B
Python
10 lines
189 B
Python
|
from nglib.meshing import *
|
||
|
from nglib.geom2d import *
|
||
|
|
||
|
geom = SplineGeometry()
|
||
|
geom.Load("square.in2d")
|
||
|
|
||
|
param = MeshingParameters()
|
||
|
param.maxh = 0.05
|
||
|
|
||
|
m1 = geom.GenerateMesh (param)
|