PolyhedralMeshGenerator

class dolfin.cpp.mesh.PolyhedralMeshGenerator(*args)

Bases: object

Polyhedral mesh generator that uses CGAL. Volume and surfaces of polyhedra (closed surface) can be generated from polyhedra defined via polygonal facets.

static generate(*args)

Overloaded versions

  • generate(mesh, off_file, cell_size, detect_sharp_features=true)

    Create volume mesh from Object File Format (.off) file

  • generate(mesh, vertices, facets, cell_size, detect_sharp_features=true)

    Create volume mesh from a collection of facets

static generate_surface_mesh(*args)

Overloaded versions

  • generate_surface_mesh(mesh, vertices, facets, cell_size, detect_sharp_features=true)

    Create surface mesh from a collection of facets

  • generate_surface_mesh(mesh, off_file, cell_size, detect_sharp_features=true)

    Create a surface mesh from Object File Format (.off) file

thisown

The membership flag