Plugins
|
Sample class for integration observer: Output to VTK. More...
#include <time_integrator.hpp>
Public Types | |
typedef ITimeIntegratorObserver< TDomain, TAlgebra > | base_type |
typedef GridFunction< TDomain, TAlgebra > | grid_function_type |
typedef VTKOutput< TDomain::dim > | vtk_type |
Public Types inherited from ug::ITimeIntegratorObserver< TDomain, TAlgebra > | |
typedef GridFunction< TDomain, TAlgebra > | grid_function_type |
Public Member Functions | |
bool | end_action (SmartPtr< grid_function_type > u, int step, number time, number dt) OVERRIDE |
bool | finalize_action (SmartPtr< grid_function_type > uNew, int step, number time, number dt) OVERRIDE |
void | set_output_scales (const std::vector< number > &vScales) |
bool | start_action (SmartPtr< grid_function_type > u, int step, number time, number dt) OVERRIDE |
bool | step_process (SmartPtr< grid_function_type > uNew, int step, number time, number dt) OVERRIDE |
VTKOutputObserver () | |
VTKOutputObserver (const char *filename, SmartPtr< vtk_type > vtk) | |
VTKOutputObserver (const char *filename, SmartPtr< vtk_type > vtk, number plotStep) | |
virtual | ~VTKOutputObserver () |
Public Member Functions inherited from ug::ITimeIntegratorObserver< TDomain, TAlgebra > | |
virtual | ~ITimeIntegratorObserver () |
Protected Attributes | |
std::string | m_filename |
number | m_plotStep |
SmartPtr< vtk_type > | m_sp_vtk |
number | m_startTime |
SmartPtr< grid_function_type > | m_uOld |
std::vector< number > | m_vOutputScales |
Private Member Functions | |
void | writeToFile (SmartPtr< grid_function_type > u, int step, number time) |
Sample class for integration observer: Output to VTK.
typedef ITimeIntegratorObserver<TDomain, TAlgebra> ug::VTKOutputObserver< TDomain, TAlgebra >::base_type |
typedef GridFunction<TDomain, TAlgebra> ug::VTKOutputObserver< TDomain, TAlgebra >::grid_function_type |
typedef VTKOutput<TDomain::dim> ug::VTKOutputObserver< TDomain, TAlgebra >::vtk_type |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
References ug::VTKOutputObserver< TDomain, TAlgebra >::m_sp_vtk, and SPNULL.
|
inline |
|
inline |
References ug::VTKOutputObserver< TDomain, TAlgebra >::m_plotStep, ug::VTKOutputObserver< TDomain, TAlgebra >::m_sp_vtk, ug::VTKOutputObserver< TDomain, TAlgebra >::m_startTime, ug::VTKOutputObserver< TDomain, TAlgebra >::m_uOld, ug::VecScaleAdd(), and ug::VTKOutputObserver< TDomain, TAlgebra >::writeToFile().
|
inline |
|
inline |
|
inlinevirtual |
Implements ug::ITimeIntegratorObserver< TDomain, TAlgebra >.
|
inlineprivate |
References ug::VTKOutputObserver< TDomain, TAlgebra >::m_filename, ug::VTKOutputObserver< TDomain, TAlgebra >::m_sp_vtk, and ug::VTKOutputObserver< TDomain, TAlgebra >::m_vOutputScales.
Referenced by ug::VTKOutputObserver< TDomain, TAlgebra >::finalize_action(), and ug::VTKOutputObserver< TDomain, TAlgebra >::start_action().
|
protected |
|
protected |
|
protected |
Referenced by ug::VTKOutputObserver< TDomain, TAlgebra >::end_action(), ug::VTKOutputObserver< TDomain, TAlgebra >::finalize_action(), ug::VTKOutputObserver< TDomain, TAlgebra >::start_action(), ug::VTKOutputObserver< TDomain, TAlgebra >::writeToFile(), and ug::VTKOutputObserver< TDomain, TAlgebra >::~VTKOutputObserver().
|
protected |
|
protected |
|
protected |