Public Types | Public Member Functions | Protected Attributes

ODES Class Reference

#include "ODES.h"

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

List of all members.

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 ODES &a)
 ODES (const ColumnVector &s, const ColumnVector &xtheta, double tm, ODESFunc &f)
 ~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)
void initialize (const ColumnVector &x0, double t0)
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 [inline, inherited]

Definition at line 84 of file ODESFunc.h.

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

Definition at line 76 of file ODESFunc.h.

void ODES::initialize ( const ColumnVector x,
double  t 
)

Definition at line 31 of file ODES.cc.

References ColumnVector::ColumnVector(), Array< T >::length(), and xdot.

Referenced by initialize().

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.

void ODES::initialize ( const ColumnVector x,
double  t,
const ColumnVector theta 
)

Definition at line 38 of file ODES.cc.

References ColumnVector::ColumnVector(), initialize(), Array< T >::length(), theta, and xdot.

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().

ODES_jsub ODESFunc::jsub_function ( void   )  const [inline, inherited]

Definition at line 92 of file ODESFunc.h.

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

Definition at line 48 of file ODES.h.

References ODESFunc::operator=(), base_diff_eqn::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  )  [inline, inherited]

Definition at line 86 of file ODESFunc.h.

ODESFunc& ODESFunc::set_fsub_function ( ODES_fsub  f  )  [inline, inherited]

Definition at line 78 of file ODESFunc.h.

ODESFunc& ODESFunc::set_jsub_function ( ODES_jsub  j  )  [inline, inherited]

Definition at line 94 of file ODESFunc.h.

void base_diff_eqn::set_stop_time ( double  tt  )  [inline, inherited]
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

ODES_bsub ODESFunc::bsub [protected, inherited]

Definition at line 103 of file ODESFunc.h.

Referenced by ODESFunc::operator=().

ODES_fsub ODESFunc::fsub [protected, inherited]

Definition at line 102 of file ODESFunc.h.

Referenced by ODESFunc::operator=().

bool base_diff_eqn::integration_error [protected, inherited]
octave_idx_type base_diff_eqn::istate [protected, inherited]
ODES_jsub ODESFunc::jsub [protected, inherited]

Definition at line 104 of file ODESFunc.h.

Referenced by ODESFunc::operator=().

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

Definition at line 76 of file ODES.h.

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

ColumnVector base_diff_eqn::x [protected, inherited]
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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines