GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ODE Class Referenceabstract

#include "ODE.h"

Inheritance diagram for ODE:
base_diff_eqn ODEFunc LSODE

Public Member Functions

 ODE ()
 
 ODE (const ColumnVector &s, double tm, const ODEFunc &f)
 
 ODE (const ODE &a)
 
virtual ~ODE ()=default
 
virtual Matrix do_integrate (const ColumnVector &tt)=0
 
virtual Matrix do_integrate (const ColumnVector &tt, const ColumnVector &ttcrit)=0
 
virtual ColumnVector do_integrate (double tt)=0
 
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)
 
virtual Matrix integrate (const ColumnVector &x0, double t0, const ColumnVector &tt, const ColumnVector &ttcrit)
 
virtual ColumnVector integrate (const ColumnVector &x0, double t0, double tt)
 
virtual ColumnVector integrate (double tt)
 
ODEoperator= (const ODE &a)
 
- Public Member Functions inherited from base_diff_eqn
 base_diff_eqn ()
 
 base_diff_eqn (const base_diff_eqn &a)
 
 base_diff_eqn (const ColumnVector &xx, double tt)
 
virtual ~base_diff_eqn ()=default
 
void clear_stop_time ()
 
virtual std::string error_message () const =0
 
virtual void force_restart ()
 
void initialize (const ColumnVector &x0, double t0)
 
bool integration_ok () const
 
octave_idx_type integration_state () const
 
base_diff_eqnoperator= (const base_diff_eqn &a)
 
void set_stop_time (double tt)
 
octave_idx_type size () const
 
ColumnVector state () const
 
double time () const
 
- Public Member Functions inherited from ODEFunc
 ODEFunc ()
 
 ODEFunc (const ODEFunc &a)
 
 ODEFunc (ODERHSFunc f)
 
 ODEFunc (ODERHSFunc f, ODEJacFunc j)
 
virtual ~ODEFunc ()=default
 
ODERHSFunc function () const
 
ODEJacFunc jacobian_function () const
 
ODEFuncoperator= (const ODEFunc &a)
 
ODEFuncset_function (ODERHSFunc f)
 
ODEFuncset_jacobian_function (ODEJacFunc j)
 

Additional Inherited Members

- Public Types inherited from ODEFunc
typedef Matrix(* ODEJacFunc) (const ColumnVector &, double)
 
typedef ColumnVector(* ODERHSFunc) (const ColumnVector &, double)
 
- Protected Attributes inherited from base_diff_eqn
bool m_integration_error
 
octave_idx_type m_istate
 
bool m_restart
 
double m_stop_time
 
bool m_stop_time_set
 
double m_t
 
ColumnVector m_x
 
- Protected Attributes inherited from ODEFunc
ODERHSFunc m_fcn
 
ODEJacFunc m_jac
 
bool m_reset
 

Detailed Description

Definition at line 35 of file ODE.h.

Constructor & Destructor Documentation

◆ ODE() [1/3]

ODE::ODE ( )
inline

Definition at line 40 of file ODE.h.

◆ ODE() [2/3]

ODE::ODE ( const ColumnVector s,
double  tm,
const ODEFunc f 
)
inline

Definition at line 43 of file ODE.h.

◆ ODE() [3/3]

ODE::ODE ( const ODE a)
inline

Definition at line 46 of file ODE.h.

◆ ~ODE()

virtual ODE::~ODE ( )
virtualdefault

Member Function Documentation

◆ do_integrate() [1/3]

virtual Matrix ODE::do_integrate ( const ColumnVector tt)
pure virtual

Implemented in LSODE.

◆ do_integrate() [2/3]

virtual Matrix ODE::do_integrate ( const ColumnVector tt,
const ColumnVector ttcrit 
)
pure virtual

Implemented in LSODE.

◆ do_integrate() [3/3]

virtual ColumnVector ODE::do_integrate ( double  tt)
pure virtual

Implemented in LSODE.

◆ integrate() [1/6]

virtual Matrix ODE::integrate ( const ColumnVector tt)
inlinevirtual

Definition at line 91 of file ODE.h.

◆ integrate() [2/6]

virtual Matrix ODE::integrate ( const ColumnVector tt,
const ColumnVector ttcrit 
)
inlinevirtual

Definition at line 105 of file ODE.h.

◆ integrate() [3/6]

virtual Matrix ODE::integrate ( const ColumnVector x0,
double  t0,
const ColumnVector tt 
)
inlinevirtual

Definition at line 96 of file ODE.h.

◆ integrate() [4/6]

virtual Matrix ODE::integrate ( const ColumnVector x0,
double  t0,
const ColumnVector tt,
const ColumnVector ttcrit 
)
inlinevirtual

Definition at line 111 of file ODE.h.

◆ integrate() [5/6]

virtual ColumnVector ODE::integrate ( const ColumnVector x0,
double  t0,
double  tt 
)
inlinevirtual

Definition at line 83 of file ODE.h.

◆ integrate() [6/6]

virtual ColumnVector ODE::integrate ( double  tt)
inlinevirtual

Definition at line 79 of file ODE.h.

◆ operator=()

ODE& ODE::operator= ( const ODE a)
inline

Definition at line 49 of file ODE.h.

References base_diff_eqn::operator=(), and ODEFunc::operator=().


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