dune-grid 2.9.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::Alberta::Patch< dim > Class Template Reference

#include <dune/grid/albertagrid/refinement.hh>

Public Types

typedef Alberta::ElementInfo< dimensionElementInfo
 
typedef ALBERTA RC_LIST_EL ElementList
 

Public Member Functions

 Patch (ElementList *list, int count)
 
Elementoperator[] (int i) const
 
int count () const
 
template<class LevelProvider >
ElementInfo elementInfo (int i, const LevelProvider &levelProvider) const
 
int elementType (int i) const
 
bool hasNeighbor (int i, int neighbor) const
 
int neighborIndex (int i, int neighbor) const
 
template<class Functor >
void forEach (Functor &functor) const
 
template<int codim, class Functor >
void forEachInteriorSubChild (Functor &functor) const
 
Patch< 2 >::ElementInfo elementInfo (int i, const LevelProvider &levelProvider) const
 

Static Public Attributes

static const int dimension = dim
 

Member Typedef Documentation

◆ ElementInfo

template<int dim>
typedef Alberta::ElementInfo< dimension > Dune::Alberta::Patch< dim >::ElementInfo

◆ ElementList

template<int dim>
typedef ALBERTA RC_LIST_EL Dune::Alberta::Patch< dim >::ElementList

Constructor & Destructor Documentation

◆ Patch()

template<int dim>
Dune::Alberta::Patch< dim >::Patch ( ElementList list,
int  count 
)
inline

Member Function Documentation

◆ count()

template<int dim>
int Dune::Alberta::Patch< dim >::count ( ) const
inline

◆ elementInfo() [1/2]

template<int dim>
template<class LevelProvider >
Patch< dim >::ElementInfo Dune::Alberta::Patch< dim >::elementInfo ( int  i,
const LevelProvider &  levelProvider 
) const
inline

◆ elementInfo() [2/2]

Patch< 2 >::ElementInfo Dune::Alberta::Patch< 2 >::elementInfo ( int  i,
const LevelProvider &  levelProvider 
) const
inline

◆ elementType()

template<int dim>
int Dune::Alberta::Patch< dim >::elementType ( int  i) const
inline

◆ forEach()

template<int dim>
template<class Functor >
void Dune::Alberta::Patch< dim >::forEach ( Functor &  functor) const
inline

◆ forEachInteriorSubChild()

template<int dim>
template<int codim, class Functor >
void Dune::Alberta::Patch< dim >::forEachInteriorSubChild ( Functor &  functor) const
inline

◆ hasNeighbor()

template<int dim>
bool Dune::Alberta::Patch< dim >::hasNeighbor ( int  i,
int  neighbor 
) const
inline

◆ neighborIndex()

template<int dim>
int Dune::Alberta::Patch< dim >::neighborIndex ( int  i,
int  neighbor 
) const
inline

◆ operator[]()

template<int dim>
Element * Dune::Alberta::Patch< dim >::operator[] ( int  i) const
inline

Member Data Documentation

◆ dimension

template<int dim>
const int Dune::Alberta::Patch< dim >::dimension = dim
static

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