ug4
ug::L2QuotientSpace< TGridFunction > Class Template Reference

#include <metric_spaces.h>

+ Inheritance diagram for ug::L2QuotientSpace< TGridFunction >:

Public Types

typedef IComponentSpace< TGridFunction > base_type
 
typedef L2DistIntegrand< TGridFunction >::weight_type weight_type
 
typedef IObjectWithWeights< weight_typeweighted_obj_type
 
- Public Types inherited from ug::IComponentSpace< TGridFunction >
typedef IGridFunctionSpace< TGridFunction > base_type
 
- Public Types inherited from ug::IGridFunctionSpace< TGridFunction >
typedef TGridFunction grid_function_type
 
typedef TGridFunction::vector_type vector_type
 
- Public Types inherited from ug::IObjectWithWeights< L2DistIntegrand< TGridFunction >::weight_type >
typedef L2DistIntegrand< TGridFunction >::weight_type weight_type
 

Public Member Functions

double distance2 (TGridFunction &uFine, TGridFunction &uCoarse)
 distance (for grid functions) More...
 
ConstSmartPtr< weight_typeget_weight ()
 
 L2QuotientSpace (const char *fctNames)
 CTOR. More...
 
 L2QuotientSpace (const char *fctNames, int order)
 
 L2QuotientSpace (const char *fctNames, int order, ConstSmartPtr< weight_type > spWeight, const char *ssNames=0)
 
 L2QuotientSpace (const char *fctNames, int order, double weight, const char *ssNames=0)
 
double norm2 (TGridFunction &u)
 norm (for grid functions) More...
 
void set_weight (ConstSmartPtr< weight_type > spWeight)
 for weighted norms More...
 
 ~L2QuotientSpace ()
 DTOR. More...
 
- Public Member Functions inherited from ug::IComponentSpace< TGridFunction >
virtual std::string config_string () const
 print config string More...
 
virtual double distance (TGridFunction &uFine, TGridFunction &uCoarse)
 distance (for grid functions) More...
 
 IComponentSpace (const char *fctNames)
 
 IComponentSpace (const char *fctNames, const char *ssNames, int order)
 
 IComponentSpace (const char *fctNames, int order)
 
virtual double norm (TGridFunction &uFine)
 norm (for grid functions) More...
 
virtual ~IComponentSpace ()
 
- Public Member Functions inherited from ug::IGridFunctionSpace< TGridFunction >
virtual double distance (vector_type &x, vector_type &y)
 OVERRIDE distance (for vectors) More...
 
virtual double norm (vector_type &x)
 OVERRIDE norm (for vectors) More...
 
virtual double scaling () const
 
virtual ~IGridFunctionSpace ()
 DTOR. More...
 
- Public Member Functions inherited from ug::IBanachSpace< TGridFunction::vector_type >
virtual ~IBanachSpace ()
 
- Public Member Functions inherited from ug::IObjectWithWeights< L2DistIntegrand< TGridFunction >::weight_type >
ConstSmartPtr< weight_typeget_weight ()
 
 IObjectWithWeights ()
 
 IObjectWithWeights (ConstSmartPtr< weight_type > spW)
 
void set_weight (ConstSmartPtr< weight_type > spWeight)
 for weighted norms More...
 

Public Attributes

ConstSmartPtr< weight_typem_spWeight
 

Additional Inherited Members

- Static Public Attributes inherited from ug::IComponentSpace< TGridFunction >
static const int dim =TGridFunction::dim
 
- Protected Attributes inherited from ug::IComponentSpace< TGridFunction >
std::string m_fctNames
 
int m_quadorder
 
const char * m_ssNames
 
- Protected Attributes inherited from ug::IObjectWithWeights< L2DistIntegrand< TGridFunction >::weight_type >
ConstSmartPtr< weight_typem_spWeight
 

Detailed Description

template<typename TGridFunction>
class ug::L2QuotientSpace< TGridFunction >

Evaluates difference between two grid functions in L2 norm

Member Typedef Documentation

◆ base_type

template<typename TGridFunction >
typedef IComponentSpace<TGridFunction> ug::L2QuotientSpace< TGridFunction >::base_type

◆ weight_type

template<typename TGridFunction >
typedef L2DistIntegrand<TGridFunction>::weight_type ug::L2QuotientSpace< TGridFunction >::weight_type

◆ weighted_obj_type

template<typename TGridFunction >
typedef IObjectWithWeights<weight_type> ug::L2QuotientSpace< TGridFunction >::weighted_obj_type

Constructor & Destructor Documentation

◆ L2QuotientSpace() [1/4]

template<typename TGridFunction >
ug::L2QuotientSpace< TGridFunction >::L2QuotientSpace ( const char *  fctNames)
inline

CTOR.

References new().

◆ L2QuotientSpace() [2/4]

template<typename TGridFunction >
ug::L2QuotientSpace< TGridFunction >::L2QuotientSpace ( const char *  fctNames,
int  order 
)
inline

References new().

◆ L2QuotientSpace() [3/4]

template<typename TGridFunction >
ug::L2QuotientSpace< TGridFunction >::L2QuotientSpace ( const char *  fctNames,
int  order,
double  weight,
const char *  ssNames = 0 
)
inline

References new().

◆ L2QuotientSpace() [4/4]

template<typename TGridFunction >
ug::L2QuotientSpace< TGridFunction >::L2QuotientSpace ( const char *  fctNames,
int  order,
ConstSmartPtr< weight_type spWeight,
const char *  ssNames = 0 
)
inline

◆ ~L2QuotientSpace()

template<typename TGridFunction >
ug::L2QuotientSpace< TGridFunction >::~L2QuotientSpace ( )
inline

DTOR.

Member Function Documentation

◆ distance2()

template<typename TGridFunction >
double ug::L2QuotientSpace< TGridFunction >::distance2 ( TGridFunction &  uFine,
TGridFunction &  uCoarse 
)
inlinevirtual

◆ get_weight()

template<typename TGridFunction >
ConstSmartPtr<weight_type> ug::IObjectWithWeights< W >::get_weight
inline

◆ norm2()

template<typename TGridFunction >
double ug::L2QuotientSpace< TGridFunction >::norm2 ( TGridFunction &  u)
inlinevirtual

◆ set_weight()

template<typename TGridFunction >
void ug::IObjectWithWeights< W >::set_weight
inline

for weighted norms

Member Data Documentation

◆ m_spWeight

template<typename TGridFunction >
ConstSmartPtr<weight_type> ug::IObjectWithWeights< W >::m_spWeight

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