5#ifndef DUNE_ALBERTAGRIDDATAHANDLE_HH
6#define DUNE_ALBERTAGRIDDATAHANDLE_HH
25 template<
class Gr
id,
class RestrictPro
longOperator >
30 typedef typename Grid::template Codim< 0 >::Entity Entity;
38 RestrictProlongOperator &rpOp_;
45 father_( EntityImp( grid_ ) )
50 ElementInfo fatherInfo = patch.
elementInfo( i, grid_.levelProvider() );
51 father_.impl().setElement( fatherInfo, 0 );
52 rpOp_.preCoarsening( (
const Entity &)father_ );
57 ElementInfo fatherInfo = patch.
elementInfo( i, grid_.levelProvider() );
58 father_.impl().setElement( fatherInfo, 0 );
59 rpOp_.postRefinement( (
const Entity &)father_ );
provides a wrapper for ALBERTA's el_info structure
provides a wrapper for ALBERTA's refinement patches and the corners for geometryInFather
Include standard header files.
Definition agrid.hh:60
Definition albertagrid.cc:23
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
ElementInfo elementInfo(int i, const LevelProvider &levelProvider) const
Definition refinement.hh:105
Grid abstract base class.
Definition common/grid.hh:375
static constexpr int dimension
The dimension of the grid.
Definition common/grid.hh:387
Entity::Implementation ImplementationType
Definition common/grid.hh:1122
Different resources needed by all grid implementations.