#include "DASPK.h"
Definition at line 31 of file DASPK.h.
typedef Matrix(* DAEFunc::DAEJacFunc)(const ColumnVector &x, const ColumnVector &xdot, double t, double cj) [inherited] |
typedef ColumnVector(* DAEFunc::DAERHSFunc)(const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires) [inherited] |
DASPK::DASPK | ( | const ColumnVector & | s, | |
double | tm, | |||
DAEFunc & | f | |||
) | [inline] |
DASPK::DASPK | ( | const ColumnVector & | s, | |
const ColumnVector & | deriv, | |||
double | tm, | |||
DAEFunc & | f | |||
) | [inline] |
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 | ) |
Definition at line 156 of file DASPK.cc.
References abs_tol, DDASPK(), ddaspk_f(), ddaspk_j(), ddaspk_psol(), F77_XFCN, Array< T >::fortran_vec(), DAEFunc::function(), info, initialized, base_diff_eqn::integration_error, base_diff_eqn::istate, iwork, DAEFunc::jacobian_function(), Array< T >::length(), liw, lrw, NINTbig(), rel_tol, DAEFunc::reset, Array< T >::resize(), base_diff_eqn::restart, rwork, base_diff_eqn::size(), base_diff_eqn::stop_time, base_diff_eqn::stop_time_set, base_diff_eqn::t, user_fun, user_jac, base_diff_eqn::x, and base_diff_alg_eqn::xdot.
Referenced by integrate().
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 | |||
) |
Definition at line 537 of file DASPK.cc.
References Array< T >::capacity(), do_integrate(), Array< T >::elem(), base_diff_eqn::integration_error, Matrix::resize(), base_diff_eqn::size(), base_diff_eqn::x, and base_diff_alg_eqn::xdot.
Referenced by DEFUN_DLD(), do_integrate(), and integrate().
Matrix DASPK::integrate | ( | const ColumnVector & | tout, | |
Matrix & | xdot_out, | |||
const ColumnVector & | tcrit | |||
) |
Definition at line 581 of file DASPK.cc.
References Array< T >::capacity(), base_diff_eqn::clear_stop_time(), do_integrate(), Array< T >::elem(), base_diff_eqn::force_restart(), integrate(), base_diff_eqn::integration_error, Matrix::resize(), base_diff_eqn::set_stop_time(), base_diff_eqn::size(), base_diff_eqn::x, and base_diff_alg_eqn::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().
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] |
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] |
Definition at line 75 of file base-de.h.
References x.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASSL::integrate(), DASRT::integrate(), and integrate().
ColumnVector base_diff_eqn::state | ( | void | ) | const [inline, inherited] |
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] |
Array<double> DASPK::abs_tol [private] |
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=().
Array<octave_idx_type> DASPK::info [private] |
Definition at line 73 of file DASPK.h.
Referenced by do_integrate().
bool DASPK::initialized [private] |
Definition at line 68 of file DASPK.h.
Referenced by do_integrate().
bool base_diff_eqn::integration_error [protected, inherited] |
Definition at line 114 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASSL::integrate(), DASRT::integrate(), integrate(), and base_diff_eqn::operator=().
octave_idx_type base_diff_eqn::istate [protected, inherited] |
Definition at line 116 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), LSODE::error_message(), DASSL::error_message(), DASRT::error_message(), error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
Array<octave_idx_type> DASPK::iwork [private] |
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=().
octave_idx_type DASPK::liw [private] |
Definition at line 70 of file DASPK.h.
Referenced by do_integrate().
octave_idx_type DASPK::lrw [private] |
Definition at line 71 of file DASPK.h.
Referenced by do_integrate().
Array<double> DASPK::rel_tol [private] |
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 112 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
Array<double> DASPK::rwork [private] |
Definition at line 76 of file DASPK.h.
Referenced by do_integrate().
double base_diff_eqn::stop_time [protected, inherited] |
Definition at line 108 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
bool base_diff_eqn::stop_time_set [protected, inherited] |
Definition at line 110 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
double base_diff_eqn::t [protected, inherited] |
Definition at line 106 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), LSODE::error_message(), DASSL::error_message(), DASRT::error_message(), error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
ColumnVector base_diff_eqn::x [protected, inherited] |
Definition at line 104 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASSL::integrate(), DASRT::integrate(), integrate(), and base_diff_eqn::operator=().
ColumnVector base_diff_alg_eqn::xdot [protected, inherited] |
Definition at line 72 of file base-dae.h.
Referenced by DASSL::do_integrate(), do_integrate(), DASSL::integrate(), DASRT::integrate(), and integrate().