dune-fem 2.8.0
|
Interface default implementation for derived classes. More...
#include <dune/fem/space/common/restrictprolonginterface.hh>
Public Types | |
typedef BaseType::DomainFieldType | DomainFieldType |
typedef Traits::RestProlImp | RestProlImp |
type of restrict-prolong operator implementation | |
Public Member Functions | |
void | setFatherChildWeight (const DomainFieldType &weight) const |
explicit set volume ratio of son and father | |
void | initialize () |
void | finalize () |
template<class Entity > | |
void | restrictFinalize (const Entity &father) const |
restrictFinalize is for some spaces where a local matrix inversion is carried out after restriction. | |
template<class Entity > | |
void | restrictLocal (const Entity &father, const Entity &son, bool initialize) const |
restrict data to father | |
template<class Entity , class LocalGeometry > | |
void | restrictLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const |
restrict data to father | |
template<class Entity > | |
void | prolongLocal (const Entity &father, const Entity &son, bool initialize) const |
prolong data to children | |
template<class Entity , class LocalGeometry > | |
void | prolongLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const |
prolong data to children | |
template<class Communicator > | |
void | addToList (Communicator &comm) |
add discrete function to communicator | |
template<class LoadBalancer > | |
void | addToLoadBalancer (LoadBalancer &lb) |
add discrete function to load balancer | |
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 | |
template<class Entity > | |
DomainFieldType | calcWeight (const Entity &father, const Entity &son) const |
calculates the weight, i.e. (volume son)/(volume father) | |
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 |
|
inlineinherited |
add discrete function to load balancer
[in] | lb | LoadBalancer to add the discrete functions to |
|
inlineprotectedinherited |
|
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
|
inline |
|
inline |
|
inlineinherited |
prolong data to children
|
inlineinherited |
prolong data to children
|
inline |
restrictFinalize is for some spaces where a local matrix inversion is carried out after restriction.
|
inlineinherited |
restrict data to father
|
inlineinherited |
restrict data to father
|
inline |
explicit set volume ratio of son and father
[in] | weight | volume of son / volume of father |