dune-fem
2.4.1-rc
|
Interface class defining the local behaviour of the restrict/prolong operation (using BN) More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/restrictprolonginterface.hh>
Public Types | |
typedef Traits::RestProlImp | RestProlImp |
type of restrict-prolong operator implementation More... | |
typedef Traits::DomainFieldType | DomainFieldType |
field type of domain vector space 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 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 class defining the local behaviour of the restrict/prolong operation (using BN)
typedef Traits::DomainFieldType Dune::Fem::RestrictProlongInterface< Traits >::DomainFieldType |
field type of domain vector space
typedef Traits::RestProlImp Dune::Fem::RestrictProlongInterface< Traits >::RestProlImp |
type of restrict-prolong operator implementation
|
inline |
add discrete function to communicator
[in] | comm | Communicator to add the discrete functions to |
Referenced by Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToList().
|
inline |
add discrete function to load balancer
[in] | lb | LoadBalancer to add the discrete functions to |
Referenced by Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToLoadBalancer().
|
inlineprotected |
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().
|
inlineprotected |
|
inlineprotected |
calculates the weight, i.e. (volume son)/(volume father)
[in] | father | Father Entity |
[in] | son | Son Entity |
|
inline |
|
inline |
prolong data to children
|
inline |
|
inline |
restrict data to father
|
inline |
explicit set volume ratio of son and father
[in] | weight | volume of son / volume of father |
Referenced by Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::setFatherChildWeight().