ug4
ug::H1EnergyComponentSpace< TGridFunction > Class Template Reference

#include <metric_spaces.h>

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

Public Types

typedef IComponentSpace< TGridFunction > base_type
 
typedef UserData< MathVector< dim >, dimvelocity_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< H1EnergyDistIntegrand< TGridFunction >::weight_type >
typedef H1EnergyDistIntegrand< TGridFunction >::weight_type weight_type
 

Public Member Functions

double distance2 (TGridFunction &uFine, TGridFunction &uCoarse)
 
ConstSmartPtr< weight_typeget_weight ()
 
 H1EnergyComponentSpace (const char *fctNames)
 
 H1EnergyComponentSpace (const char *fctNames, int order)
 
 H1EnergyComponentSpace (const char *fctNames, int order, ConstSmartPtr< weight_type > spWeight, const char *ssNames=0)
 
 H1EnergyComponentSpace (const char *fctNames, int order, number weight, const char *ssNames=0)
 
double norm2 (TGridFunction &uFine)
 
void set_velocity (SmartPtr< velocity_type > spVelocity)
 
void set_weight (ConstSmartPtr< weight_type > spWeight)
 for weighted norms More...
 
 ~H1EnergyComponentSpace ()
 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< H1EnergyDistIntegrand< TGridFunction >::weight_type >
ConstSmartPtr< weight_typeget_weight ()
 
 IObjectWithWeights ()
 
 IObjectWithWeights (ConstSmartPtr< weight_type > spW)
 
void set_weight (ConstSmartPtr< weight_type > spWeight)
 for weighted norms More...
 

Static Public Attributes

static const int dim = TGridFunction::dim
 
- Static Public Attributes inherited from ug::IComponentSpace< TGridFunction >
static const int dim =TGridFunction::dim
 

Protected Attributes

SmartPtr< velocity_typem_spVelocity
 
- Protected Attributes inherited from ug::IComponentSpace< TGridFunction >
std::string m_fctNames
 
int m_quadorder
 
const char * m_ssNames
 
- Protected Attributes inherited from ug::IObjectWithWeights< H1EnergyDistIntegrand< TGridFunction >::weight_type >
ConstSmartPtr< weight_typem_spWeight
 

Detailed Description

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

Evaluates distance between two grid functions in H1 semi-norm

Member Typedef Documentation

◆ base_type

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

◆ velocity_type

template<typename TGridFunction >
typedef UserData<MathVector<dim>, dim> ug::H1EnergyComponentSpace< TGridFunction >::velocity_type

◆ weight_type

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

◆ weighted_obj_type

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

Constructor & Destructor Documentation

◆ H1EnergyComponentSpace() [1/4]

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

References new().

◆ H1EnergyComponentSpace() [2/4]

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

References new().

◆ H1EnergyComponentSpace() [3/4]

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

References new().

◆ H1EnergyComponentSpace() [4/4]

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

◆ ~H1EnergyComponentSpace()

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

DTOR.

Member Function Documentation

◆ distance2()

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

◆ get_weight()

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

◆ norm2()

◆ set_velocity()

template<typename TGridFunction >
void ug::H1EnergyComponentSpace< TGridFunction >::set_velocity ( SmartPtr< velocity_type spVelocity)
inline

◆ set_weight()

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

for weighted norms

Member Data Documentation

◆ dim

template<typename TGridFunction >
const int ug::H1EnergyComponentSpace< TGridFunction >::dim = TGridFunction::dim
static

◆ m_spVelocity


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