5 #ifndef DUNE_ALBERTAGRIDDATAHANDLE_HH 6 #define DUNE_ALBERTAGRIDDATAHANDLE_HH 25 template<
class Gr
id,
class RestrictPro
longOperator >
38 RestrictProlongOperator &rpOp_;
45 father_( EntityImp( grid_ ) )
51 father_.
impl().setElement( fatherInfo, 0 );
52 rpOp_.preCoarsening( (
const Entity &)father_ );
58 father_.
impl().setElement( fatherInfo, 0 );
59 rpOp_.postRefinement( (
const Entity &)father_ );
67 #endif // #if HAVE_ALBERTA ElementInfo elementInfo(int i, const LevelProvider &levelProvider) const
Definition: refinement.hh:105
concept Entity
Model of a grid entity.
Definition: concepts/entity.hh:119
void prolongLocal(const Patch &patch, int i)
Definition: albertagrid/datahandle.hh:55
void restrictLocal(const Patch &patch, int i)
Definition: albertagrid/datahandle.hh:48
Implementation & impl()
access to the underlying implementation
Definition: common/entity.hh:80
provides a wrapper for ALBERTA's el_info structure
Grid abstract base classThis class is the base class for all grid implementations. Although no virtual functions are used we call it abstract since its methods do not contain an implementation but forward to the methods of the derived class via the Barton-Nackman trick.
Definition: common/grid.hh:375
Different resources needed by all grid implementations.
Include standard header files.
Definition: agrid.hh:59
Definition: refinement.hh:39
AdaptRestrictProlongHandler(Grid &grid, RestrictProlongOperator &rpOp)
Definition: albertagrid/datahandle.hh:42
static constexpr int dimension
The dimension of the grid.
Definition: common/grid.hh:387
Entity ::Implementation ImplementationType
Definition: common/grid.hh:1122
Definition: albertagrid/datahandle.hh:26
provides a wrapper for ALBERTA's refinement patches and the corners for geometryInFather ...