ug4
ug::H1SemiComponentSpace< TGridFunction > Class Template Reference

#include <metric_spaces.h>

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

Public Types

typedef IComponentSpace< TGridFunction > base_type
 
typedef H1SemiDistIntegrand< 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< H1SemiDistIntegrand< TGridFunction >::weight_type >
typedef H1SemiDistIntegrand< TGridFunction >::weight_type weight_type
 

Public Member Functions

double distance2 (TGridFunction &uFine, TGridFunction &uCoarse)
 
ConstSmartPtr< weight_typeget_weight ()
 
 H1SemiComponentSpace (const char *fctNames)
 
 H1SemiComponentSpace (const char *fctNames, int order)
 
 H1SemiComponentSpace (const char *fctNames, int order, const char *ssNames, ConstSmartPtr< weight_type > spWeight)
 
 H1SemiComponentSpace (const char *fctNames, int order, ConstSmartPtr< weight_type > spWeight, const char *ssNames=0)
 
 H1SemiComponentSpace (const char *fctNames, int order, number weight, const char *ssNames=0)
 
double norm2 (TGridFunction &uFine)
 
void set_weight (ConstSmartPtr< weight_type > spWeight)
 for weighted norms More...
 
 ~H1SemiComponentSpace ()
 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< H1SemiDistIntegrand< 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< H1SemiDistIntegrand< TGridFunction >::weight_type >
ConstSmartPtr< weight_typem_spWeight
 

Detailed Description

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

Evaluates distance between two grid functions in H1 semi-norm

Member Typedef Documentation

◆ base_type

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

◆ weight_type

template<typename TGridFunction >
typedef H1SemiDistIntegrand<TGridFunction>::weight_type ug::H1SemiComponentSpace< TGridFunction >::weight_type

◆ weighted_obj_type

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

Constructor & Destructor Documentation

◆ H1SemiComponentSpace() [1/5]

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

◆ H1SemiComponentSpace() [2/5]

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

◆ H1SemiComponentSpace() [3/5]

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

◆ H1SemiComponentSpace() [4/5]

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

◆ H1SemiComponentSpace() [5/5]

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

◆ ~H1SemiComponentSpace()

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

DTOR.

Member Function Documentation

◆ distance2()

template<typename TGridFunction >
double ug::H1SemiComponentSpace< 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::H1SemiComponentSpace< TGridFunction >::norm2 ( TGridFunction &  uFine)
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: