Public Types | Public Member Functions | Protected Attributes | Private Attributes

LSODE Class Reference

#include "LSODE.h"

Inheritance diagram for LSODE:
Inheritance graph
[legend]
Collaboration diagram for LSODE:
Collaboration graph
[legend]

List of all members.

Public Types

typedef Matrix(* ODEJacFunc )(const ColumnVector &, double)
typedef ColumnVector(* ODERHSFunc )(const ColumnVector &, double)

Public Member Functions

 LSODE (void)
 LSODE (const ColumnVector &s, double tm, const ODEFunc &f)
 ~LSODE (void)
void clear_stop_time (void)
ColumnVector do_integrate (double t)
virtual ColumnVector do_integrate (double tt)=0
virtual Matrix do_integrate (const ColumnVector &tt)=0
virtual Matrix do_integrate (const ColumnVector &tt, const ColumnVector &ttcrit)=0
Matrix do_integrate (const ColumnVector &tout)
Matrix do_integrate (const ColumnVector &tout, const ColumnVector &tcrit)
virtual std::string error_message (void) const =0
std::string error_message (void) const
virtual void force_restart (void)
ODERHSFunc function (void) const
void initialize (const ColumnVector &x0, double t0)
virtual Matrix integrate (const ColumnVector &tt)
virtual Matrix integrate (const ColumnVector &tt, const ColumnVector &ttcrit)
virtual Matrix integrate (const ColumnVector &x0, double t0, const ColumnVector &tt, const ColumnVector &ttcrit)
virtual ColumnVector integrate (double tt)
virtual ColumnVector integrate (const ColumnVector &x0, double t0, double tt)
virtual Matrix integrate (const ColumnVector &x0, double t0, const ColumnVector &tt)
bool integration_ok (void) const
octave_idx_type integration_state (void) const
ODEJacFunc jacobian_function (void) const
ODEFuncset_function (ODERHSFunc f)
ODEFuncset_jacobian_function (ODEJacFunc j)
void set_stop_time (double tt)
octave_idx_type size (void) const
ColumnVector state (void) const
double time (void) const

Protected Attributes

ODERHSFunc fun
bool integration_error
octave_idx_type istate
ODEJacFunc jac
bool reset
bool restart
double stop_time
bool stop_time_set
double t
ColumnVector x

Private Attributes

Array< doubleabs_tol
bool initialized
octave_idx_type iopt
octave_idx_type itask
octave_idx_type itol
Array< octave_idx_typeiwork
octave_idx_type liw
octave_idx_type lrw
octave_idx_type maxord
octave_idx_type method_flag
double rel_tol
Array< doublerwork

Detailed Description

Definition at line 31 of file LSODE.h.


Member Typedef Documentation

typedef Matrix(* ODEFunc::ODEJacFunc)(const ColumnVector &, double) [inherited]

Definition at line 35 of file ODEFunc.h.

typedef ColumnVector(* ODEFunc::ODERHSFunc)(const ColumnVector &, double) [inherited]

Definition at line 34 of file ODEFunc.h.


Constructor & Destructor Documentation

LSODE::LSODE ( void   )  [inline]

Definition at line 37 of file LSODE.h.

LSODE::LSODE ( const ColumnVector s,
double  tm,
const ODEFunc f 
) [inline]

Definition at line 42 of file LSODE.h.

LSODE::~LSODE ( void   )  [inline]

Definition at line 47 of file LSODE.h.


Member Function Documentation

void base_diff_eqn::clear_stop_time ( void   )  [inline, inherited]

Definition at line 88 of file base-de.h.

Referenced by do_integrate(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().

ColumnVector LSODE::do_integrate ( double  t  ) 
Matrix LSODE::do_integrate ( const ColumnVector tout  ) 
virtual ColumnVector ODE::do_integrate ( double  tt  )  [pure virtual, inherited]
Matrix LSODE::do_integrate ( const ColumnVector tout,
const ColumnVector tcrit 
)
virtual Matrix ODE::do_integrate ( const ColumnVector tt  )  [pure virtual, inherited]
virtual Matrix ODE::do_integrate ( const ColumnVector tt,
const ColumnVector ttcrit 
) [pure virtual, inherited]
std::string LSODE::error_message ( void   )  const

Definition at line 315 of file LSODE.cc.

References base_diff_eqn::istate, and base_diff_eqn::t.

Referenced by DEFUN_DLD().

virtual std::string base_diff_eqn::error_message ( void   )  const [pure virtual, inherited]
virtual void base_diff_eqn::force_restart ( void   )  [inline, virtual, inherited]

Definition at line 94 of file base-de.h.

Referenced by do_integrate(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().

ODERHSFunc ODEFunc::function ( void   )  const [inline, inherited]

Definition at line 62 of file ODEFunc.h.

Referenced by do_integrate().

void base_diff_eqn::initialize ( const ColumnVector x0,
double  t0 
) [inline, inherited]

Reimplemented in base_diff_alg_eqn.

Definition at line 66 of file base-de.h.

References x.

virtual ColumnVector ODE::integrate ( double  tt  )  [inline, virtual, inherited]

Definition at line 69 of file ODE.h.

Referenced by DEFUN_DLD().

virtual ColumnVector ODE::integrate ( const ColumnVector x0,
double  t0,
double  tt 
) [inline, virtual, inherited]

Definition at line 73 of file ODE.h.

virtual Matrix ODE::integrate ( const ColumnVector tt  )  [inline, virtual, inherited]

Definition at line 81 of file ODE.h.

virtual Matrix ODE::integrate ( const ColumnVector x0,
double  t0,
const ColumnVector tt 
) [inline, virtual, inherited]

Definition at line 86 of file ODE.h.

virtual Matrix ODE::integrate ( const ColumnVector tt,
const ColumnVector ttcrit 
) [inline, virtual, inherited]

Definition at line 95 of file ODE.h.

virtual Matrix ODE::integrate ( const ColumnVector x0,
double  t0,
const ColumnVector tt,
const ColumnVector ttcrit 
) [inline, virtual, inherited]

Definition at line 101 of file ODE.h.

bool base_diff_eqn::integration_ok ( void   )  const [inline, inherited]

Definition at line 96 of file base-de.h.

Referenced by DEFUN_DLD().

octave_idx_type base_diff_eqn::integration_state ( void   )  const [inline, inherited]

Definition at line 98 of file base-de.h.

Referenced by DEFUN_DLD().

ODEJacFunc ODEFunc::jacobian_function ( void   )  const [inline, inherited]

Definition at line 71 of file ODEFunc.h.

Referenced by do_integrate().

ODEFunc& ODEFunc::set_function ( ODERHSFunc  f  )  [inline, inherited]

Definition at line 64 of file ODEFunc.h.

ODEFunc& ODEFunc::set_jacobian_function ( ODEJacFunc  j  )  [inline, inherited]

Definition at line 73 of file ODEFunc.h.

Referenced by DEFUN_DLD().

void base_diff_eqn::set_stop_time ( double  tt  )  [inline, inherited]

Definition at line 81 of file base-de.h.

Referenced by do_integrate(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().

octave_idx_type base_diff_eqn::size ( void   )  const [inline, inherited]
ColumnVector base_diff_eqn::state ( void   )  const [inline, inherited]

Definition at line 77 of file base-de.h.

References x.

double base_diff_eqn::time ( void   )  const [inline, inherited]

Definition at line 79 of file base-de.h.


Member Data Documentation

Definition at line 75 of file LSODE.h.

Referenced by do_integrate().

ODERHSFunc ODEFunc::fun [protected, inherited]

Definition at line 82 of file ODEFunc.h.

Referenced by ODEFunc::operator=().

Definition at line 59 of file LSODE.h.

Referenced by do_integrate().

bool base_diff_eqn::integration_error [protected, inherited]

Definition at line 64 of file LSODE.h.

Referenced by do_integrate().

octave_idx_type base_diff_eqn::istate [protected, inherited]

Definition at line 63 of file LSODE.h.

Referenced by do_integrate().

Definition at line 65 of file LSODE.h.

Referenced by do_integrate().

Definition at line 70 of file LSODE.h.

Referenced by do_integrate().

ODEJacFunc ODEFunc::jac [protected, inherited]

Definition at line 83 of file ODEFunc.h.

Referenced by do_integrate(), and ODEFunc::operator=().

Definition at line 67 of file LSODE.h.

Referenced by do_integrate().

Definition at line 68 of file LSODE.h.

Referenced by do_integrate().

Definition at line 62 of file LSODE.h.

Referenced by do_integrate().

Definition at line 61 of file LSODE.h.

Referenced by do_integrate().

Definition at line 73 of file LSODE.h.

Referenced by do_integrate().

bool ODEFunc::reset [protected, inherited]

Definition at line 90 of file ODEFunc.h.

Referenced by do_integrate(), and ODEFunc::operator=().

bool base_diff_eqn::restart [protected, inherited]

Definition at line 71 of file LSODE.h.

Referenced by do_integrate().

double base_diff_eqn::stop_time [protected, inherited]
bool base_diff_eqn::stop_time_set [protected, inherited]
double base_diff_eqn::t [protected, inherited]
ColumnVector base_diff_eqn::x [protected, inherited]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines