#include "DASPK.h"
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) |
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< double > | abs_tol |
Array< octave_f77_int_type > | info |
bool | initialized |
Array< octave_f77_int_type > | iwork |
octave_f77_int_type | liw |
octave_f77_int_type | lrw |
Array< double > | rel_tol |
Array< double > | rwork |
|
inherited |
|
inherited |
|
inline |
|
inline |
|
default |
|
inlineinherited |
Definition at line 92 of file base-de.h.
Referenced by LSODE::do_integrate(), DASRT::integrate(), integrate(), and DASSL::integrate().
Matrix DASPK::do_integrate | ( | const ColumnVector & | tout | ) |
Definition at line 539 of file DASPK.cc.
References integrate().
Matrix DASPK::do_integrate | ( | const ColumnVector & | tout, |
const ColumnVector & | tcrit | ||
) |
Definition at line 583 of file DASPK.cc.
References integrate().
ColumnVector DASPK::do_integrate | ( | double | t | ) |
Definition at line 141 of file DASPK.cc.
References abs_tol, current_liboctave_error_handler, 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(), liw, lrw, n, octave::math::nint_big(), nn, Array< T >::numel(), rel_tol, DAEFunc::reset, Array< T >::resize(), base_diff_eqn::restart, retval, 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().
|
virtual |
Implements base_diff_eqn.
Definition at line 694 of file DASPK.cc.
References base_diff_eqn::istate, retval, and base_diff_eqn::t.
Referenced by DEFMETHOD().
|
inlinevirtualinherited |
Definition at line 98 of file base-de.h.
Referenced by LSODE::do_integrate(), DASRT::integrate(), integrate(), and DASSL::integrate().
|
inlineinherited |
Definition at line 76 of file DAEFunc.h.
Referenced by do_integrate(), DASSL::do_integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 69 of file base-dae.h.
References base_diff_eqn::initialize().
|
inlineinherited |
Definition at line 63 of file base-dae.h.
References base_diff_eqn::initialize(), and Array< T >::numel().
Referenced by DAERT::initialize().
Matrix DASPK::integrate | ( | const ColumnVector & | tout, |
Matrix & | xdot_out | ||
) |
Definition at line 546 of file DASPK.cc.
References do_integrate(), Array< T >::elem(), base_diff_eqn::integration_error, n, Array< T >::numel(), Array< T >::resize(), Matrix::resize(), retval, base_diff_eqn::size(), base_diff_eqn::x, and base_diff_alg_eqn::xdot.
Referenced by DEFMETHOD(), do_integrate(), and integrate().
Matrix DASPK::integrate | ( | const ColumnVector & | tout, |
Matrix & | xdot_out, | ||
const ColumnVector & | tcrit | ||
) |
Definition at line 590 of file DASPK.cc.
References base_diff_eqn::clear_stop_time(), do_integrate(), Array< T >::elem(), base_diff_eqn::force_restart(), integrate(), base_diff_eqn::integration_error, n, Array< T >::numel(), Array< T >::resize(), Matrix::resize(), retval, base_diff_eqn::set_stop_time(), base_diff_eqn::size(), base_diff_eqn::x, and base_diff_alg_eqn::xdot.
|
inlineinherited |
Definition at line 100 of file base-de.h.
Referenced by DEFMETHOD().
|
inlineinherited |
Definition at line 102 of file base-de.h.
Referenced by DEFMETHOD().
|
inlineinherited |
Definition at line 85 of file DAEFunc.h.
Referenced by do_integrate(), DASSL::do_integrate(), and DASRT::integrate().
|
inlineinherited |
|
inlineinherited |
Definition at line 87 of file DAEFunc.h.
Referenced by DEFMETHOD().
|
inlineinherited |
Definition at line 85 of file base-de.h.
Referenced by LSODE::do_integrate(), DASRT::integrate(), integrate(), and DASSL::integrate().
|
inlineinherited |
Definition at line 79 of file base-de.h.
References x.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
|
inlineinherited |
Definition at line 76 of file base-dae.h.
|
private |
Definition at line 85 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 96 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 80 of file DASPK.h.
Referenced by do_integrate().
|
private |
Definition at line 75 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 118 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), integrate(), DASSL::integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 120 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), error_message(), DASRT::error_message(), DASSL::error_message(), LSODE::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 81 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 97 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 77 of file DASPK.h.
Referenced by do_integrate().
|
private |
Definition at line 78 of file DASPK.h.
Referenced by do_integrate().
|
private |
Definition at line 86 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 104 of file DAEFunc.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASRT::integrate(), and DAEFunc::operator=().
|
protectedinherited |
Definition at line 116 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 83 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 112 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 114 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 110 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), error_message(), DASRT::error_message(), DASSL::error_message(), LSODE::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 108 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), integrate(), DASSL::integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 80 of file base-dae.h.
Referenced by do_integrate(), DASSL::do_integrate(), integrate(), DASSL::integrate(), DASRT::integrate(), and base_diff_alg_eqn::operator=().