|
LIMEX plugin
|
Integrates over a given time interval [a,b] with step size dt. More...
#include <time_integrator.hpp>
Public Member Functions | |
| virtual | ~ITimeIntegrator () |
| virtual destructor | |
| virtual void | init (grid_function_type const &u) |
| init operator depending on a function u | |
| void | init () |
| init operator | |
| void | prepare (grid_function_type &u) |
| prepares functions for application | |
| void | apply (grid_function_type &u1, const grid_function_type &u0) |
| Apply operator. | |
| virtual bool | apply (SmartPtr< grid_function_type > u1, number t1, ConstSmartPtr< grid_function_type > u0, number t0)=0 |
| void | set_time_step (double dt) |
| Set initial time step. | |
| double | get_time_step () |
| void | set_precision_bound (double precisionBound) |
| void | set_no_log_out (bool bNoLogOut) |
Protected Attributes | |
| double | m_dt |
| double | m_lower_tim |
| double | m_upper_tim |
| double | m_precisionBound |
| bool | m_bNoLogOut |
Integrates over a given time interval [a,b] with step size dt.
|
inline |
Apply operator.
This method applies the operator, i.e, advances the time step
|
pure virtual |
Implemented in ug::LimexTimeIntegrator< TDomain, TAlgebra >.
|
inline |
init operator
This method initializes the operator. Once initialized the 'apply'-method can be called.
|
inlinevirtual |
init operator depending on a function u
This method initializes the operator. Once initialized the 'apply'-method can be called. The function u is passed here, since the linear operator may be the linearization of some non-linear operator. Thus, the operator depends on the linearization point. If the operator is not a linearization, this method can be implemented by simply calling init() and forgetting about the linearization point.
| [in] | u | function (linearization point) |
Reimplemented in ug::TimeIntegratorLinearAdaptive< TDomain, TAlgebra >.