ug4
ug::TimeDependentSpace< TGridFunction > Class Template Reference

Wrapper class for time dependence. More...

#include <metric_spaces.h>

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

Public Types

typedef IGridFunctionSpace< TGridFunction > base_type
 
typedef IComponentSpace< TGridFunction > comp_space_type
 
- Public Types inherited from ug::IGridFunctionSpace< TGridFunction >
typedef TGridFunction grid_function_type
 
typedef TGridFunction::vector_type vector_type
 

Public Member Functions

std::string config_string () const
 print config string More...
 
virtual double distance (TGridFunction &x, TGridFunction &y)=0
 distance (for grid functions) More...
 
virtual double distance (vector_type &x, vector_type &y)
 OVERRIDE distance (for vectors) More...
 
virtual double norm (TGridFunction &x)=0
 norm (for grid functions) More...
 
virtual double norm (vector_type &x)
 OVERRIDE norm (for vectors) More...
 
virtual double scaling () const
 
double scaling () const
 scaling (OVERRIDE) More...
 
 TimeDependentSpace (SmartPtr< comp_space_type > spSpace, number tScale)
 time dependent CTOR More...
 
void update_time_data (number tScale)
 characteristic time More...
 
virtual ~TimeDependentSpace ()
 DTOR. More...
 
- Public Member Functions inherited from ug::IGridFunctionSpace< TGridFunction >
virtual double distance (TGridFunction &x, TGridFunction &y)=0
 distance (for grid functions) More...
 
virtual double distance (vector_type &x, vector_type &y)
 OVERRIDE distance (for vectors) More...
 
virtual double distance2 (TGridFunction &x, TGridFunction &y)=0
 
virtual double norm (TGridFunction &x)=0
 norm (for grid functions) More...
 
virtual double norm (vector_type &x)
 OVERRIDE norm (for vectors) More...
 
virtual double norm2 (TGridFunction &x)=0
 
virtual ~IGridFunctionSpace ()
 DTOR. More...
 
- Public Member Functions inherited from ug::IBanachSpace< TGridFunction::vector_type >
virtual ~IBanachSpace ()
 

Protected Attributes

SmartPtr< comp_space_typem_spSpatialSpace
 
number m_tScale
 

Detailed Description

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

Wrapper class for time dependence.

Member Typedef Documentation

◆ base_type

template<typename TGridFunction >
typedef IGridFunctionSpace<TGridFunction> ug::TimeDependentSpace< TGridFunction >::base_type

◆ comp_space_type

template<typename TGridFunction >
typedef IComponentSpace<TGridFunction> ug::TimeDependentSpace< TGridFunction >::comp_space_type

Constructor & Destructor Documentation

◆ TimeDependentSpace()

template<typename TGridFunction >
ug::TimeDependentSpace< TGridFunction >::TimeDependentSpace ( SmartPtr< comp_space_type spSpace,
number  tScale 
)
inline

time dependent CTOR

◆ ~TimeDependentSpace()

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

DTOR.

Member Function Documentation

◆ config_string()

template<typename TGridFunction >
std::string ug::TimeDependentSpace< TGridFunction >::config_string ( ) const
inlinevirtual

◆ distance() [1/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::distance

distance (for grid functions)

◆ distance() [2/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::distance
inline

OVERRIDE distance (for vectors)

◆ norm() [1/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::norm

norm (for grid functions)

◆ norm() [2/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::norm
inline

OVERRIDE norm (for vectors)

◆ scaling() [1/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::scaling
inline

◆ scaling() [2/2]

template<typename TGridFunction >
double ug::TimeDependentSpace< TGridFunction >::scaling ( ) const
inlinevirtual

◆ update_time_data()

template<typename TGridFunction >
void ug::TimeDependentSpace< TGridFunction >::update_time_data ( number  tScale)
inline

characteristic time

References ug::TimeDependentSpace< TGridFunction >::m_tScale.

Member Data Documentation

◆ m_spSpatialSpace

template<typename TGridFunction >
SmartPtr<comp_space_type> ug::TimeDependentSpace< TGridFunction >::m_spSpatialSpace
protected

◆ m_tScale

template<typename TGridFunction >
number ug::TimeDependentSpace< TGridFunction >::m_tScale
protected

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