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
Bases:
object
- hexahedron = dolfinx.cpp.mesh.CellType.hexahedron
- interval = dolfinx.cpp.mesh.CellType.interval
- property name
(self) -> object
- point = dolfinx.cpp.mesh.CellType.point
- prism = dolfinx.cpp.mesh.CellType.prism
- pyramid = dolfinx.cpp.mesh.CellType.pyramid
- quadrilateral = dolfinx.cpp.mesh.CellType.quadrilateral
- tetrahedron = dolfinx.cpp.mesh.CellType.tetrahedron
- triangle = dolfinx.cpp.mesh.CellType.triangle
- class dolfinx.cpp.mesh.DiagonalType
Bases:
object
- crossed = dolfinx.cpp.mesh.DiagonalType.crossed
- left = dolfinx.cpp.mesh.DiagonalType.left
- left_right = dolfinx.cpp.mesh.DiagonalType.left_right
- right = dolfinx.cpp.mesh.DiagonalType.right
- right_left = dolfinx.cpp.mesh.DiagonalType.right_left
- class dolfinx.cpp.mesh.Geometry_float32
Bases:
object
Geometry object
- property cmap
The 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
Bases:
object
Geometry object
- property cmap
The 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.MeshTags_float64(self, arg0: dolfinx.cpp.mesh.Topology, arg1: int, arg2: ndarray[dtype=int32, writable=False, shape=(*), order='C'], arg3: ndarray[dtype=float64, writable=False, shape=(*), order='C'], /)
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, writable=False, shape=(*), order='C'], arg3: ndarray[dtype=int32, writable=False, shape=(*), order='C'], /)
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, writable=False, shape=(*), order='C'], arg3: ndarray[dtype=int64, writable=False, shape=(*), order='C'], /)
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, writable=False, shape=(*), order='C'], arg3: ndarray[dtype=int8, writable=False, shape=(*), order='C'], /)
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
- cell_name
- 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