dune-grid
2.2.0
|
#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) | |
Element * | operator[] (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 |
typedef Alberta::ElementInfo< dimension > Dune::Alberta::Patch< dim >::ElementInfo |
typedef ALBERTA RC_LIST_EL Dune::Alberta::Patch< dim >::ElementList |
Dune::Alberta::Patch< dim >::Patch | ( | ElementList * | list, |
int | count | ||
) | [inline] |
int Dune::Alberta::Patch< dim >::count | ( | ) | const [inline] |
Referenced by Dune::Alberta::ForEachInteriorSubChild< dim, 0 >::apply(), Dune::Alberta::ForEachInteriorSubChild< 2, 1 >::apply(), Dune::Alberta::ForEachInteriorSubChild< 3, 1 >::apply(), Dune::Alberta::ForEachInteriorSubChild< 3, 2 >::apply(), Dune::Alberta::Patch< dim >::forEach(), Dune::AlbertaGridLevelProvider< dim >::Interpolation::interpolateVector(), Dune::AlbertaGrid< dim, dimworld >::AdaptationCallback< DataHandler >::interpolateVector(), and Dune::AlbertaGrid< dim, dimworld >::AdaptationCallback< DataHandler >::restrictVector().
Patch< dim >::ElementInfo Dune::Alberta::Patch< dim >::elementInfo | ( | int | i, |
const LevelProvider & | levelProvider | ||
) | const [inline] |
Patch< 2 >::ElementInfo Dune::Alberta::Patch< 2 >::elementInfo | ( | int | i, |
const LevelProvider & | levelProvider | ||
) | const [inline] |
References Dune::Alberta::ElementInfo< dim >::createFake().
int Dune::Alberta::Patch< dim >::elementType | ( | int | i | ) | const [inline] |
Referenced by Dune::Alberta::ForEachInteriorSubChild< 3, 1 >::apply().
void Dune::Alberta::Patch< dim >::forEach | ( | Functor & | functor | ) | const [inline] |
References Dune::Alberta::Patch< dim >::count().
void Dune::Alberta::Patch< dim >::forEachInteriorSubChild | ( | Functor & | functor | ) | const [inline] |
bool Dune::Alberta::Patch< dim >::hasNeighbor | ( | int | i, |
int | neighbor | ||
) | const [inline] |
int Dune::Alberta::Patch< dim >::neighborIndex | ( | int | i, |
int | neighbor | ||
) | const [inline] |
Element * Dune::Alberta::Patch< dim >::operator[] | ( | int | i | ) | const [inline] |
const int Dune::Alberta::Patch< dim >::dimension = dim [static] |