dolfinx.cpp.mesh
Mesh library module
Classes
|
|
|
|
|
Geometry object |
|
Geometry object |
|
|
|
MeshTags object |
|
MeshTags object |
|
MeshTags object |
|
MeshTags object |
|
Mesh object |
|
Mesh object |
|
Topology object |
- class dolfinx.cpp.mesh.CellType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
- hexahedron = -8
- interval = 2
- property name
(self) -> object
- point = 1
- prism = -6
- pyramid = -5
- quadrilateral = -4
- tetrahedron = 4
- triangle = 3
- class dolfinx.cpp.mesh.DiagonalType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
- crossed = 2
- left = 0
- left_right = 4
- right = 1
- right_left = 5
- class dolfinx.cpp.mesh.Geometry_float32(self, index_map: dolfinx.cpp.common.IndexMap, dofmap: ndarray[dtype=int32, shape=(*, *), order='C', writable=False], element: dolfinx.cpp.fem.CoordinateElement_float32, x: ndarray[dtype=float32, shape=(*, *), writable=False], input_global_indices: ndarray[dtype=int64, shape=(*), order='C', writable=False])
Bases:
object
Geometry object
- property cmap
The coordinate map
- cmaps
The ith coordinate map
- property dim
Geometric dimension
- property dofmap
(self) -> numpy.ndarray[dtype=int32, writable=False]
- dofmaps
Get the geometry dofmap associated with coordinate element i (mixed topology)
- index_map
- property input_global_indices
(self) -> numpy.ndarray[dtype=int64, writable=False]
- property x
Return coordinates of all geometry points. Each row is the coordinate of a point.
- class dolfinx.cpp.mesh.Geometry_float64(self, index_map: dolfinx.cpp.common.IndexMap, dofmap: ndarray[dtype=int32, shape=(*, *), order='C', writable=False], element: dolfinx.cpp.fem.CoordinateElement_float64, x: ndarray[dtype=float64, shape=(*, *), writable=False], input_global_indices: ndarray[dtype=int64, shape=(*), order='C', writable=False])
Bases:
object
Geometry object
- property cmap
The coordinate map
- cmaps
The ith coordinate map
- property dim
Geometric dimension
- property dofmap
(self) -> numpy.ndarray[dtype=int32, writable=False]
- dofmaps
Get the geometry dofmap associated with coordinate element i (mixed topology)
- index_map
- property input_global_indices
(self) -> numpy.ndarray[dtype=int64, writable=False]
- property x
Return coordinates of all geometry points. Each row is the coordinate of a point.
- class dolfinx.cpp.mesh.GhostMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
- none = 0
- class dolfinx.cpp.mesh.MeshTags_float64(self, arg0: dolfinx.cpp.mesh.Topology, arg1: int, arg2: ndarray[dtype=int32, shape=(*), order='C', writable=False], arg3: ndarray[dtype=float64, shape=(*), order='C', writable=False], /)
Bases:
object
MeshTags object
- property dim
(self) -> int
- property dtype
(self) -> str
- find
- property indices
(self) -> numpy.ndarray[dtype=int32, writable=False]
- property name
(self) -> str
- property topology
(self) -> dolfinx.cpp.mesh.Topology
- property values
(self) -> numpy.ndarray[dtype=float64, writable=False]
- class dolfinx.cpp.mesh.MeshTags_int32(self, arg0: dolfinx.cpp.mesh.Topology, arg1: int, arg2: ndarray[dtype=int32, shape=(*), order='C', writable=False], arg3: ndarray[dtype=int32, shape=(*), order='C', writable=False], /)
Bases:
object
MeshTags object
- property dim
(self) -> int
- property dtype
(self) -> str
- find
- property indices
(self) -> numpy.ndarray[dtype=int32, writable=False]
- property name
(self) -> str
- property topology
(self) -> dolfinx.cpp.mesh.Topology
- property values
(self) -> numpy.ndarray[dtype=int32, writable=False]
- class dolfinx.cpp.mesh.MeshTags_int64(self, arg0: dolfinx.cpp.mesh.Topology, arg1: int, arg2: ndarray[dtype=int32, shape=(*), order='C', writable=False], arg3: ndarray[dtype=int64, shape=(*), order='C', writable=False], /)
Bases:
object
MeshTags object
- property dim
(self) -> int
- property dtype
(self) -> str
- find
- property indices
(self) -> numpy.ndarray[dtype=int32, writable=False]
- property name
(self) -> str
- property topology
(self) -> dolfinx.cpp.mesh.Topology
- property values
(self) -> numpy.ndarray[dtype=int64, writable=False]
- class dolfinx.cpp.mesh.MeshTags_int8(self, arg0: dolfinx.cpp.mesh.Topology, arg1: int, arg2: ndarray[dtype=int32, shape=(*), order='C', writable=False], arg3: ndarray[dtype=int8, shape=(*), order='C', writable=False], /)
Bases:
object
MeshTags object
- property dim
(self) -> int
- property dtype
(self) -> str
- find
- property indices
(self) -> numpy.ndarray[dtype=int32, writable=False]
- property name
(self) -> str
- property topology
(self) -> dolfinx.cpp.mesh.Topology
- property values
(self) -> numpy.ndarray[dtype=int8, writable=False]
- class dolfinx.cpp.mesh.Mesh_float32(self, comm: MPICommWrapper, topology: dolfinx.cpp.mesh.Topology, geometry: dolfinx.cpp.mesh.Geometry_float32)
Bases:
object
Mesh object
- property comm
(self) -> MPICommWrapper
- property geometry
Mesh geometry
- property name
(self) -> str
- property topology
Mesh topology
- class dolfinx.cpp.mesh.Mesh_float64(self, comm: MPICommWrapper, topology: dolfinx.cpp.mesh.Topology, geometry: dolfinx.cpp.mesh.Geometry_float64)
Bases:
object
Mesh object
- property comm
(self) -> MPICommWrapper
- property geometry
Mesh geometry
- property name
(self) -> str
- property topology
Mesh topology
- class dolfinx.cpp.mesh.Topology(self, comm: MPICommWrapper, cell_type: dolfinx.cpp.mesh.CellType)
Bases:
object
Topology object
- property cell_type
(self) -> dolfinx.cpp.mesh.CellType
- property comm
(self) -> MPICommWrapper
- connectivity
- create_connectivity
- create_entities
- create_entity_permutations
- property dim
Topological dimension
- property entity_types
(self) -> list[list[dolfinx.cpp.mesh.CellType]]
- get_cell_permutation_info
- get_facet_permutations
- index_map
- index_maps
- interprocess_facets
- property original_cell_index
(self) -> numpy.ndarray[dtype=int64, writable=False]
- set_connectivity
- set_index_map