|
| template<std::convertible_to< std::vector< std::int32_t > > U, std::convertible_to< std::vector< T > > V> |
| | MeshTags (std::shared_ptr< const Mesh > mesh, int dim, U &&indices, V &&values) |
| | Create a MeshTag from entities of given dimension on a mesh.
|
| |
|
| MeshTags (const MeshTags &tags)=default |
| | Copy constructor.
|
| |
|
| MeshTags (MeshTags &&tags)=default |
| | Move constructor.
|
| |
|
| ~MeshTags ()=default |
| | Destructor.
|
| |
|
MeshTags & | operator= (const MeshTags &tags)=default |
| | Move assignment.
|
| |
|
MeshTags & | operator= (MeshTags &&tags)=default |
| | Move assignment.
|
| |
| std::vector< std::int32_t > | find (const T value) const |
| | Find all entities with a given tag value.
|
| |
|
std::span< const std::int32_t > | indices () const |
| | Indices of tagged mesh entities (local-to-process). The indices are sorted.
|
| |
|
std::span< const T > | values () const |
| | Values attached to mesh entities.
|
| |
|
int | dim () const |
| | Return topological dimension of tagged entities.
|
| |
|
std::shared_ptr< const Mesh > | mesh () const |
| | Return mesh.
|
| |
template<typename T>
class dolfinx::mesh::MeshTags< T >
MeshTags associate values with mesh entities.
The entity index (local to process) identifies the entity. MeshTags is a sparse data storage class; it allows tags to be associated with an arbitrary subset of mesh entities. An entity can have only one associated tag.
- Template Parameters
-