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_ );
provides a wrapper for ALBERTA's refinement patches and the corners for geometryInFather
provides a wrapper for ALBERTA's el_info structure
Include standard header files.
Definition agrid.hh:60
Definition albertagrid/datahandle.hh:27
AdaptRestrictProlongHandler(Grid &grid, RestrictProlongOperator &rpOp)
Definition albertagrid/datahandle.hh:42
void restrictLocal(const Patch &patch, int i)
Definition albertagrid/datahandle.hh:48
void prolongLocal(const Patch &patch, int i)
Definition albertagrid/datahandle.hh:55
Definition refinement.hh:40
ElementInfo elementInfo(int i, const LevelProvider &levelProvider) const
Definition refinement.hh:105
Implementation & impl()
access to the underlying implementation
Definition common/entity.hh:80
Grid abstract base class.
Definition common/grid.hh:375
static constexpr int dimension
The dimension of the grid.
Definition common/grid.hh:387
A Traits struct that collects all associated types of one implementation.
Definition common/grid.hh:411
InterfaceType::Implementation ImplementationType
Definition common/grid.hh:1122
Different resources needed by all grid implementations.