dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Member Functions | List of all members
Dune::Fem::EmptyIndexSetRestrictProlong Class Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/dofmanager.hh>

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

Public Types

typedef RestrictProlongTraits< EmptyIndexSetRestrictProlong, double >::RestProlImp RestProlImp
 type of restrict-prolong operator implementation More...
 
typedef RestrictProlongTraits< EmptyIndexSetRestrictProlong, double >::DomainFieldType DomainFieldType
 field type of domain vector space More...
 

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 More...
 
template<class EntityType >
void prolongLocal (EntityType &father, EntityType &son, bool initialize) const
 prolong data to children and resize memory if doResize is true More...
 
void setFatherChildWeight (const DomainFieldType &weight) const
 explicit set volume ratio of son and father More...
 
void restrictLocal (const Entity &father, const Entity &son, bool initialize) const
 restrict data to father More...
 
void restrictLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const
 restrict data to father More...
 
void prolongLocal (const Entity &father, const Entity &son, bool initialize) const
 prolong data to children More...
 
void prolongLocal (const Entity &father, const Entity &son, const LocalGeometry &geometryInFather, bool initialize) const
 prolong data to children More...
 
void addToList (Communicator &comm)
 add discrete function to communicator More...
 
void addToLoadBalancer (LoadBalancer &lb)
 add discrete function to load balancer More...
 

Protected Member Functions

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

Member Typedef Documentation

field type of domain vector space

type of restrict-prolong operator implementation

Constructor & Destructor Documentation

Dune::Fem::EmptyIndexSetRestrictProlong::EmptyIndexSetRestrictProlong ( )
inline

Member Function Documentation

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

References Dune::Fem::RestrictProlongInterface< Traits >::addToList(), and Dune::Fem::RestrictProlongInterface< Traits >::asImp().

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

References Dune::Fem::RestrictProlongInterface< Traits >::addToLoadBalancer(), and Dune::Fem::RestrictProlongInterface< Traits >::asImp().

const RestProlImp& Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::asImp ( ) const
inlineprotectedinherited
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
void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::prolongLocal ( const Entity &  father,
const Entity &  son,
bool  initialize 
) const
inlineinherited
void Dune::Fem::RestrictProlongInterface< RestrictProlongTraits< EmptyIndexSetRestrictProlong, double > >::prolongLocal ( const Entity &  father,
const Entity &  son,
const LocalGeometry &  geometryInFather,
bool  initialize 
) const
inlineinherited
template<class EntityType >
void Dune::Fem::EmptyIndexSetRestrictProlong::prolongLocal ( EntityType &  father,
EntityType &  son,
bool  initialize 
) const
inline

prolong data to children and resize memory if doResize is true

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

restrict data to father and resize memory if doResize is true

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.

References Dune::Fem::RestrictProlongInterface< Traits >::asImp(), and Dune::Fem::RestrictProlongInterface< Traits >::setFatherChildWeight().


The documentation for this class was generated from the following file: