dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
Dune::Fem::EmptyIndexSetRestrictProlong Class Reference

#include <dune/fem/space/common/dofmanager.hh>

Inheritance diagram for Dune::Fem::EmptyIndexSetRestrictProlong:
Inheritance graph

Public Types

typedef Traits::RestProlImp RestProlImp
 type of restrict-prolong operator implementation
 
typedef Traits::DomainFieldType DomainFieldType
 field type of domain vector space
 

Public Member Functions

 EmptyIndexSetRestrictProlong ()
 
template<class EntityType >
void restrictLocal (EntityType &father, EntityType &son, bool initialize) const
 restrict data to father and resize memory if doResize is true
 
template<class EntityType >
void prolongLocal (EntityType &father, EntityType &son, bool initialize) const
 prolong data to children and resize memory if doResize is true
 
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
 
void restrictLocal (const Entity &father, const Entity &son, bool initialize) const
 restrict data to father
 
void restrictLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const
 restrict data to father
 
void restrictFinalize (const Entity &father) const
 finalize restriction on father
 
void prolongLocal (const Entity &father, const Entity &son, bool initialize) const
 prolong data to children
 
void prolongLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const
 prolong data to children
 
void addToList (Communicator &comm)
 add discrete function to communicator
 
void addToLoadBalancer (LoadBalancer &lb)
 add discrete function to load balancer
 

Protected Member Functions

DomainFieldType calcWeight (const Entity &father, const Entity &son) const
 calculates the weight, i.e. (volume son)/(volume father)
 
const RestProlImpasImp () const
 
RestProlImpasImp ()
 

Member Typedef Documentation

◆ DomainFieldType

typedef Traits::DomainFieldType Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::DomainFieldType
inherited

field type of domain vector space

◆ RestProlImp

typedef Traits::RestProlImp Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::RestProlImp
inherited

type of restrict-prolong operator implementation

Member Function Documentation

◆ addToList()

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToList ( Communicator &  comm)
inlineinherited

add discrete function to communicator

Parameters
[in]commCommunicator to add the discrete functions to

◆ addToLoadBalancer()

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::addToLoadBalancer ( LoadBalancer lb)
inlineinherited

add discrete function to load balancer

Parameters
[in]lbLoadBalancer to add the discrete functions to

◆ asImp() [1/2]

◆ asImp() [2/2]

const RestProlImp & Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::asImp ( ) const
inlineprotectedinherited

◆ calcWeight()

DomainFieldType Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::calcWeight ( const Entity &  father,
const Entity &  son 
) const
inlineprotectedinherited

calculates the weight, i.e. (volume son)/(volume father)

Parameters
[in]fatherFather Entity
[in]sonSon 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]

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::prolongLocal ( const Entity &  father,
const Entity &  son,
bool  initialize 
) const
inlineinherited

prolong data to children

◆ prolongLocal() [2/2]

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::prolongLocal ( const Entity &  father,
const Entity &  son,
const LocalGeometry &  geometryInFather,
bool  initialize 
) const
inlineinherited

prolong data to children

◆ restrictFinalize()

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::restrictFinalize ( const Entity &  father) const
inlineinherited

finalize restriction on father

◆ restrictLocal() [1/2]

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::restrictLocal ( const Entity &  father,
const Entity &  son,
bool  initialize 
) const
inlineinherited

restrict data to father

◆ restrictLocal() [2/2]

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::restrictLocal ( const Entity &  father,
const Entity &  son,
const LocalGeometry &  geometryInFather,
bool  initialize 
) const
inlineinherited

restrict data to father

◆ setFatherChildWeight()

void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::setFatherChildWeight ( const DomainFieldType weight) const
inlineinherited

explicit set volume ratio of son and father

Parameters
[in]weightvolume 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: