dune-grid  2.4.1
Public Types | Public Member Functions | Protected Member Functions | List of all members
Dune::AdaptDataHandleInterface< Grid, Impl > Class Template Reference

Interface class for the Grid's adapt method where the parameter is a AdaptDataHandleInterface. More...

#include <dune/grid/common/adaptcallback.hh>

Inheritance diagram for Dune::AdaptDataHandleInterface< Grid, Impl >:
Inheritance graph

Public Types

typedef Grid::template Codim< 0 >::Entity Entity
 

Public Member Functions

void preCoarsening (const Entity &father)
 call back for activity to take place on father and all decendants before the decendants are removed More...
 
void postRefinement (const Entity &father)
 call back for activity to take place on newly created elements below the father element. More...
 
void restrictLocal (const Entity &father, const Entity &son, bool initialize)
 
void prolongLocal (const Entity &father, const Entity &son, bool initialize)
 

Protected Member Functions

const Impl & asImp () const
 
Impl & asImp ()
 

Detailed Description

template<class Grid, class Impl>
class Dune::AdaptDataHandleInterface< Grid, Impl >

Interface class for the Grid's adapt method where the parameter is a AdaptDataHandleInterface.

Member Typedef Documentation

template<class Grid, class Impl>
typedef Grid::template Codim< 0 >::Entity Dune::AdaptDataHandleInterface< Grid, Impl >::Entity

Member Function Documentation

template<class Grid, class Impl>
const Impl& Dune::AdaptDataHandleInterface< Grid, Impl >::asImp ( ) const
inlineprotected
template<class Grid, class Impl>
Impl& Dune::AdaptDataHandleInterface< Grid, Impl >::asImp ( )
inlineprotected
template<class Grid, class Impl>
void Dune::AdaptDataHandleInterface< Grid, Impl >::postRefinement ( const Entity &  father)
inline

call back for activity to take place on newly created elements below the father element.

Parameters
fatherentity where all decendants were newly created

References Dune::AdaptDataHandleInterface< Grid, Impl >::asImp().

Referenced by Dune::AdaptDataHandle< Grid, Impl >::AdaptDataHandle().

template<class Grid, class Impl>
void Dune::AdaptDataHandleInterface< Grid, Impl >::preCoarsening ( const Entity &  father)
inline

call back for activity to take place on father and all decendants before the decendants are removed

Parameters
fatherentity where all decendants are going to be removed

References Dune::AdaptDataHandleInterface< Grid, Impl >::asImp().

Referenced by Dune::AdaptDataHandle< Grid, Impl >::AdaptDataHandle().

template<class Grid, class Impl>
void Dune::AdaptDataHandleInterface< Grid, Impl >::prolongLocal ( const Entity &  father,
const Entity &  son,
bool  initialize 
)
inline
template<class Grid, class Impl>
void Dune::AdaptDataHandleInterface< Grid, Impl >::restrictLocal ( const Entity &  father,
const Entity &  son,
bool  initialize 
)
inline

The documentation for this class was generated from the following file: