LILAC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ode_tmpl< T > Class Template Reference

#include <ode_tmpl.hpp>

Inheritance diagram for ode_tmpl< T >:
Inheritance graph
[legend]
Collaboration diagram for ode_tmpl< T >:
Collaboration graph
[legend]

Public Member Functions

std::string type () const
const std::type_info & vtype () const
void postprocess (input &in)
double simulate ()
- Public Member Functions inherited from ode
std::vector< std::stringdependencies () const
- 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::stringname () const
const std::stringwrite_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 ()

Private Member Functions

void integrate_with_writes ()
void write_t (double tcur)

Private Attributes

T * sol
double t0
 Starting time for the integration. By default is equal to zero.
double tf
 Ending time for the integration.
double tw
 Time at which data recording begins. By default is equal to t0.
double w_step
 Interval at which data is written. By default is equal to -1.

Additional Inherited Members

- Static Public Member Functions inherited from item
static std::shared_ptr< itemcreate (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)
- Protected Attributes inherited from ode
integratorinter

Detailed Description

template<class T>
class ode_tmpl< T >

Definition at line 28 of file ode_tmpl.hpp.

Member Function Documentation

template<class T >
void ode_tmpl< T >::integrate_with_writes ( )
private

Definition at line 58 of file ode_tmpl.hpp.

template<class T >
void ode_tmpl< T >::postprocess ( input in)
virtual

Reimplemented from ode.

Definition at line 70 of file ode_tmpl.hpp.

Here is the call graph for this function:

template<class T >
double ode_tmpl< T >::simulate ( )
virtual

Reimplemented from ode.

Definition at line 100 of file ode_tmpl.hpp.

Here is the call graph for this function:

template<class T >
std::string ode_tmpl< T >::type ( ) const
virtual

Reimplemented from ode.

Definition at line 118 of file ode_tmpl.hpp.

template<class T >
const std::type_info & ode_tmpl< T >::vtype ( ) const
virtual

Reimplemented from ode.

Definition at line 122 of file ode_tmpl.hpp.

template<class T >
void ode_tmpl< T >::write_t ( double  tcur)
private

Definition at line 49 of file ode_tmpl.hpp.

Here is the call graph for this function:

Member Data Documentation

template<class T >
T* ode_tmpl< T >::sol
private

integrator currently being used Vector representing the current solution

Definition at line 33 of file ode_tmpl.hpp.

template<class T >
double ode_tmpl< T >::t0
private

Starting time for the integration. By default is equal to zero.

Definition at line 35 of file ode_tmpl.hpp.

template<class T >
double ode_tmpl< T >::tf
private

Ending time for the integration.

Definition at line 37 of file ode_tmpl.hpp.

template<class T >
double ode_tmpl< T >::tw
private

Time at which data recording begins. By default is equal to t0.

Definition at line 39 of file ode_tmpl.hpp.

template<class T >
double ode_tmpl< T >::w_step
private

Interval at which data is written. By default is equal to -1.

Definition at line 41 of file ode_tmpl.hpp.


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