|
| MeshData () |
| Constructor.
|
|
| ~MeshData () |
| Destructor.
|
|
const MeshData & | operator= (const MeshData &data) |
|
void | clear () |
| Clear all data.
|
|
bool | exists (std::string name, std::size_t dim) const |
|
std::vector< std::size_t > & | create_array (std::string name, std::size_t dim) |
|
std::vector< std::size_t > & | array (std::string name, std::size_t dim) |
|
const std::vector< std::size_t > & | array (std::string name, std::size_t dim) const |
|
void | erase_array (const std::string name, std::size_t dim) |
|
std::string | str (bool verbose) const |
|
| Variable () |
| Create unnamed variable.
|
|
| Variable (const std::string name, const std::string label) |
| Create variable with given name and label.
|
|
| Variable (const Variable &variable) |
| Copy constructor.
|
|
virtual | ~Variable () |
| Destructor.
|
|
const Variable & | operator= (const Variable &variable) |
| Assignment operator.
|
|
void | rename (const std::string name, const std::string label) |
| Rename variable.
|
|
std::string | name () const |
| Return name.
|
|
std::string | label () const |
| Return label (description)
|
|
std::size_t | id () const |
|
virtual std::string | str (bool verbose) const |
| Return informal string representation (pretty-print) More...
|
|
The class MeshData is a container for auxiliary mesh data, represented either as arrays or maps. Each dataset is identified by a unique user-specified string. Only std::size_t-valued data are currently supported.
Auxiliary mesh data may be attached to a mesh by users as a convenient way to store data associated with a mesh. It is also used internally by DOLFIN to communicate data associated with meshes. The following named mesh data are recognized by DOLFIN:
Facet orientation (used for assembly over interior facets)
- "facet_orientation" - std:vector <std::size_t> of dimension D - 1
Sub meshes (used by the class SubMesh)
- "parent_vertex_indices" - std::vector <std::size_t> of dimension 0
Note to developers: use underscore in names in place of spaces.