BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Private Attributes | List of all members
Bempp::ConcreteElementMapper< DuneGridView > Class Template Reference

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>

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

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
 

Detailed Description

template<typename DuneGridView>
class Bempp::ConcreteElementMapper< DuneGridView >

An injective mapping from the full set of codimension-0 entities ("elements") of a grid to the integers 0 ... (number of entities - 1).

Member Function Documentation

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

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

Implements Bempp::Mapper.

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

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

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


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