Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
Mesh connectivity stores a sparse data structure of connections (incidence relations) between mesh entities for a fixed pair of topological dimensions.
The connectivity can be specified either by first giving the number of entities and the number of connections for each entity, which may either be equal for all entities or different, or by giving the entire (sparse) connectivity pattern.
Create empty connectivity between given dimensions (d0 – d1)
Copy constructor
Assignment
Return true if the total number of connections is equal to zero
Return total number of connections
Return number of connections for given entity
Return global number of connections for given entity
Return array of connections for given entity
Return contiguous array of connections for all entities
Clear all data
Initialize number of entities and number of connections (equal for all)
Initialize number of entities and number of connections (individually)
Set given connection for given entity
Set all connections for given entity. T is a contains, e.g. std::vector<std::size_t>
Set all connections for given entity
Set all connections for all entities (T is a container, e.g. a std::vector<std::size_t>, std::set<std::size_t>, etc)
Set global number of connections for all local entities
Hash of connections
Return informal string representation (pretty-print)