dune-grid  2.3.1
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
< dimension
ElementInfo
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
template<>
Patch< 2 >::ElementInfo elementInfo (int i, const LevelProvider &levelProvider) const

Static Public Attributes

static const int dimension = dim

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<int dim>
int Dune::Alberta::Patch< dim >::count ( ) const
inline
template<int dim>
template<class LevelProvider >
Patch< dim >::ElementInfo Dune::Alberta::Patch< dim >::elementInfo ( int  i,
const LevelProvider &  levelProvider 
) const
inline
template<>
Patch< 2 >::ElementInfo Dune::Alberta::Patch< 2 >::elementInfo ( int  i,
const LevelProvider &  levelProvider 
) const
inline
template<int dim>
int Dune::Alberta::Patch< dim >::elementType ( int  i) const
inline
template<int dim>
template<class Functor >
void Dune::Alberta::Patch< dim >::forEach ( Functor &  functor) const
inline
template<int dim>
template<int codim, class Functor >
void Dune::Alberta::Patch< dim >::forEachInteriorSubChild ( Functor &  functor) const
inline
template<int dim>
bool Dune::Alberta::Patch< dim >::hasNeighbor ( int  i,
int  neighbor 
) const
inline
template<int dim>
int Dune::Alberta::Patch< dim >::neighborIndex ( int  i,
int  neighbor 
) const
inline
template<int dim>
Element * Dune::Alberta::Patch< dim >::operator[] ( int  i) const
inline

Member Data Documentation

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

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