|
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 () |
Public Member Functions inherited from simulation | |
| virtual double | score () |
| This function returns the score of the system in its current state. | |
Public Member Functions inherited from item_dim | |
| size_t | get_dimension () const |
Public Member Functions inherited from item | |
| 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 |
Public Member Functions inherited from vartype | |
| 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 |
Protected Attributes inherited from simulation | |
| controller * | cont |
| The controller. | |
| objective * | obj |
| The objective function. | |
| writer * | cur_writer |
Protected Attributes inherited from item_dim | |
| mempool | memp |
| std::set< item_dim * > | children |
| item_dim * | parent |
| size_t | dimension |
Protected Attributes inherited from item | |
| std::string | _name |
| std::string | _write_name |
| char | has_write_name |
Private Attributes | |
| std::shared_ptr< ode > | actual |
Additional Inherited Members | |
Static Public Member Functions inherited from item | |
| static std::shared_ptr< item > | create (std::string name, engineimp *rval) |
Public Attributes inherited from simulation | |
| std::string | out_f_name |
Protected Member Functions inherited from item_dim | |
| 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 |
1.8.1.2