|
| MeshTopology () |
| Create empty mesh topology.
|
|
| MeshTopology (const MeshTopology &topology) |
| Copy constructor.
|
|
| ~MeshTopology () |
| Destructor.
|
|
MeshTopology & | operator= (const MeshTopology &topology) |
| Assignment.
|
|
std::size_t | dim () const |
| Return topological dimension.
|
|
std::size_t | size (std::size_t dim) const |
| Return number of entities for given dimension.
|
|
std::size_t | size_global (std::size_t dim) const |
| Return global number of entities for given dimension.
|
|
std::size_t | ghost_offset (std::size_t dim) const |
|
void | clear () |
| Clear all data.
|
|
void | clear (std::size_t d0, std::size_t d1) |
| Clear data for given pair of topological dimensions.
|
|
void | init (std::size_t dim) |
| Initialize topology of given maximum dimension.
|
|
void | init (std::size_t dim, std::size_t local_size, std::size_t global_size) |
|
void | init_global_indices (std::size_t dim, std::size_t size) |
|
void | init_ghost (std::size_t dim, std::size_t index) |
| Initialise the offset index of ghost entities for this dimension.
|
|
void | set_global_index (std::size_t dim, std::size_t local_index, std::int64_t global_index) |
|
const std::vector< std::int64_t > & | global_indices (std::size_t d) const |
|
bool | have_global_indices (std::size_t dim) const |
|
bool | have_shared_entities (unsigned int dim) const |
|
std::map< std::int32_t, std::set< unsigned int > > & | shared_entities (unsigned int dim) |
|
const std::map< std::int32_t, std::set< unsigned int > > & | shared_entities (unsigned int dim) const |
|
std::vector< unsigned int > & | cell_owner () |
|
const std::vector< unsigned int > & | cell_owner () const |
|
dolfin::MeshConnectivity & | operator() (std::size_t d0, std::size_t d1) |
| Return connectivity for given pair of topological dimensions.
|
|
const dolfin::MeshConnectivity & | operator() (std::size_t d0, std::size_t d1) const |
| Return connectivity for given pair of topological dimensions.
|
|
size_t | hash () const |
| Return hash based on the hash of cell-vertex connectivity.
|
|
std::string | str (bool verbose) const |
| Return informal string representation (pretty-print)
|
|
| 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 |
|
MeshTopology stores the topology of a mesh, consisting of mesh entities and connectivity (incidence relations for the mesh entities). Note that the mesh entities don't need to be stored, only the number of entities and the connectivity. Any numbering scheme for the mesh entities is stored separately in a MeshFunction over the entities.
A mesh entity e may be identified globally as a pair e = (dim, i), where dim is the topological dimension and i is the index of the entity within that topological dimension.
std::map<std::vector<std::size_t>, std::pair<std::vector<std::size_t>, std::vector<std::vector<std::size_t> > > > dolfin::MeshTopology::coloring |
Mesh entity colors, if computed. First vector is
(colored entity dim - dim1 - dim2 - ... - colored entity dim)
The first vector in the pair stores mesh entity colors and the vector<vector> is a list of all mesh entity indices of the same color, e.g. vector<vector>[col][i] is the index of the ith entity of color 'col'.