Interface class defining the local behaviour of the restrict/prolong operation (using BN)
More...
#include <dune/fem/space/common/restrictprolonginterface.hh>
|
typedef Traits::RestProlImp | RestProlImp |
| type of restrict-prolong operator implementation
|
|
typedef Traits::DomainFieldType | DomainFieldType |
| field type of domain vector space
|
|
|
void | initialize () |
| initialize restrict prolong object (if necessary) before adaptation takes place
|
|
void | finalize () |
| finalize restrict prolong object (if necessary) after adaptation and dof compression was finished
|
|
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 > |
void | addToList (Communicator &comm) |
| add discrete function to communicator
|
|
template<class LoadBalancer > |
void | addToLoadBalancer (LoadBalancer &lb) |
| add discrete function to load balancer
|
|
template<class Traits>
class Dune::Fem::RestrictProlongInterface< Traits >
Interface class defining the local behaviour of the restrict/prolong operation (using BN)
- An interface class:
◆ DomainFieldType
field type of domain vector space
◆ RestProlImp
type of restrict-prolong operator implementation
◆ addToList()
template<class Traits >
template<class Communicator >
add discrete function to communicator
- Parameters
-
[in] | comm | Communicator to add the discrete functions to |
◆ addToLoadBalancer()
add discrete function to load balancer
- Parameters
-
◆ asImp() [1/2]
◆ asImp() [2/2]
◆ calcWeight()
template<class Traits >
template<class Entity >
calculates the weight, i.e. (volume son)/(volume father)
- Parameters
-
[in] | father | Father Entity |
[in] | son | Son Entity |
- Returns
- proportion between fahter and son volume
◆ finalize()
finalize restrict prolong object (if necessary) after adaptation and dof compression was finished
◆ initialize()
initialize restrict prolong object (if necessary) before adaptation takes place
◆ prolongLocal() [1/2]
template<class Traits >
template<class Entity >
◆ prolongLocal() [2/2]
template<class Traits >
template<class Entity , class LocalGeometry >
◆ restrictFinalize()
template<class Traits >
template<class Entity >
finalize restriction on father
◆ restrictLocal() [1/2]
template<class Traits >
template<class Entity >
◆ restrictLocal() [2/2]
template<class Traits >
template<class Entity , class LocalGeometry >
◆ setFatherChildWeight()
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.
The documentation for this class was generated from the following file: