BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
Bempp::Mapper Class Referenceabstract

Abstract mapper class. More...

#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/grid/mapper.hpp>

Inheritance diagram for Bempp::Mapper:
Bempp::ConcreteElementMapper< DuneGridView >

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.
 

Detailed Description

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.

Member Function Documentation

virtual size_t Bempp::Mapper::entityIndex ( const Entity< 0 > &  e) const
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.

Returns
An index in the range 0 ... (size() - 1).

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().

virtual size_t Bempp::Mapper::entityIndex ( const Entity< 1 > &  e) const
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 >.

virtual size_t Bempp::Mapper::entityIndex ( const Entity< 2 > &  e) const
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 >.

virtual size_t Bempp::Mapper::entityIndex ( const Entity< 3 > &  e) const
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 >.


The documentation for this class was generated from the following file: