GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
ODES Class Referenceabstract

#include "ODES.h"

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

Public Types

typedef ColumnVector(* ODES_bsub )(const ColumnVector &x, double, const ColumnVector &theta, int column)
 
typedef ColumnVector(* ODES_fsub )(const ColumnVector &x, double, const ColumnVector &theta)
 
typedef Matrix(* ODES_jsub )(const ColumnVector &x, double, const ColumnVector &theta)
 

Public Member Functions

 ODES (void)
 
 ODES (const ColumnVector &s, double tm, ODESFunc &f)
 
 ODES (const ColumnVector &s, const ColumnVector &xtheta, double tm, ODESFunc &f)
 
 ODES (const ODES &a)
 
 ~ODES (void)
 
ODES_bsub bsub_function (void) const
 
void clear_stop_time (void)
 
virtual std::string error_message (void) const =0
 
virtual void force_restart (void)
 
ODES_fsub fsub_function (void) const
 
void initialize (const ColumnVector &x, double t)
 
void initialize (const ColumnVector &x, double t, const ColumnVector &theta)
 
bool integration_ok (void) const
 
octave_idx_type integration_state (void) const
 
ODES_jsub jsub_function (void) const
 
ODESoperator= (const ODES &a)
 
ColumnVector parameter_vector (void)
 
ODESFuncset_bsub_function (ODES_bsub b)
 
ODESFuncset_fsub_function (ODES_fsub f)
 
ODESFuncset_jsub_function (ODES_jsub j)
 
void set_stop_time (double tt)
 
octave_idx_type size (void) const
 
ColumnVector state (void) const
 
double time (void) const
 

Protected Attributes

ODES_bsub bsub
 
ODES_fsub fsub
 
bool integration_error
 
octave_idx_type istate
 
ODES_jsub jsub
 
bool restart
 
double stop_time
 
bool stop_time_set
 
double t
 
ColumnVector theta
 
ColumnVector x
 
ColumnVector xdot
 

Detailed Description

Definition at line 29 of file ODES.h.

Member Typedef Documentation

typedef ColumnVector(* ODESFunc::ODES_bsub)(const ColumnVector &x, double, const ColumnVector &theta, int column)
inherited

Definition at line 42 of file ODESFunc.h.

typedef ColumnVector(* ODESFunc::ODES_fsub)(const ColumnVector &x, double, const ColumnVector &theta)
inherited

Definition at line 39 of file ODESFunc.h.

typedef Matrix(* ODESFunc::ODES_jsub)(const ColumnVector &x, double, const ColumnVector &theta)
inherited

Definition at line 45 of file ODESFunc.h.

Constructor & Destructor Documentation

ODES::ODES ( void  )
inline

Definition at line 34 of file ODES.h.

ODES::ODES ( const ColumnVector s,
double  tm,
ODESFunc f 
)
inline

Definition at line 37 of file ODES.h.

ODES::ODES ( const ColumnVector s,
const ColumnVector xtheta,
double  tm,
ODESFunc f 
)
inline

Definition at line 40 of file ODES.h.

ODES::ODES ( const ODES a)
inline

Definition at line 45 of file ODES.h.

ODES::~ODES ( void  )
inline

Definition at line 61 of file ODES.h.

Member Function Documentation

ODES_bsub ODESFunc::bsub_function ( void  ) const
inlineinherited

Definition at line 84 of file ODESFunc.h.

void base_diff_eqn::clear_stop_time ( void  )
inlineinherited
virtual std::string base_diff_eqn::error_message ( void  ) const
pure virtualinherited

Implemented in DASRT, DASPK, DASSL, and LSODE.

virtual void base_diff_eqn::force_restart ( void  )
inlinevirtualinherited
ODES_fsub ODESFunc::fsub_function ( void  ) const
inlineinherited

Definition at line 76 of file ODESFunc.h.

void ODES::initialize ( const ColumnVector x,
double  t 
)
void ODES::initialize ( const ColumnVector x,
double  t,
const ColumnVector theta 
)
bool base_diff_eqn::integration_ok ( void  ) const
inlineinherited

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

Referenced by Fdaspk(), Fdasrt(), Fdassl(), and Flsode().

octave_idx_type base_diff_eqn::integration_state ( void  ) const
inlineinherited

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

Referenced by Fdaspk(), Fdasrt(), Fdassl(), and Flsode().

ODES_jsub ODESFunc::jsub_function ( void  ) const
inlineinherited

Definition at line 92 of file ODESFunc.h.

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

Definition at line 48 of file ODES.h.

References base_diff_eqn::operator=(), ODESFunc::operator=(), theta, and xdot.

ColumnVector ODES::parameter_vector ( void  )
inline

Definition at line 63 of file ODES.h.

ODESFunc& ODESFunc::set_bsub_function ( ODES_bsub  b)
inlineinherited

Definition at line 86 of file ODESFunc.h.

ODESFunc& ODESFunc::set_fsub_function ( ODES_fsub  f)
inlineinherited

Definition at line 78 of file ODESFunc.h.

References f.

ODESFunc& ODESFunc::set_jsub_function ( ODES_jsub  j)
inlineinherited

Definition at line 94 of file ODESFunc.h.

void base_diff_eqn::set_stop_time ( double  tt)
inlineinherited
octave_idx_type base_diff_eqn::size ( void  ) const
inlineinherited
ColumnVector base_diff_eqn::state ( void  ) const
inlineinherited

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

References x.

double base_diff_eqn::time ( void  ) const
inlineinherited

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

Member Data Documentation

ODES_bsub ODESFunc::bsub
protectedinherited

Definition at line 103 of file ODESFunc.h.

Referenced by ODESFunc::operator=().

ODES_fsub ODESFunc::fsub
protectedinherited

Definition at line 102 of file ODESFunc.h.

Referenced by ODESFunc::operator=().

bool base_diff_eqn::integration_error
protectedinherited
octave_idx_type base_diff_eqn::istate
protectedinherited
ODES_jsub ODESFunc::jsub
protectedinherited

Definition at line 104 of file ODESFunc.h.

Referenced by ODESFunc::operator=().

bool base_diff_eqn::restart
protectedinherited
double base_diff_eqn::stop_time
protectedinherited
bool base_diff_eqn::stop_time_set
protectedinherited
double base_diff_eqn::t
protectedinherited
ColumnVector ODES::theta
protected

Definition at line 76 of file ODES.h.

Referenced by initialize(), and operator=().

ColumnVector base_diff_eqn::x
protectedinherited
ColumnVector ODES::xdot
protected

Definition at line 73 of file ODES.h.

Referenced by initialize(), and operator=().


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