Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Parent class(es)
The MeshValueCollection class can be used to store data associated with a subset of the entities of a mesh of a given topological dimension. It differs from the MeshFunction class in two ways. First, data does not need to be associated with all entities (only a subset). Second, data is associated with entities through the corresponding cell index and local entity number (relative to the cell), not by global entity index, which means that data may be stored robustly to file.
Create empty mesh value collection
Create an empty mesh value collection on a given mesh
Create a mesh value collection from a MeshFunction
Create a mesh value collection of entities of given dimension on a given mesh
Create a mesh value collection of entities of given dimension on a given mesh (shared_ptr version)
Create a mesh value collection from a file.
Assignment operator
Assignment operator
Initialise MeshValueCollection with mesh and dimension
Initialise MeshValueCollection with mesh and dimension (shared_ptr version)
Set dimension. This function should not generally be used. It is for reading MeshValueCollections as the dimension is not generally known at construction.
Return topological dimension
Return true if the subset is empty
Return size (number of entities in subset)
Set marker value for given entity defined by a cell index and a local entity index
Set value for given entity index
Get marker value for given entity defined by a cell index and a local entity index
Get all values
Get all values (const version)
Clear all values
Return informal string representation (pretty-print)