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

DASRT Class Reference

#include "DASRT.h"

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

List of all members.

Public Types

typedef Matrix(* DAEJacFunc )(const ColumnVector &x, const ColumnVector &xdot, double t, double cj)
typedef ColumnVector(* DAERHSFunc )(const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires)
typedef ColumnVector(* DAERTConstrFunc )(const ColumnVector &x, double t)

Public Member Functions

 DASRT (void)
 DASRT (const ColumnVector &s, double tm, DAERTFunc &f)
 DASRT (const ColumnVector &s, const ColumnVector &deriv, double tm, DAERTFunc &f)
 ~DASRT (void)
void clear_stop_time (void)
DAERTConstrFunc constraint_function (void) const
virtual std::string error_message (void) const =0
std::string error_message (void) const
virtual void force_restart (void)
DAERHSFunc function (void) const
void initialize (const ColumnVector &xx, const ColumnVector &xxdot, double tt)
void initialize (const ColumnVector &x0, double t0)
void initialize (const ColumnVector &x0, const ColumnVector &xdot0, double t0)
DASRT_result integrate (const ColumnVector &tout)
DASRT_result integrate (const ColumnVector &tout, const ColumnVector &tcrit)
bool integration_ok (void) const
octave_idx_type integration_state (void) const
DAEJacFunc jacobian_function (void) const
DAERTFuncset_constraint_function (DAERTConstrFunc cf)
DAEFuncset_function (DAERHSFunc f)
DAEFuncset_jacobian_function (DAEJacFunc j)
void set_stop_time (double tt)
octave_idx_type size (void) const
ColumnVector state (void) const
ColumnVector state_derivative (void)
double time (void) const

Protected Attributes

DAERTConstrFunc constr
DAERHSFunc fun
bool integration_error
octave_idx_type istate
DAEJacFunc jac
bool reset
bool restart
double stop_time
bool stop_time_set
double t
ColumnVector x
ColumnVector xdot

Private Member Functions

void integrate (double t)

Private Attributes

Array< doubleabs_tol
Array< octave_idx_typeinfo
bool initialized
Array< octave_idx_typeiwork
Array< octave_idx_typejroot
octave_idx_type liw
octave_idx_type lrw
octave_idx_type ng
Array< doublerel_tol
Array< doublerwork

Detailed Description

Definition at line 69 of file DASRT.h.


Member Typedef Documentation

typedef Matrix(* DAEFunc::DAEJacFunc)(const ColumnVector &x, const ColumnVector &xdot, double t, double cj) [inherited]

Definition at line 42 of file DAEFunc.h.

typedef ColumnVector(* DAEFunc::DAERHSFunc)(const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires) [inherited]

Definition at line 34 of file DAEFunc.h.

typedef ColumnVector(* DAERTFunc::DAERTConstrFunc)(const ColumnVector &x, double t) [inherited]

Definition at line 33 of file DAERTFunc.h.


Constructor & Destructor Documentation

DASRT::DASRT ( void   )  [inline]

Definition at line 75 of file DASRT.h.

DASRT::DASRT ( const ColumnVector s,
double  tm,
DAERTFunc f 
) [inline]

Definition at line 81 of file DASRT.h.

DASRT::DASRT ( const ColumnVector s,
const ColumnVector deriv,
double  tm,
DAERTFunc f 
) [inline]

Definition at line 87 of file DASRT.h.

DASRT::~DASRT ( void   )  [inline]

Definition at line 94 of file DASRT.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 LSODE::do_integrate(), DASSL::integrate(), integrate(), and DASPK::integrate().

DAERTConstrFunc DAERTFunc::constraint_function ( void   )  const [inline, inherited]

Definition at line 66 of file DAERTFunc.h.

Referenced by integrate().

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

Definition at line 566 of file DASRT.cc.

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

Referenced by DEFUN_DLD().

virtual void base_diff_eqn::force_restart ( void   )  [inline, virtual, inherited]

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

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

DAERHSFunc DAEFunc::function ( void   )  const [inline, inherited]

Definition at line 71 of file DAEFunc.h.

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

void DAERT::initialize ( const ColumnVector xx,
const ColumnVector xxdot,
double  tt 
) [inline, inherited]

Definition at line 57 of file DAERT.h.

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

Reimplemented from base_diff_eqn.

Definition at line 55 of file base-dae.h.

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

Definition at line 61 of file base-dae.h.

void DASRT::integrate ( double  t  )  [private]
DASRT_result DASRT::integrate ( const ColumnVector tout,
const ColumnVector tcrit 
)
DASRT_result DASRT::integrate ( const ColumnVector tout  ) 
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().

DAEJacFunc DAEFunc::jacobian_function ( void   )  const [inline, inherited]

Definition at line 80 of file DAEFunc.h.

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

DAERTFunc& DAERTFunc::set_constraint_function ( DAERTConstrFunc  cf  )  [inline, inherited]

Definition at line 68 of file DAERTFunc.h.

Referenced by DEFUN_DLD().

DAEFunc& DAEFunc::set_function ( DAERHSFunc  f  )  [inline, inherited]

Definition at line 73 of file DAEFunc.h.

DAEFunc& DAEFunc::set_jacobian_function ( DAEJacFunc  j  )  [inline, inherited]

Definition at line 82 of file DAEFunc.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 LSODE::do_integrate(), DASSL::integrate(), 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.

ColumnVector base_diff_alg_eqn::state_derivative ( void   )  [inline, inherited]

Definition at line 68 of file base-dae.h.

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

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


Member Data Documentation

Definition at line 118 of file DASRT.h.

Referenced by integrate().

DAERTConstrFunc DAERTFunc::constr [protected, inherited]

Definition at line 77 of file DAERTFunc.h.

Referenced by DAERTFunc::operator=().

DAERHSFunc DAEFunc::fun [protected, inherited]

Definition at line 91 of file DAEFunc.h.

Referenced by DAEFunc::operator=().

Definition at line 112 of file DASRT.h.

Referenced by integrate().

Definition at line 105 of file DASRT.h.

Referenced by integrate().

bool base_diff_eqn::integration_error [protected, inherited]
octave_idx_type base_diff_eqn::istate [protected, inherited]

Definition at line 113 of file DASRT.h.

Referenced by integrate().

DAEJacFunc DAEFunc::jac [protected, inherited]

Definition at line 92 of file DAEFunc.h.

Referenced by DAEFunc::operator=().

Definition at line 114 of file DASRT.h.

Referenced by integrate().

Definition at line 107 of file DASRT.h.

Referenced by integrate().

Definition at line 108 of file DASRT.h.

Referenced by integrate().

Definition at line 110 of file DASRT.h.

Referenced by integrate().

Definition at line 119 of file DASRT.h.

Referenced by integrate().

bool DAERTFunc::reset [protected, inherited]

Reimplemented from DAEFunc.

Definition at line 84 of file DAERTFunc.h.

Referenced by integrate(), and DAERTFunc::operator=().

bool base_diff_eqn::restart [protected, inherited]

Definition at line 116 of file DASRT.h.

Referenced by 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]
ColumnVector base_diff_alg_eqn::xdot [protected, inherited]

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