dune-fem  2.4.1-rc
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::WeightedL2Norm< WeightFunction > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/misc/l2norm.hh>

Inheritance diagram for Dune::Fem::WeightedL2Norm< WeightFunction >:
Inheritance graph

Classes

struct  WeightedFunctionSquare
 

Public Types

typedef WeightFunction WeightFunctionType
 
typedef WeightFunctionType::DiscreteFunctionSpaceType WeightFunctionSpaceType
 
typedef WeightFunctionSpaceType::GridPartType GridPartType
 

Public Member Functions

 WeightedL2Norm (const WeightFunctionType &weightFunction, const unsigned int order=0)
 
template<class LocalFunctionType , class ReturnType >
void normLocal (const EntityType &entity, unsigned int order, const LocalFunctionType &uLocal, ReturnType &sum) const
 
template<class ULocalFunctionType , class VLocalFunctionType , class ReturnType >
void distanceLocal (const EntityType &entity, unsigned int order, const ULocalFunctionType &uLocal, const VLocalFunctionType &vLocal, ReturnType &sum) const
 
Dune::FieldTraits< typename DiscreteFunctionType::RangeFieldType >::real_type norm (const DiscreteFunctionType &u) const
 
Dune::FieldTraits< typename UDiscreteFunctionType::RangeFieldType >::real_type distance (const UDiscreteFunctionType &u, const VDiscreteFunctionType &v) const
 
void distanceLocal (const EntityType &entity, unsigned int order, const ULocalFunctionType &uLocal, const VLocalFunctionType &vLocal, ReturnType &sum) const
 
void normLocal (const EntityType &entity, unsigned int order, const LocalFunctionType &uLocal, ReturnType &sum) const
 

Protected Types

typedef WeightFunctionType::LocalFunctionType LocalWeightFunctionType
 
typedef WeightFunctionType::RangeType WeightType
 
typedef BaseType::EntityType EntityType
 
typedef BaseType::IntegratorType IntegratorType
 
typedef CachingQuadrature< GridPartType, 0 > QuadratureType
 

Protected Member Functions

ReturnType forEach (const DiscreteFunctionType &u, const ReturnType &initialValue, unsigned int order=0) const
 
ReturnType forEach (const UDiscreteFunctionType &u, const VDiscreteFunctionType &v, const ReturnType &initialValue, unsigned int order=0) const
 
const GridPartTypegridPart () const
 
GridPartType::CollectiveCommunicationType comm () const
 
const L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & asImp () const
 
L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & asImp ()
 

Static Protected Member Functions

static const L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & asImp (const ThisType &other)
 
static L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & asImp (ThisType &other)
 

Protected Attributes

const unsigned int order_
 

Member Typedef Documentation

template<class WeightFunction >
typedef BaseType::EntityType Dune::Fem::WeightedL2Norm< WeightFunction >::EntityType
protected
template<class WeightFunction >
typedef WeightFunctionSpaceType::GridPartType Dune::Fem::WeightedL2Norm< WeightFunction >::GridPartType
template<class WeightFunction >
typedef BaseType::IntegratorType Dune::Fem::WeightedL2Norm< WeightFunction >::IntegratorType
protected
template<class WeightFunction >
typedef WeightFunctionType::LocalFunctionType Dune::Fem::WeightedL2Norm< WeightFunction >::LocalWeightFunctionType
protected
typedef CachingQuadrature< GridPartType, 0 > Dune::Fem::L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType >::QuadratureType
protectedinherited
template<class WeightFunction >
typedef WeightFunctionType::DiscreteFunctionSpaceType Dune::Fem::WeightedL2Norm< WeightFunction >::WeightFunctionSpaceType
template<class WeightFunction >
typedef WeightFunction Dune::Fem::WeightedL2Norm< WeightFunction >::WeightFunctionType
template<class WeightFunction >
typedef WeightFunctionType::RangeType Dune::Fem::WeightedL2Norm< WeightFunction >::WeightType
protected

Constructor & Destructor Documentation

template<class WeightFunction >
Dune::Fem::WeightedL2Norm< WeightFunction >::WeightedL2Norm ( const WeightFunctionType weightFunction,
const unsigned int  order = 0 
)
inlineexplicit

Member Function Documentation

static const L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & Dune::Fem::BartonNackmanInterface< LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType, L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > > , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::asImp ( const ThisType other)
inlinestaticprotectedinherited
static L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & Dune::Fem::BartonNackmanInterface< LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType, L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > > , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::asImp ( ThisType other)
inlinestaticprotectedinherited
const L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & Dune::Fem::BartonNackmanInterface< LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType, L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > > , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::asImp ( ) const
inlineprotectedinherited
L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > & Dune::Fem::BartonNackmanInterface< LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType, L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > > , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::asImp ( )
inlineprotectedinherited
GridPartType::CollectiveCommunicationType Dune::Fem::LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::comm ( ) const
inlineprotectedinherited
Dune::FieldTraits< typename UDiscreteFunctionType::RangeFieldType >::real_type Dune::Fem::L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType >::distance ( const UDiscreteFunctionType &  u,
const VDiscreteFunctionType &  v 
) const
inherited
void Dune::Fem::L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType >::distanceLocal ( const EntityType entity,
unsigned int  order,
const ULocalFunctionType &  uLocal,
const VLocalFunctionType &  vLocal,
ReturnType &  sum 
) const
inherited
template<class WeightFunction >
template<class ULocalFunctionType , class VLocalFunctionType , class ReturnType >
void Dune::Fem::WeightedL2Norm< WeightFunction >::distanceLocal ( const EntityType entity,
unsigned int  order,
const ULocalFunctionType &  uLocal,
const VLocalFunctionType &  vLocal,
ReturnType &  sum 
) const
inline
ReturnType Dune::Fem::LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::forEach ( const DiscreteFunctionType &  u,
const ReturnType &  initialValue,
unsigned int  order = 0 
) const
inlineprotectedinherited
ReturnType Dune::Fem::LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::forEach ( const UDiscreteFunctionType &  u,
const VDiscreteFunctionType &  v,
const ReturnType &  initialValue,
unsigned int  order = 0 
) const
inlineprotectedinherited
const GridPartType& Dune::Fem::LPNormBase< WeightFunction::DiscreteFunctionSpaceType::GridPartType , L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType > >::gridPart ( ) const
inlineprotectedinherited
Dune::FieldTraits< typename DiscreteFunctionType::RangeFieldType >::real_type Dune::Fem::L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType >::norm ( const DiscreteFunctionType &  u) const
inherited
void Dune::Fem::L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType >::normLocal ( const EntityType entity,
unsigned int  order,
const LocalFunctionType &  uLocal,
ReturnType &  sum 
) const
inherited
template<class WeightFunction >
template<class LocalFunctionType , class ReturnType >
void Dune::Fem::WeightedL2Norm< WeightFunction >::normLocal ( const EntityType entity,
unsigned int  order,
const LocalFunctionType &  uLocal,
ReturnType &  sum 
) const
inline

Member Data Documentation

const unsigned int Dune::Fem::L2Norm< WeightFunction::DiscreteFunctionSpaceType::GridPartType >::order_
protectedinherited

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