ug4
ug::LuaCallbackObserver< TDomain, TAlgebra > Class Template Reference

#include <lua_callback_observer.hpp>

+ Inheritance diagram for ug::LuaCallbackObserver< TDomain, TAlgebra >:

Public Types

typedef ITimeIntegratorObserver< TDomain, TAlgebra > base_type
 
typedef GridFunction< TDomain, TAlgebra > grid_function_type
 
typedef LuaFunction< number, numberlua_function_type
 
- Public Types inherited from ug::ITimeIntegratorObserver< TDomain, TAlgebra >
typedef GridFunction< TDomain, TAlgebra > grid_function_type
 

Public Member Functions

SmartPtr< grid_function_typeget_current_solution ()
 
 LuaCallbackObserver ()
 
 LuaCallbackObserver (int lua_id)
 
void set_callback (const char *luaCallback)
 
virtual bool step_process (SmartPtr< grid_function_type > uNew, int step, number time, number dt)
 
virtual ~LuaCallbackObserver ()
 
- Public Member Functions inherited from ug::ITimeIntegratorObserver< TDomain, TAlgebra >
virtual ~ITimeIntegratorObserver ()
 

Protected Attributes

SmartPtr< lua_function_typem_lua_callback
 
const int m_lua_id
 
SmartPtr< grid_function_typem_u
 

Member Typedef Documentation

◆ base_type

template<class TDomain , class TAlgebra >
typedef ITimeIntegratorObserver<TDomain, TAlgebra> ug::LuaCallbackObserver< TDomain, TAlgebra >::base_type

◆ grid_function_type

template<class TDomain , class TAlgebra >
typedef GridFunction<TDomain, TAlgebra> ug::LuaCallbackObserver< TDomain, TAlgebra >::grid_function_type

◆ lua_function_type

template<class TDomain , class TAlgebra >
typedef LuaFunction<number, number> ug::LuaCallbackObserver< TDomain, TAlgebra >::lua_function_type

Constructor & Destructor Documentation

◆ LuaCallbackObserver() [1/2]

template<class TDomain , class TAlgebra >
ug::LuaCallbackObserver< TDomain, TAlgebra >::LuaCallbackObserver ( )
inline

◆ LuaCallbackObserver() [2/2]

template<class TDomain , class TAlgebra >
ug::LuaCallbackObserver< TDomain, TAlgebra >::LuaCallbackObserver ( int  lua_id)
inline

◆ ~LuaCallbackObserver()

template<class TDomain , class TAlgebra >
virtual ug::LuaCallbackObserver< TDomain, TAlgebra >::~LuaCallbackObserver ( )
inlinevirtual

Member Function Documentation

◆ get_current_solution()

template<class TDomain , class TAlgebra >
SmartPtr<grid_function_type> ug::LuaCallbackObserver< TDomain, TAlgebra >::get_current_solution ( )
inline

◆ set_callback()

template<class TDomain , class TAlgebra >
void ug::LuaCallbackObserver< TDomain, TAlgebra >::set_callback ( const char *  luaCallback)
inline

◆ step_process()

template<class TDomain , class TAlgebra >
virtual bool ug::LuaCallbackObserver< TDomain, TAlgebra >::step_process ( SmartPtr< grid_function_type uNew,
int  step,
number  time,
number  dt 
)
inlinevirtual

Member Data Documentation

◆ m_lua_callback

template<class TDomain , class TAlgebra >
SmartPtr<lua_function_type> ug::LuaCallbackObserver< TDomain, TAlgebra >::m_lua_callback
protected

◆ m_lua_id

template<class TDomain , class TAlgebra >
const int ug::LuaCallbackObserver< TDomain, TAlgebra >::m_lua_id
protected

◆ m_u


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