|
dune-fem 2.12-git
|
This is a wrapper for the default implemented restriction/prolongation operator, which only takes a discrete function template. More...
#include <dune/fem/space/common/restrictprolonginterface.hh>

Public Types | |
| typedef DiscreteFunction | DiscreteFunctionType |
| typedef BaseType::DomainFieldType | DomainFieldType |
| typedef DiscreteFunctionType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
| typedef ConstLocalFunction< DiscreteFunctionType > | ConstLocalFunctionType |
| typedef MutableLocalFunction< DiscreteFunctionType > | MutableLocalFunctionType |
| typedef DiscreteFunctionType::GridPartType | GridPartType |
| typedef DefaultLocalRestrictProlong< DiscreteFunctionSpaceType > | LocalRestrictProlongType |
| typedef Traits::RestProlImp | RestProlImp |
| type of restrict-prolong operator implementation | |
Public Member Functions | |
| RestrictProlongDefault (const RestrictProlongDefault &other) | |
| RestrictProlongDefault (DiscreteFunctionType &discreteFunction) | |
| void | setFatherChildWeight (const DomainFieldType &weight) const |
| explicit set volume ratio of son and father | |
| 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 | restrictFinalize (const Entity &father) const |
| finalize restriction on 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 , class Operation > | |
| void | addToList (Communicator &comm, const Operation &op) |
| add discrete function to communicator with given unpack operation | |
| template<class Communicator > | |
| void | addToList (Communicator &comm) |
| add discrete function to communicator | |
| template<class Communicator > | |
| void | removeFromList (Communicator &comm) |
| remove discrete function from communicator | |
| template<class LoadBalancer > | |
| void | addToLoadBalancer (LoadBalancer &lb) |
| add discrete function to load balancer | |
| void | setFatherChildWeight (const DomainFieldType &weight) const |
| explicit set volume ratio of son and father | |
| void | initialize () |
| void | finalize () |
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 () |
Protected Attributes | |
| DiscreteFunctionType & | discreteFunction_ |
| ConstLocalFunctionType | constLf_ |
| MutableLocalFunctionType | targetLf_ |
| LocalRestrictProlongType | localRP_ |
Detailed Description
class Dune::Fem::RestrictProlongDefault< DiscreteFunction >
This is a wrapper for the default implemented restriction/prolongation operator, which only takes a discrete function template.
Member Typedef Documentation
◆ ConstLocalFunctionType
| typedef ConstLocalFunction< DiscreteFunctionType > Dune::Fem::RestrictProlongDefault< DiscreteFunction >::ConstLocalFunctionType |
◆ DiscreteFunctionSpaceType
| typedef DiscreteFunctionType::DiscreteFunctionSpaceType Dune::Fem::RestrictProlongDefault< DiscreteFunction >::DiscreteFunctionSpaceType |
◆ DiscreteFunctionType
| typedef DiscreteFunction Dune::Fem::RestrictProlongDefault< DiscreteFunction >::DiscreteFunctionType |
◆ DomainFieldType
| typedef BaseType::DomainFieldType Dune::Fem::RestrictProlongDefault< DiscreteFunction >::DomainFieldType |
◆ GridPartType
| typedef DiscreteFunctionType::GridPartType Dune::Fem::RestrictProlongDefault< DiscreteFunction >::GridPartType |
◆ LocalRestrictProlongType
| typedef DefaultLocalRestrictProlong< DiscreteFunctionSpaceType > Dune::Fem::RestrictProlongDefault< DiscreteFunction >::LocalRestrictProlongType |
◆ MutableLocalFunctionType
| typedef MutableLocalFunction< DiscreteFunctionType > Dune::Fem::RestrictProlongDefault< DiscreteFunction >::MutableLocalFunctionType |
◆ RestProlImp
|
inherited |
type of restrict-prolong operator implementation
Constructor & Destructor Documentation
◆ RestrictProlongDefault() [1/2]
|
inline |
◆ RestrictProlongDefault() [2/2]
|
inlineexplicit |
Member Function Documentation
◆ addToList() [1/2]
|
inline |
add discrete function to communicator
◆ addToList() [2/2]
|
inline |
add discrete function to communicator with given unpack operation
◆ addToLoadBalancer()
|
inline |
add discrete function to load balancer
◆ asImp() [1/2]
|
inlineprotectedinherited |
◆ asImp() [2/2]
|
inlineprotectedinherited |
◆ calcWeight()
|
inlineprotectedinherited |
◆ entitiesAreCopies()
|
inlineprotected |
return true if father and son have the same index
◆ finalize()
|
inlineinherited |
◆ initialize()
|
inlineinherited |
◆ prolongLocal() [1/2]
|
inline |
prolong data to children
◆ prolongLocal() [2/2]
|
inline |
prolong data to children
◆ removeFromList()
|
inline |
remove discrete function from communicator
◆ restrictFinalize()
|
inline |
finalize restriction on father
◆ restrictLocal() [1/2]
|
inline |
restrict data to father
◆ restrictLocal() [2/2]
|
inline |
restrict data to father
◆ setFatherChildWeight() [1/2]
|
inlineinherited |
◆ setFatherChildWeight() [2/2]
|
inline |
explicit set volume ratio of son and father
- Parameters
-
[in] weight volume of son / volume of father
- Note
- If this ratio is set, it is assume to be constant.
Member Data Documentation
◆ constLf_
|
mutableprotected |
◆ discreteFunction_
|
protected |
◆ localRP_
|
mutableprotected |
◆ targetLf_
|
mutableprotected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8