1
0
mirror of https://github.com/NGSolve/netgen.git synced 2025-03-22 22:47:56 +05:00

10 lines
189 B
Python
Raw Normal View History

2014-09-10 11:17:37 +00:00
from nglib.meshing import *
from nglib.geom2d import *
geom = SplineGeometry()
geom.Load("square.in2d")
param = MeshingParameters()
param.maxh = 0.05
m1 = geom.GenerateMesh (param)