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

DASPK Class Reference

#include "DASPK.h"

Inheritance diagram for DASPK:
Inheritance graph
[legend]
Collaboration diagram for DASPK:
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)

Public Member Functions

 DASPK (void)
 DASPK (const ColumnVector &s, double tm, DAEFunc &f)
 DASPK (const ColumnVector &s, const ColumnVector &deriv, double tm, DAEFunc &f)
 ~DASPK (void)
void clear_stop_time (void)
ColumnVector do_integrate (double t)
Matrix do_integrate (const ColumnVector &tout)
Matrix do_integrate (const ColumnVector &tout, const ColumnVector &tcrit)
std::string error_message (void) const
virtual std::string error_message (void) const =0
virtual void force_restart (void)
DAERHSFunc function (void) const
void initialize (const ColumnVector &x0, double t0)
void initialize (const ColumnVector &x0, const ColumnVector &xdot0, double t0)
Matrix integrate (const ColumnVector &tout, Matrix &xdot_out)
Matrix integrate (const ColumnVector &tout, Matrix &xdot_out, const ColumnVector &tcrit)
bool integration_ok (void) const
octave_idx_type integration_state (void) const
DAEJacFunc jacobian_function (void) const
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

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 Attributes

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

Detailed Description

Definition at line 31 of file DASPK.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.


Constructor & Destructor Documentation

DASPK::DASPK ( void   )  [inline]

Definition at line 37 of file DASPK.h.

DASPK::DASPK ( const ColumnVector s,
double  tm,
DAEFunc f 
) [inline]

Definition at line 41 of file DASPK.h.

DASPK::DASPK ( const ColumnVector s,
const ColumnVector deriv,
double  tm,
DAEFunc f 
) [inline]

Definition at line 45 of file DASPK.h.

DASPK::~DASPK ( void   )  [inline]

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

Matrix DASPK::do_integrate ( const ColumnVector tout  ) 

Definition at line 530 of file DASPK.cc.

References integrate().

ColumnVector DASPK::do_integrate ( double  t  ) 
Matrix DASPK::do_integrate ( const ColumnVector tout,
const ColumnVector tcrit 
)

Definition at line 574 of file DASPK.cc.

References integrate().

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

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

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

Definition at line 71 of file DAEFunc.h.

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

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

Matrix DASPK::integrate ( const ColumnVector tout,
Matrix xdot_out 
)
Matrix DASPK::integrate ( const ColumnVector tout,
Matrix xdot_out,
const ColumnVector tcrit 
)
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(), do_integrate(), and DASRT::integrate().

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(), DASRT::integrate(), and 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 78 of file DASPK.h.

Referenced by do_integrate().

DAERHSFunc DAEFunc::fun [protected, inherited]

Definition at line 91 of file DAEFunc.h.

Referenced by DAEFunc::operator=().

Definition at line 73 of file DASPK.h.

Referenced by do_integrate().

Definition at line 68 of file DASPK.h.

Referenced by do_integrate().

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

Definition at line 74 of file DASPK.h.

Referenced by do_integrate().

DAEJacFunc DAEFunc::jac [protected, inherited]

Definition at line 92 of file DAEFunc.h.

Referenced by DAEFunc::operator=().

Definition at line 70 of file DASPK.h.

Referenced by do_integrate().

Definition at line 71 of file DASPK.h.

Referenced by do_integrate().

Definition at line 79 of file DASPK.h.

Referenced by do_integrate().

bool DAEFunc::reset [protected, inherited]

Reimplemented in DAERTFunc.

Definition at line 99 of file DAEFunc.h.

Referenced by DASSL::do_integrate(), do_integrate(), DASRT::integrate(), and DAEFunc::operator=().

bool base_diff_eqn::restart [protected, inherited]

Definition at line 76 of file DASPK.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]
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