Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
 
virtual double distance (TGridFunction &x, TGridFunction &y)=0
 distance (for grid functions)
 
virtual double distance (vector_type &x, vector_type &y)
 OVERRIDE distance (for vectors)
 
virtual double norm (TGridFunction &x)=0
 norm (for grid functions)
 
virtual double norm (vector_type &x)
 OVERRIDE norm (for vectors)
 
virtual double scaling () const
 
double scaling () const
 scaling (OVERRIDE)
 
 TimeDependentSpace (SmartPtr< comp_space_type > spSpace, number tScale)
 time dependent CTOR
 
void update_time_data (number tScale)
 characteristic time
 
virtual ~TimeDependentSpace ()
 DTOR.
 
- Public Member Functions inherited from ug::IGridFunctionSpace< TGridFunction >
virtual double distance2 (TGridFunction &x, TGridFunction &y)=0
 
virtual double norm2 (TGridFunction &x)=0
 
virtual ~IGridFunctionSpace ()
 DTOR.
 
- 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 ( TGridFunction &  x,
TGridFunction &  y 
)
virtual

distance (for grid functions)

Implements ug::IGridFunctionSpace< TGridFunction >.

◆ distance() [2/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::distance ( vector_type x,
vector_type y 
)
inlinevirtual

OVERRIDE distance (for vectors)

Reimplemented from ug::IGridFunctionSpace< TGridFunction >.

◆ norm() [1/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::norm ( TGridFunction &  x)
virtual

norm (for grid functions)

Implements ug::IGridFunctionSpace< TGridFunction >.

◆ norm() [2/2]

template<typename TGridFunction >
virtual double ug::IGridFunctionSpace< TGridFunction >::norm ( vector_type x)
inlinevirtual

OVERRIDE norm (for vectors)

Reimplemented from ug::IGridFunctionSpace< TGridFunction >.

◆ scaling() [1/2]

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

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