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

Abstract wrapper of an index set. More...

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

Inheritance diagram for Bempp::IndexSet:
Bempp::ConcreteIndexSet< DuneGridView >

Public Types

typedef size_t IndexType
 Index type.
 

Public Member Functions

virtual ~IndexSet ()
 Destructor.
 
virtual IndexType entityIndex (const Entity< 0 > &e) const =0
 Index of the entity of codimension 0. More...
 
virtual IndexType entityIndex (const Entity< 1 > &e) const =0
 Index of the entity of codimension 1. More...
 
virtual IndexType entityIndex (const Entity< 2 > &e) const =0
 Index of the entity of codimension 2. More...
 
virtual IndexType entityIndex (const Entity< 3 > &e) const =0
 Index of the entity of codimension 3. More...
 
virtual IndexType 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 wrapper of an index set.

Member Function Documentation

virtual IndexType Bempp::IndexSet::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 is not in the index set is undefined.

Returns
An index in the range 0 ... (max number of entities in set - 1).

Implemented in Bempp::ConcreteIndexSet< DuneGridView >.

Referenced by Bempp::GridSegment::closedDomain(), Bempp::ElementaryPotentialOperator< BasisFunctionType_, KernelType_, ResultType_ >::evaluateOnGrid(), Bempp::PiecewiseConstantDualGridDiscontinuousScalarSpace< BasisFunctionType >::getFlatLocalDofBoundingBoxes(), Bempp::PiecewiseLinearContinuousScalarSpace< BasisFunctionType >::getFlatLocalDofBoundingBoxes(), Bempp::PiecewiseConstantDualGridScalarSpace< BasisFunctionType >::getFlatLocalDofBoundingBoxes(), Bempp::PiecewiseLinearDiscontinuousScalarSpaceBarycentric< BasisFunctionType >::getFlatLocalDofBoundingBoxes(), Bempp::PiecewiseLinearContinuousScalarSpaceBarycentric< BasisFunctionType >::getFlatLocalDofBoundingBoxes(), Bempp::RaviartThomas0VectorSpace< BasisFunctionType >::getFlatLocalDofBoundingBoxes(), Bempp::PiecewiseConstantDualGridDiscontinuousScalarSpace< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::PiecewiseConstantDualGridScalarSpace< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::PiecewiseLinearContinuousScalarSpace< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::PiecewiseConstantScalarSpaceBarycentric< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::PiecewiseConstantDiscontinuousScalarSpaceBarycentric< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::PiecewiseLinearDiscontinuousScalarSpaceBarycentric< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::PiecewiseLinearContinuousScalarSpaceBarycentric< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::RaviartThomas0VectorSpace< BasisFunctionType >::getFlatLocalDofNormals(), Bempp::PiecewiseConstantScalarSpace< BasisFunctionType >::getGlobalDofBoundingBoxes(), Bempp::PiecewiseLinearDiscontinuousScalarSpaceBarycentric< BasisFunctionType >::getGlobalDofNormals(), Bempp::PiecewiseLinearContinuousScalarSpaceBarycentric< BasisFunctionType >::getGlobalDofNormals(), Bempp::RaviartThomas0VectorSpace< BasisFunctionType >::getGlobalDofNormals(), and Bempp::GridSegment::openDomain().

virtual IndexType Bempp::IndexSet::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::ConcreteIndexSet< DuneGridView >.

virtual IndexType Bempp::IndexSet::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::ConcreteIndexSet< DuneGridView >.

virtual IndexType Bempp::IndexSet::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::ConcreteIndexSet< DuneGridView >.


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