LILAC
|
Dormand-Prince integrator. More...
#include <rk45_tmpl.hpp>
Public Member Functions | |
virtual const std::type_info & | vtype () const |
void | postprocess (input &dat) |
std::string | type () const |
int | integrate (ptr_passer u, double t0, double tf) |
~rk45_tmpl () | |
![]() | |
std::vector< std::string > | dependencies () const |
~rk45 () | |
![]() | |
virtual void | initial_condition (ptr_passer in, size_t len) |
void | initial_condition (ptr_passer in) |
virtual | ~integrator () |
Blank destructor for integrator. | |
![]() | |
size_t | get_dimension () const |
![]() | |
item () | |
virtual | ~item () |
virtual void | print () const |
Standard print function. | |
virtual void | update () |
void | setname (const std::string n) |
void | set_write_name (std::string wname) |
const std::string & | name () const |
const std::string & | write_name () const |
![]() | |
bool | compare (const vartype *in) const |
bool | compare (const vartype &in) const |
bool | compare (const std::type_info &tinf) |
template<typename T > | |
bool | compare () const |
template<typename T > | |
bool | compare (const T &in) const |
std::string | vname () const |
virtual const std::type_info & | vtype_internal () const |
bool | compare_internal (const vartype *in) const |
bool | compare_internal (const vartype &in) const |
bool | compare_internal (const std::type_info &tinf) |
template<typename T > | |
bool | compare_internal () const |
template<typename T > | |
bool | compare_internal (const T &in) const |
std::string | vname_internal () const |
virtual | ~vartype () |
Protected Attributes | |
double | dt_init |
double | dt_min |
double | dt_max |
double | relerr |
double | abserr |
T *restr | f0 |
T *restr *restr | f1 |
T *restr *restr *restr | f2 |
T *restr *restr *restr *restr | f3 |
T *restr | f4 |
T *restr *restr | f5 |
T *restr *restr *restr | f6 |
T *restr | u_calc |
real_type *restr | u_calc2 |
![]() | |
std::shared_ptr< rk45 > | actual |
![]() | |
rhs * | rh_val |
![]() | |
mempool | memp |
std::set< item_dim * > | children |
item_dim * | parent |
size_t | dimension |
![]() | |
std::string | _name |
std::string | _write_name |
char | has_write_name |
Private Types | |
typedef float_traits< T >::type | real_type |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< item > | create (std::string name, engineimp *rval) |
![]() | |
engineimp * | holder |
![]() | |
void | print_upstream () |
virtual void | _do_mem_update (size_t dim_old) |
void | add_as_parent (item_dim *p) |
void | add_as_parent (std::shared_ptr< item_dim > p) |
void | update_dim (size_t dim_new) |
Dormand-Prince integrator.
This class defines a Dormand-Prince integrator, the same type used by the Matlab function ODE45. This is the actual template implementation, which allows for definitions using multiple variables
Definition at line 30 of file rk45_tmpl.hpp.
|
private |
Definition at line 31 of file rk45_tmpl.hpp.
Definition at line 251 of file rk45_tmpl.hpp.
|
virtual |
Reimplemented from rk45.
Definition at line 53 of file rk45_tmpl.hpp.
Reimplemented from rk45.
Definition at line 260 of file rk45_tmpl.hpp.
|
virtual |
Reimplemented from rk45.
Definition at line 256 of file rk45_tmpl.hpp.
|
virtual |
Reimplemented from rk45.
Definition at line 49 of file rk45_tmpl.hpp.
|
protected |
Definition at line 36 of file rk45_tmpl.hpp.
|
protected |
Definition at line 35 of file rk45_tmpl.hpp.
|
protected |
Definition at line 35 of file rk45_tmpl.hpp.
|
protected |
Definition at line 35 of file rk45_tmpl.hpp.
|
protected |
Definition at line 37 of file rk45_tmpl.hpp.
|
protected |
Definition at line 37 of file rk45_tmpl.hpp.
|
protected |
Definition at line 37 of file rk45_tmpl.hpp.
|
protected |
Definition at line 37 of file rk45_tmpl.hpp.
|
protected |
Definition at line 38 of file rk45_tmpl.hpp.
|
protected |
Definition at line 38 of file rk45_tmpl.hpp.
|
protected |
Definition at line 38 of file rk45_tmpl.hpp.
|
protected |
Definition at line 36 of file rk45_tmpl.hpp.
|
protected |
Definition at line 39 of file rk45_tmpl.hpp.
Definition at line 40 of file rk45_tmpl.hpp.