BEM++
2.0
|
An injective mapping from the full set of codimension-0 entities ("elements") of a grid to the integers 0 ... (number of entities - 1). More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/grid/concrete_element_mapper.hpp>
Public Member Functions | |
ConcreteElementMapper (const DuneGridView &dune_gv) | |
virtual size_t | size () const |
Total number of entities in the entity set managed by the mapper. | |
virtual size_t | entityIndex (const Entity< 0 > &e) const |
Index of the entity of codimension 0. More... | |
virtual size_t | entityIndex (const Entity< 1 > &e) const |
Index of the entity of codimension 1. More... | |
virtual size_t | entityIndex (const Entity< 2 > &e) const |
Index of the entity of codimension 2. More... | |
virtual size_t | entityIndex (const Entity< 3 > &e) const |
Index of the entity of codimension 3. More... | |
virtual size_t | subEntityIndex (const Entity< 0 > &e, size_t i, int codimSub) const |
Index of i'th subentity of codimension codimSub of entity e of codimension 0. | |
Private Attributes | |
Dune::MultipleCodimMultipleGeomTypeMapper < DuneGridView, Dune::MCMGElementLayout > | m_dune_mapper |
An injective mapping from the full set of codimension-0 entities ("elements") of a grid to the integers 0 ... (number of entities - 1).
|
inlinevirtual |
Index of the entity of codimension 0.
The result of calling this method with an entity that does not belong to the mapped set is undefined.
Implements Bempp::Mapper.
|
inlinevirtual |
Index of the entity of codimension 1.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements Bempp::Mapper.
|
inlinevirtual |
Index of the entity of codimension 2.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements Bempp::Mapper.
|
inlinevirtual |
Index of the entity of codimension 3.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Implements Bempp::Mapper.