This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pygmsh.built_in.geometry import Geometry | |
from pygmsh import generate_mesh | |
import meshio | |
from dolfin import Mesh, MeshFunction, XDMFFile | |
geom = Geometry() | |
lc = .1 | |
p0 = geom.add_point([0, 0, 0], lcar=lc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pygmsh.built_in.geometry import Geometry | |
from pygmsh import generate_mesh | |
import meshio | |
import dolfin | |
geom = Geometry() | |
lc = .1 | |
p0 = geom.add_point([0, 0, 0], lcar=lc) | |
p1 = geom.add_point([1, 0, 0], lcar=lc) |