dune-fem
2.4.1-rc
|
Interface default implementation for derived classes. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/restrictprolonginterface.hh>
Public Types | |
typedef BaseType::DomainFieldType | DomainFieldType |
typedef Traits::RestProlImp | RestProlImp |
type of restrict-prolong operator implementation More... | |
Public Member Functions | |
void | setFatherChildWeight (const DomainFieldType &weight) const |
explicit set volume ratio of son and father More... | |
template<class Entity > | |
void | restrictLocal (const Entity &father, const Entity &son, bool initialize) const |
restrict data to father More... | |
template<class Entity , class LocalGeometry > | |
void | restrictLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const |
restrict data to father More... | |
template<class Entity > | |
void | prolongLocal (const Entity &father, const Entity &son, bool initialize) const |
prolong data to children More... | |
template<class Entity , class LocalGeometry > | |
void | prolongLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const |
prolong data to children More... | |
template<class Communicator > | |
void | addToList (Communicator &comm) |
add discrete function to communicator More... | |
template<class LoadBalancer > | |
void | addToLoadBalancer (LoadBalancer &lb) |
add discrete function to load balancer More... | |
Protected Member Functions | |
template<class IndexSet , class Entity > | |
bool | entitiesAreCopies (const IndexSet &indexSet, const Entity &father, const Entity &son) const |
return true if father and son have the same index More... | |
template<class Entity > | |
DomainFieldType | calcWeight (const Entity &father, const Entity &son) const |
calculates the weight, i.e. (volume son)/(volume father) More... | |
const RestProlImp & | asImp () const |
RestProlImp & | asImp () |
Interface default implementation for derived classes.
typedef BaseType::DomainFieldType Dune::Fem::RestrictProlongInterfaceDefault< Traits >::DomainFieldType |
|
inherited |
type of restrict-prolong operator implementation
|
inlineinherited |
add discrete function to communicator
[in] | comm | Communicator to add the discrete functions to |
Referenced by Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToList().
|
inlineinherited |
add discrete function to load balancer
[in] | lb | LoadBalancer to add the discrete functions to |
Referenced by Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToLoadBalancer().
|
inlineprotectedinherited |
Referenced by Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToList(), Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToLoadBalancer(), Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::prolongLocal(), Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::restrictLocal(), and Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::setFatherChildWeight().
|
inlineprotectedinherited |
|
inlineprotectedinherited |
calculates the weight, i.e. (volume son)/(volume father)
[in] | father | Father Entity |
[in] | son | Son Entity |
|
inlineprotected |
return true if father and son have the same index
|
inlineinherited |
|
inlineinherited |
prolong data to children
|
inlineinherited |
|
inlineinherited |
restrict data to father
|
inline |
explicit set volume ratio of son and father
[in] | weight | volume of son / volume of father |