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

Wrapper of the index set specific to a Dune grid view class DuneGridView. More...

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

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

Public Types

typedef DuneGridView::IndexSet DuneIndexSet
 Type of the wrapped Dune index set.
 
- Public Types inherited from Bempp::IndexSet
typedef size_t IndexType
 Index type.
 

Public Member Functions

 ConcreteIndexSet (const DuneIndexSet *dune_index_set)
 Constructor. More...
 
const DuneIndexSetduneIndexSet () const
 Read-only access to the underlying Dune index set.
 
virtual IndexType entityIndex (const Entity< 0 > &e) const
 Index of the entity of codimension 0. More...
 
virtual IndexType entityIndex (const Entity< 1 > &e) const
 Index of the entity of codimension 1. More...
 
virtual IndexType entityIndex (const Entity< 2 > &e) const
 Index of the entity of codimension 2. More...
 
virtual IndexType entityIndex (const Entity< 3 > &e) const
 Index of the entity of codimension 3. More...
 
virtual IndexType 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.
 
- Public Member Functions inherited from Bempp::IndexSet
virtual ~IndexSet ()
 Destructor.
 

Private Attributes

const DuneIndexSetm_dune_index_set
 

Detailed Description

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

Wrapper of the index set specific to a Dune grid view class DuneGridView.

Constructor & Destructor Documentation

template<typename DuneGridView >
Bempp::ConcreteIndexSet< DuneGridView >::ConcreteIndexSet ( const DuneIndexSet dune_index_set)
inlineexplicit

Constructor.

This object does not assume ownership of *dune_index_set.

Member Function Documentation

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

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

Implements Bempp::IndexSet.

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

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

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


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