#include <row_method.h>
Public Member Functions | |
ROWMethod (const typename WMethod< VECTOR >::Method method) | |
virtual | ~ROWMethod () |
void | solve_W_stage_equation (const AbstractIVP< VECTOR > *ivp, const double t, const VECTOR &v, const double alpha, const VECTOR &y, const double tolerance, VECTOR &x) const |
void | approximate_ft (const AbstractIVP< VECTOR > *ivp, const double t, const VECTOR &v, const double tolerance, VECTOR &result) const |
The following class is an abstract base for an s-stage Rosenbrock-Wanner (ROW-) method for the numerical solution of (abstract) nonautonomous initial value problems of the form
u'(t) = F(t, u(t)), u(0) = u_0.
Essentially, a ROW-method is a W-method with T = F_v(t_m,u^{(m)}) and g = F_t(t_m,u^{(m)}, see w_method.h for details.
MathTL::ROWMethod< VECTOR >::ROWMethod | ( | const typename WMethod< VECTOR >::Method | method | ) |
constructor for one of the builtin ROW-methods, cf. w_method.h for details
virtual MathTL::ROWMethod< VECTOR >::~ROWMethod | ( | ) | [inline, virtual] |
virtual destructor
void MathTL::ROWMethod< VECTOR >::approximate_ft | ( | const AbstractIVP< VECTOR > * | ivp, |
const double | t, | ||
const VECTOR & | v, | ||
const double | tolerance, | ||
VECTOR & | result | ||
) | const [inline, virtual] |
Approximation of the temporal derivative f_t(t_m,u^{(m)}), inherited from WMethodStageEquationHelper
Implements MathTL::WMethodStageEquationHelper< VECTOR >.
void MathTL::ROWMethod< VECTOR >::solve_W_stage_equation | ( | const AbstractIVP< VECTOR > * | ivp, |
const double | t, | ||
const VECTOR & | v, | ||
const double | alpha, | ||
const VECTOR & | y, | ||
const double | tolerance, | ||
VECTOR & | x | ||
) | const [inline, virtual] |
(adaptive) solver for one of the systems (alpha*I-T)x=y, inherited from WMethodStageEquationHelper
Implements MathTL::WMethodStageEquationHelper< VECTOR >.