dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace > Class Template Reference

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

Inheritance diagram for Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >:
Inheritance graph

Public Types

typedef DiscreteFunctionSpace DiscreteFunctionSpaceType
 
typedef DiscreteFunctionSpaceType::DomainFieldType DomainFieldType
 

Public Member Functions

 ConstantLocalRestrictProlong ()
 
void setFatherChildWeight (const DomainFieldType &weight)
 explicit set volume ratio of son and father
 
template<class LFFather , class LFSon , class LocalGeometry >
void restrictLocal (LFFather &lfFather, const LFSon &lfSon, const LocalGeometry &geometryInFather, bool initialize) const
 restrict data to father
 
template<class LFFather >
void restrictFinalize (LFFather &lfFather) const
 
template<class LFFather , class LFSon , class LocalGeometry >
void prolongLocal (const LFFather &lfFather, LFSon &lfSon, const LocalGeometry &geometryInFather, bool initialize) const
 prolong data to children
 
bool needCommunication () const
 do discrete functions need a communication after restriction / prolongation?
 

Static Public Member Functions

template<class Entity >
static DomainFieldType calcWeight (const Entity &father, const Entity &son)
 

Protected Attributes

DomainFieldType weight_
 

Member Typedef Documentation

◆ DiscreteFunctionSpaceType

◆ DomainFieldType

template<class DiscreteFunctionSpace >
typedef DiscreteFunctionSpaceType::DomainFieldType Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::DomainFieldType

Constructor & Destructor Documentation

◆ ConstantLocalRestrictProlong()

template<class DiscreteFunctionSpace >
Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::ConstantLocalRestrictProlong ( )
inline

Member Function Documentation

◆ calcWeight()

template<class DiscreteFunctionSpace >
template<class Entity >
static DomainFieldType Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::calcWeight ( const Entity &  father,
const Entity &  son 
)
inlinestatic

◆ needCommunication()

template<class DiscreteFunctionSpace >
bool Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::needCommunication ( ) const
inline

do discrete functions need a communication after restriction / prolongation?

◆ prolongLocal()

template<class DiscreteFunctionSpace >
template<class LFFather , class LFSon , class LocalGeometry >
void Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::prolongLocal ( const LFFather &  lfFather,
LFSon &  lfSon,
const LocalGeometry &  geometryInFather,
bool  initialize 
) const
inline

prolong data to children

◆ restrictFinalize()

template<class DiscreteFunctionSpace >
template<class LFFather >
void Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::restrictFinalize ( LFFather &  lfFather) const
inline

◆ restrictLocal()

template<class DiscreteFunctionSpace >
template<class LFFather , class LFSon , class LocalGeometry >
void Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::restrictLocal ( LFFather &  lfFather,
const LFSon &  lfSon,
const LocalGeometry &  geometryInFather,
bool  initialize 
) const
inline

restrict data to father

◆ setFatherChildWeight()

template<class DiscreteFunctionSpace >
void Dune::Fem::ConstantLocalRestrictProlong< DiscreteFunctionSpace >::setFatherChildWeight ( const DomainFieldType weight)
inline

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.

Member Data Documentation

◆ weight_


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