LILAC
|
Integrates an ODE forwards in time. More...
#include <ode.h>
Public Member Functions | |
std::string | type () const |
const std::type_info & | vtype () const |
std::vector< std::string > | dependencies () const |
void | postprocess (input &in) |
double | simulate () |
![]() | |
virtual double | score () |
This function returns the score of the system in its current state. | |
![]() | |
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 | |
integrator * | inter |
![]() | |
controller * | cont |
The controller. | |
objective * | obj |
The objective function. | |
writer * | cur_writer |
![]() | |
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 Attributes | |
std::shared_ptr< ode > | actual |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< item > | create (std::string name, engineimp *rval) |
![]() | |
std::string | out_f_name |
![]() | |
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) |
|
virtual |
Returns the dependencies of the ode class. The ode class has the same dependencies as the simulation class, as well as:
And has optional parameters:
If w_step<=0 (to machine precision) or tw>= tf, then no recording will be done Only the final value will be saved
Implements simulation.
Definition at line 52 of file ode.cpp.
|
virtual |
Implements simulation.
Reimplemented in ode_tmpl< T >.
Definition at line 56 of file ode.cpp.
|
virtual |
|
virtual |
This function returns the type name of the ode class, "ode"
Implements item.
Reimplemented in ode_tmpl< T >.
|
virtual |
Returns the variable type being used by the object,
Implements vartype.
Reimplemented in ode_tmpl< T >.
|
protected |