ug4
ug::GridFunctionComponentSpace< TGridFunction > Class Template Reference

#include <metric_spaces.h>

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

Public Member Functions

virtual double distance2 (TGridFunction &uFine, TGridFunction &uCoarse)
 
 GridFunctionComponentSpace (const char *fctNames)
 
 GridFunctionComponentSpace (const char *fctNames, const char *ssNames)
 
virtual double norm2 (TGridFunction &uFine)
 
virtual ~GridFunctionComponentSpace ()
 
- 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 ()
 

Private Member Functions

template<typename TBaseElem >
void add_distance_values (number &sum, const TGridFunction &uFine, const TGridFunction &uCoarse, ConstSmartPtr< DoFDistribution > dd, int si, const FunctionGroup &fg) const
 
template<typename TBaseElem >
void add_norm_values (number &sum, const TGridFunction &uFine, ConstSmartPtr< DoFDistribution > dd, int si, const FunctionGroup &fg) const
 

Additional Inherited Members

- 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
 
- 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
 

Detailed Description

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

Computes simple vector (2-)norm from grid function DoFs which belong to either of the subsets and either of the functions supplied in the constructor.

Constructor & Destructor Documentation

◆ GridFunctionComponentSpace() [1/2]

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

◆ GridFunctionComponentSpace() [2/2]

template<typename TGridFunction >
ug::GridFunctionComponentSpace< TGridFunction >::GridFunctionComponentSpace ( const char *  fctNames,
const char *  ssNames 
)
inline

◆ ~GridFunctionComponentSpace()

template<typename TGridFunction >
virtual ug::GridFunctionComponentSpace< TGridFunction >::~GridFunctionComponentSpace ( )
inlinevirtual

Member Function Documentation

◆ add_distance_values()

template<typename TGridFunction >
template<typename TBaseElem >
void ug::GridFunctionComponentSpace< TGridFunction >::add_distance_values ( number sum,
const TGridFunction &  uFine,
const TGridFunction &  uCoarse,
ConstSmartPtr< DoFDistribution dd,
int  si,
const FunctionGroup fg 
) const
inlineprivate

◆ add_norm_values()

template<typename TGridFunction >
template<typename TBaseElem >
void ug::GridFunctionComponentSpace< TGridFunction >::add_norm_values ( number sum,
const TGridFunction &  uFine,
ConstSmartPtr< DoFDistribution dd,
int  si,
const FunctionGroup fg 
) const
inlineprivate

◆ distance2()

◆ norm2()


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