Integration of non-linear systems (with bounds on dt) More...
#include <time_integrator.hpp>
Public Types | |
typedef ITimeIntegrator< TDomain, TAlgebra > | base_type |
typedef base_type::vector_type | vector_type |
typedef IOperatorInverse< vector_type > | solver_type |
typedef AssembledOperator< TAlgebra > | assembled_operator_type |
![]() | |
typedef TAlgebra | algebra_type |
typedef TAlgebra::vector_type | vector_type |
typedef TAlgebra::matrix_type | matrix_type |
typedef TDomain | domain_type |
typedef GridFunction< TDomain, TAlgebra > | grid_function_type |
Public Member Functions | |
void | set_solver (SmartPtr< solver_type > solver) |
ConstSmartPtr< solver_type > | get_solver () const |
SmartPtr< solver_type > | get_solver () |
void | set_dt_min (double min) |
double | get_dt_min () |
void | set_dt_max (double max) |
double | get_dt_max () |
void | set_reduction_factor (double dec) |
double | get_reduction_factor () |
void | set_increase_factor (double inc) |
double | get_increase_factor () |
![]() | |
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 | |
SmartPtr< solver_type > | m_spSolver |
TimeStepBounds | m_dtBounds |
![]() | |
double | m_dt |
double | m_lower_tim |
double | m_upper_tim |
double | m_precisionBound |
bool | m_bNoLogOut |
Integration of non-linear systems (with bounds on dt)