33 #ifndef __H__UG__LIB_DISC__TIME_DISC__TIME_INTEGRATOR_OBSERVERS__TIME_INTEGRATOR_OBSERVER_INTERFACE
34 #define __H__UG__LIB_DISC__TIME_DISC__TIME_INTEGRATOR_OBSERVERS__TIME_INTEGRATOR_OBSERVER_INTERFACE
41 template<
class TDomain,
class TAlgebra>
55 #define DECLARE_STAGE_OBSERVER(name) \
56 template <typename TDomain, typename TAlgebra>\
57 class ITimeIntegratorStageObserver_ ## name\
60 typedef GridFunction<TDomain, TAlgebra> grid_function_type;\
62 virtual ~ITimeIntegratorStageObserver_ ## name() {}\
63 virtual bool name ## _action(SmartPtr<grid_function_type> u, int step, number time, number dt) = 0;\
represents numerical solutions on a grid using an algebraic vector
Definition: grid_function.h:121
Abstract base class for time integration observer.
Definition: time_integrator_observer_interface.h:43
virtual bool step_process(SmartPtr< grid_function_type > u, int step, number time, number dt)=0
GridFunction< TDomain, TAlgebra > grid_function_type
Definition: time_integrator_observer_interface.h:45
virtual ~ITimeIntegratorObserver()
Definition: time_integrator_observer_interface.h:47
double number
Definition: types.h:124
#define DECLARE_STAGE_OBSERVER(name)
Definition: time_integrator_observer_interface.h:55