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_ ) )
48 ElementInfo fatherInfo = patch.
elementInfo( i, grid_.levelProvider() );
49 Grid::getRealImplementation( father_ ).setElement( fatherInfo, 0 );
50 rpOp_.preCoarsening( (
const Entity &)father_ );
55 ElementInfo fatherInfo = patch.
elementInfo( i, grid_.levelProvider() );
56 Grid::getRealImplementation( father_ ).setElement( fatherInfo, 0 );
57 rpOp_.postRefinement( (
const Entity &)father_ );
65 #endif // #if HAVE_ALBERTA
Definition: albertagrid/datahandle.hh:24
AdaptRestrictProlongHandler(Grid &grid, RestrictProlongOperator &rpOp)
Definition: albertagrid/datahandle.hh:40
Patch< 2 >::ElementInfo elementInfo(int i, const LevelProvider &levelProvider) const
Definition: refinement.hh:112
Different resources needed by all grid implementations.
void restrictLocal(const Patch &patch, int i)
Definition: albertagrid/datahandle.hh:46
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:388
provides a wrapper for ALBERTA's refinement patches and the corners for geometryInFather ...
Entity::Implementation ImplementationType
Definition: common/grid.hh:1468
provides a wrapper for ALBERTA's el_info structure
The dimension of the grid.
Definition: common/grid.hh:402
Include standard header files.
Definition: agrid.hh:59
Definition: refinement.hh:37
void prolongLocal(const Patch &patch, int i)
Definition: albertagrid/datahandle.hh:53