3#ifndef DUNE_ALBERTAGRIDDATAHANDLE_HH
4#define DUNE_ALBERTAGRIDDATAHANDLE_HH
23 template<
class Gr
id,
class RestrictPro
longOperator >
28 typedef typename Grid::template Codim< 0 >::Entity Entity;
36 RestrictProlongOperator &rpOp_;
43 father_( EntityImp( grid_ ) )
49 Grid::getRealImplementation( father_ ).setElement( fatherInfo, 0 );
50 rpOp_.preCoarsening( (
const Entity &)father_ );
56 Grid::getRealImplementation( father_ ).setElement( fatherInfo, 0 );
57 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/datahandle.hh:25
AdaptRestrictProlongHandler(Grid &grid, RestrictProlongOperator &rpOp)
Definition albertagrid/datahandle.hh:40
void restrictLocal(const Patch &patch, int i)
Definition albertagrid/datahandle.hh:46
void prolongLocal(const Patch &patch, int i)
Definition albertagrid/datahandle.hh:53
Definition refinement.hh:38
ElementInfo elementInfo(int i, const LevelProvider &levelProvider) const
Definition refinement.hh:103
Grid abstract base class.
Definition common/grid.hh:373
@ dimension
The dimension of the grid.
Definition common/grid.hh:387
InterfaceType::Implementation ImplementationType
Definition common/grid.hh:1266
Different resources needed by all grid implementations.