dolfinx.cpp.generation

Mesh generation module

Functions

create_box_mesh(comm, p, n, celltype, …)

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

create_rectangle_mesh(comm, p, n, celltype, …)

dolfinx.cpp.generation.create_box_mesh(comm: MPICommWrapper, p: List[List[float[3]][2]], n: List[int[3]], celltype: dolfinx.cpp.mesh.CellType, ghost_mode: dolfinx.cpp.mesh.GhostMode, partitioner: Callable[[MPICommWrapper, int, int, 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]], ghost_mode: dolfinx.cpp.mesh.GhostMode, partitioner: Callable[[MPICommWrapper, int, int, 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[List[float[3]][2]], n: List[int[2]], celltype: dolfinx.cpp.mesh.CellType, ghost_mode: dolfinx.cpp.mesh.GhostMode, partitioner: Callable[[MPICommWrapper, int, int, dolfinx.cpp.graph.AdjacencyList_int64, dolfinx.cpp.mesh.GhostMode], dolfinx.cpp.graph.AdjacencyList_int32], diagonal: str) dolfinx.cpp.mesh.Mesh