ODEBND
mc::ODESLV_GSL< T > Class Template Reference

C++ class computing solutions of parametric ODEs using non-validated integration. More...

#include <odeslv_gsl.hpp>

Inheritance diagram for mc::ODESLV_GSL< T >:
Collaboration diagram for mc::ODESLV_GSL< T >:

List of all members.

Classes

class  Exceptions
 Structure for setting up storing the solver exceptions. More...
struct  Options
 Integrator options. More...
struct  Results
 Store integration bounds at a given time instant. More...

Public Member Functions

 ODESLV_GSL ()
 Default class constructor.
virtual ~ODESLV_GSL ()
 Default destructor.
STATUS states (const unsigned int ns, const double *tk, const double *p, double **xk, double *f, std::ostream &os=std::cout)
 Integrate trajectory of parametric ODEs.
STATUS states_ASA (const unsigned int ns, const double *tk, const double *p, double **xk, double *f, double **lk, double *df, std::ostream &os=std::cout)
 Integrate trajectory of parametric ODEs and adjoint ODEs.
STATUS bounds (const unsigned int ns, const double *tk, const T *Ip, T **Ixk, T *If, const unsigned int nsamp, std::ostream &os=std::cout)
 Compute approximate interval enclosure of reachable set of parametric ODEs using parameter sampling.
STATUS bounds_ASA (const unsigned int ns, const double *tk, const T *Ip, T **Ixk, T *If, T **Ilk, T *Idf, const unsigned int nsamp, std::ostream &os=std::cout)
 Compute approximate interval enclosure of reachable set of parametric ODEs and adjoint ODEs using parameter sampling.
void record (std::ofstream &bndrec, const unsigned int iprec=5) const
 Record results in file bndrec, with accuracy of iprec digits.

Public Attributes

Stats stats_traj
 Statistics for state integration.
Stats stats_adj
 Statistics for adjoint integration.

Static Public Attributes

static ODESLV_GSL< T > * pODESLV_GSL = 0
 static pointer to class

Static Protected Member Functions

static void _init_stats (Stats &stats)
 Function to initialize GSL statistics.
static void _final_stats (Stats &stats)
 Function to finalize GSL statistics.
static void _print_stats (const Stats &stats, std::ostream &os=std::cout)
 Function to display GSL statistics.

Protected Attributes

double * _vec_state
 full GSL state
double _h
 stepsize

Detailed Description

template<typename T>
class mc::ODESLV_GSL< T >

mc::ODESLV_GSL is a C++ class that computes solutions of parametric ordinary differential equations (ODEs) using GSL.


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