#include "DASRT.h"
Definition at line 69 of file DASRT.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] |
typedef ColumnVector(* DAERTFunc::DAERTConstrFunc)(const ColumnVector &x, double t) [inherited] |
Definition at line 33 of file DAERTFunc.h.
DASRT::DASRT | ( | const ColumnVector & | s, | |
double | tm, | |||
DAERTFunc & | f | |||
) | [inline] |
DASRT::DASRT | ( | const ColumnVector & | s, | |
const ColumnVector & | deriv, | |||
double | tm, | |||
DAERTFunc & | 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(), 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] |
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] |
Definition at line 154 of file DASRT.cc.
References abs_tol, DAERTFunc::constraint_function(), DDASRT(), ddasrt_f(), ddasrt_g(), ddasrt_j(), Array< T >::elem(), F77_XFCN, Array< T >::fortran_vec(), DAEFunc::function(), info, initialized, base_diff_eqn::integration_error, base_diff_eqn::istate, iwork, DAEFunc::jacobian_function(), jroot, Array< T >::length(), liw, lrw, ng, rel_tol, DAERTFunc::reset, 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_csub, user_fsub, user_jsub, base_diff_eqn::x, and base_diff_alg_eqn::xdot.
DASRT_result DASRT::integrate | ( | const ColumnVector & | tout, | |
const ColumnVector & | tcrit | |||
) |
Definition at line 447 of file DASRT.cc.
References Array< T >::capacity(), base_diff_eqn::clear_stop_time(), base_diff_eqn::force_restart(), integrate(), base_diff_eqn::integration_error, base_diff_eqn::istate, ColumnVector::resize(), Matrix::resize(), base_diff_eqn::set_stop_time(), base_diff_eqn::size(), base_diff_eqn::t, base_diff_eqn::x, and base_diff_alg_eqn::xdot.
DASRT_result DASRT::integrate | ( | const ColumnVector & | tout | ) |
Definition at line 388 of file DASRT.cc.
References Array< T >::capacity(), base_diff_eqn::integration_error, base_diff_eqn::istate, ColumnVector::resize(), Matrix::resize(), base_diff_eqn::size(), base_diff_eqn::t, base_diff_eqn::x, and base_diff_alg_eqn::xdot.
Referenced by DEFUN_DLD(), and integrate().
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] |
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] |
Definition at line 75 of file base-de.h.
References x.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), integrate(), and DASPK::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> DASRT::abs_tol [private] |
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=().
Array<octave_idx_type> DASRT::info [private] |
Definition at line 112 of file DASRT.h.
Referenced by integrate().
bool DASRT::initialized [private] |
Definition at line 105 of file DASRT.h.
Referenced by 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(), DASPK::do_integrate(), DASSL::integrate(), integrate(), DASPK::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(), DASPK::do_integrate(), LSODE::error_message(), DASSL::error_message(), error_message(), DASPK::error_message(), integrate(), and base_diff_eqn::operator=().
Array<octave_idx_type> DASRT::iwork [private] |
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=().
Array<octave_idx_type> DASRT::jroot [private] |
Definition at line 114 of file DASRT.h.
Referenced by integrate().
octave_idx_type DASRT::liw [private] |
Definition at line 107 of file DASRT.h.
Referenced by integrate().
octave_idx_type DASRT::lrw [private] |
Definition at line 108 of file DASRT.h.
Referenced by integrate().
octave_idx_type DASRT::ng [private] |
Definition at line 110 of file DASRT.h.
Referenced by integrate().
Array<double> DASRT::rel_tol [private] |
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 112 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), integrate(), and base_diff_eqn::operator=().
Array<double> DASRT::rwork [private] |
Definition at line 116 of file DASRT.h.
Referenced by 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(), DASPK::do_integrate(), 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(), DASPK::do_integrate(), 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(), DASPK::do_integrate(), LSODE::error_message(), DASSL::error_message(), error_message(), DASPK::error_message(), 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(), DASPK::do_integrate(), DASSL::integrate(), integrate(), DASPK::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(), DASPK::do_integrate(), DASSL::integrate(), integrate(), and DASPK::integrate().