A MeshEntity represents a mesh entity associated with a specific topological dimension of some Mesh. A MeshEntity object is left in an undefined state if the Mesh that it is constructed with is destroyed.
More...
#include <MeshEntity.h>
A MeshEntity represents a mesh entity associated with a specific topological dimension of some Mesh. A MeshEntity object is left in an undefined state if the Mesh that it is constructed with is destroyed.
◆ MeshEntity()
dolfinx::mesh::MeshEntity::MeshEntity |
( |
const Mesh & |
mesh, |
|
|
int |
dim, |
|
|
std::int32_t |
index |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | mesh | The mesh |
[in] | dim | The topological dimension |
[in] | index | The entity index |
◆ dim()
int dolfinx::mesh::MeshEntity::dim |
( |
| ) |
const |
|
inline |
Return topological dimension.
- Returns
- The topological dimension
◆ entities()
auto dolfinx::mesh::MeshEntity::entities |
( |
int |
dim | ) |
const |
|
inline |
Return array of indices for incident mesh entities of given topological dimension.
- Parameters
-
[in] | dim | The topological dimension |
- Returns
- The index for incident mesh entities of given dimension
◆ index()
std::int32_t dolfinx::mesh::MeshEntity::index |
( |
| ) |
const |
|
inline |
Return index of mesh entity.
- Returns
- The index
◆ mesh()
const Mesh& dolfinx::mesh::MeshEntity::mesh |
( |
| ) |
const |
|
inline |
Return mesh associated with mesh entity.
- Returns
- The mesh
The documentation for this class was generated from the following file:
- /build/dolfinx-yulSVi/dolfinx-2019.2.0~git20200420.6043d6d/cpp/dolfinx/mesh/MeshEntity.h