dolfinx.cpp.generation

Mesh generation module

Functions

create_box_mesh(comm, p, 1]][2]], n, …)

create_interval_mesh(comm, n, p, element, …)

create_rectangle_mesh(comm, p, 1]][2]], n, …)

dolfinx.cpp.generation.create_box_mesh(comm: MPICommWrapper, p: List[numpy.ndarray[numpy.float64[3, 1]][2]], n: List[int[3]], element: dolfinx.cpp.fem.CoordinateElement, ghost_mode: dolfinx.cpp.mesh.GhostMode, partitioner: Callable[[MPICommWrapper, int, dolfinx.cpp.mesh.CellType, dolfinx.cpp.graph.AdjacencyList_int64, dolfinx.cpp.mesh.GhostMode], dolfinx.cpp.graph.AdjacencyList_int32])dolfinx.cpp.mesh.Mesh
dolfinx.cpp.generation.create_interval_mesh(comm: MPICommWrapper, n: int, p: List[float[2]], element: dolfinx.cpp.fem.CoordinateElement, ghost_mode: dolfinx.cpp.mesh.GhostMode, partitioner: Callable[[MPICommWrapper, int, dolfinx.cpp.mesh.CellType, dolfinx.cpp.graph.AdjacencyList_int64, dolfinx.cpp.mesh.GhostMode], dolfinx.cpp.graph.AdjacencyList_int32])dolfinx.cpp.mesh.Mesh
dolfinx.cpp.generation.create_rectangle_mesh(comm: MPICommWrapper, p: List[numpy.ndarray[numpy.float64[3, 1]][2]], n: List[int[2]], element: dolfinx.cpp.fem.CoordinateElement, ghost_mode: dolfinx.cpp.mesh.GhostMode, partitioner: Callable[[MPICommWrapper, int, dolfinx.cpp.mesh.CellType, dolfinx.cpp.graph.AdjacencyList_int64, dolfinx.cpp.mesh.GhostMode], dolfinx.cpp.graph.AdjacencyList_int32], diagonal: str)dolfinx.cpp.mesh.Mesh