dune-fem
2.4.1-rc
|
This is a wrapper for the default implemented restriction/prolongation operator, which only takes a discrete function template. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/restrictprolonginterface.hh>
Public Types | |
typedef DiscreteFunction | DiscreteFunctionType |
typedef BaseType::DomainFieldType | DomainFieldType |
typedef DiscreteFunctionType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
typedef DiscreteFunctionType::LocalFunctionType | LocalFunctionType |
typedef DiscreteFunctionType::GridPartType | GridPartType |
typedef DefaultLocalRestrictProlong< DiscreteFunctionSpaceType > | LocalRestrictProlongType |
typedef RestrictProlongTraits< RestrictProlongDefault< DiscreteFunction >, DiscreteFunction::DomainFieldType >::RestProlImp | RestProlImp |
type of restrict-prolong operator implementation More... | |
Public Member Functions | |
RestrictProlongDefault (DiscreteFunctionType &discreteFunction) | |
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 Communicator > | |
void | removeFromList (Communicator &comm) |
remove discrete function from communicator More... | |
template<class LoadBalancer > | |
void | addToLoadBalancer (LoadBalancer &lb) |
add discrete function to load balancer More... | |
void | setFatherChildWeight (const DomainFieldType &weight) const |
Protected Member Functions | |
bool | entitiesAreCopies (const IndexSet &indexSet, const Entity &father, const Entity &son) const |
return true if father and son have the same index More... | |
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 () |
Protected Attributes | |
DiscreteFunctionType & | discreteFunction_ |
LocalFunctionType | constLf_ |
LocalRestrictProlongType | localRP_ |
This is a wrapper for the default implemented restriction/prolongation operator, which only takes a discrete function template.
typedef DiscreteFunctionType::DiscreteFunctionSpaceType Dune::Fem::RestrictProlongDefault< DiscreteFunction >::DiscreteFunctionSpaceType |
typedef DiscreteFunction Dune::Fem::RestrictProlongDefault< DiscreteFunction >::DiscreteFunctionType |
typedef BaseType::DomainFieldType Dune::Fem::RestrictProlongDefault< DiscreteFunction >::DomainFieldType |
typedef DiscreteFunctionType::GridPartType Dune::Fem::RestrictProlongDefault< DiscreteFunction >::GridPartType |
typedef DiscreteFunctionType::LocalFunctionType Dune::Fem::RestrictProlongDefault< DiscreteFunction >::LocalFunctionType |
typedef DefaultLocalRestrictProlong< DiscreteFunctionSpaceType > Dune::Fem::RestrictProlongDefault< DiscreteFunction >::LocalRestrictProlongType |
|
inherited |
type of restrict-prolong operator implementation
|
inlineexplicit |
|
inline |
add discrete function to communicator
|
inline |
add discrete function to load balancer
References Dune::Fem::LoadBalancer< GridType >::addToLoadBalancer().
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
calculates the weight, i.e. (volume son)/(volume father)
[in] | father | Father Entity |
[in] | son | Son Entity |
|
inlineprotectedinherited |
return true if father and son have the same index
References Dune::Fem::IndexSet< Traits >::index().
|
inline |
prolong data to children
References Dune::Fem::RestrictProlongInterface< Traits >::prolongLocal().
|
inline |
prolong data to children
|
inline |
remove discrete function from communicator
|
inline |
restrict data to father
References Dune::Fem::RestrictProlongInterface< Traits >::restrictLocal().
|
inline |
restrict data to father
|
inlineinherited |
|
inline |
explicit set volume ratio of son and father
[in] | weight | volume of son / volume of father |
|
mutableprotected |
|
protected |
|
mutableprotected |