Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
Public Types | Public Member Functions | List of all members
hdnum::RE< M, S > Class Template Reference

Adaptive one-step method using Richardson extrapolation. More...

#include <ode.hh>

Public Types

typedef M::size_type size_type
 export size_type
 
typedef M::time_type time_type
 export time_type
 
typedef M::number_type number_type
 export number_type
 

Public Member Functions

 RE (const M &model_, S &solver_)
 constructor stores reference to the model
 
void set_dt (time_type dt_)
 set time step for subsequent steps
 
void set_TOL (time_type TOL_)
 set tolerance for adaptive computation
 
void step ()
 do one step
 
const Vector< number_type > & get_state () const
 get current state
 
time_type get_time () const
 get current time
 
time_type get_dt () const
 get dt used in last step (i.e. to compute current state)
 
size_type get_order () const
 return consistency order of the method
 
void get_info () const
 print some information
 

Detailed Description

template<class M, class S>
class hdnum::RE< M, S >

Adaptive one-step method using Richardson extrapolation.

Template Parameters
Ma model
Sany of the (non-adaptive) one step methods (solving model M)

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