BEM++
2.0
|
Abstract mapper class. More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/grid/mapper.hpp>
Public Member Functions | |
virtual size_t | size () const =0 |
Total number of entities in the entity set managed by the mapper. | |
virtual size_t | entityIndex (const Entity< 0 > &e) const =0 |
Index of the entity of codimension 0. More... | |
virtual size_t | entityIndex (const Entity< 1 > &e) const =0 |
Index of the entity of codimension 1. More... | |
virtual size_t | entityIndex (const Entity< 2 > &e) const =0 |
Index of the entity of codimension 2. More... | |
virtual size_t | entityIndex (const Entity< 3 > &e) const =0 |
Index of the entity of codimension 3. More... | |
virtual size_t | subEntityIndex (const Entity< 0 > &e, size_t i, int codimSub) const =0 |
Index of i'th subentity of codimension codimSub of entity e of codimension 0. | |
Abstract mapper class.
A mapper provides a mapping from a set of entities to a range of integers from 0 to (size() - 1), where size() is the number of entities contained in the set.
|
pure virtual |
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.
Implemented in Bempp::ConcreteElementMapper< DuneGridView >.
Referenced by Bempp::Space< BasisFunctionType >::getAllShapesets(), Bempp::UnitScalarSpace< BasisFunctionType >::getFlatLocalDofBoundingBoxes(), Bempp::UnitScalarSpace< BasisFunctionType >::getFlatLocalDofPositions(), Bempp::UnitScalarSpace< BasisFunctionType >::getGlobalDofPositions(), Bempp::UnitScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseConstantDualGridDiscontinuousScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseLinearContinuousScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseConstantDualGridScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseLinearDiscontinuousScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseConstantScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseConstantScalarSpaceBarycentric< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseConstantDiscontinuousScalarSpaceBarycentric< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewisePolynomialContinuousScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseLinearDiscontinuousScalarSpaceBarycentric< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseLinearContinuousScalarSpaceBarycentric< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewisePolynomialDiscontinuousScalarSpace< BasisFunctionType >::getGlobalDofs(), Bempp::RaviartThomas0VectorSpace< BasisFunctionType >::getGlobalDofs(), Bempp::PiecewiseLinearContinuousScalarSpaceBarycentric< BasisFunctionType >::shapeset(), and Bempp::PiecewiseLinearDiscontinuousScalarSpaceBarycentric< BasisFunctionType >::shapeset().
|
pure virtual |
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.
Implemented in Bempp::ConcreteElementMapper< DuneGridView >.
|
pure virtual |
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.
Implemented in Bempp::ConcreteElementMapper< DuneGridView >.
|
pure virtual |
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.
Implemented in Bempp::ConcreteElementMapper< DuneGridView >.