#include "DASRT.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) |
typedef ColumnVector(* | DAERTConstrFunc) (const ColumnVector &x, double t) |
Protected Attributes | |
DAERTConstrFunc | m_constr |
DAERHSFunc | m_fcn |
bool | m_integration_error |
octave_idx_type | m_istate |
DAEJacFunc | m_jac |
bool | m_reset |
bool | m_restart |
double | m_stop_time |
bool | m_stop_time_set |
double | m_t |
ColumnVector | m_x |
ColumnVector | m_xdot |
Private Member Functions | |
void | integrate (double t) |
Private Attributes | |
Array< double > | m_abs_tol |
Array< octave_f77_int_type > | m_info |
bool | m_initialized |
Array< octave_f77_int_type > | m_iwork |
Array< octave_f77_int_type > | m_jroot |
octave_f77_int_type | m_liw |
octave_f77_int_type | m_lrw |
octave_f77_int_type | m_ng |
Array< double > | m_rel_tol |
Array< double > | m_rwork |
|
inherited |
|
inherited |
|
inherited |
Definition at line 38 of file DAERTFunc.h.
|
inline |
|
inline |
|
default |
|
inlineinherited |
Definition at line 92 of file base-de.h.
Referenced by LSODE::do_integrate(), integrate(), DASPK::integrate(), and DASSL::integrate().
|
inlineinherited |
Definition at line 71 of file DAERTFunc.h.
Referenced by integrate().
|
virtual |
Implements base_diff_eqn.
Definition at line 554 of file DASRT.cc.
References base_diff_eqn::m_istate, and base_diff_eqn::m_t.
Referenced by DEFMETHOD().
|
inlinevirtualinherited |
Definition at line 98 of file base-de.h.
Referenced by LSODE::do_integrate(), integrate(), DASPK::integrate(), and DASSL::integrate().
|
inlineinherited |
Definition at line 75 of file DAEFunc.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), and integrate().
|
inlineinherited |
Definition at line 63 of file base-dae.h.
References ColumnVector, base_diff_eqn::initialize(), and Array< T, Alloc >::numel().
Referenced by DAERT::initialize().
|
inlineinherited |
Definition at line 66 of file DAERT.h.
References base_diff_alg_eqn::initialize().
DASRT_result DASRT::integrate | ( | const ColumnVector & | tout | ) |
Definition at line 376 of file DASRT.cc.
References base_diff_eqn::m_integration_error, base_diff_eqn::m_istate, base_diff_eqn::m_t, base_diff_eqn::m_x, base_diff_alg_eqn::m_xdot, n, Array< T, Alloc >::numel(), ColumnVector::resize(), Matrix::resize(), and base_diff_eqn::size().
Referenced by DEFMETHOD(), and integrate().
DASRT_result DASRT::integrate | ( | const ColumnVector & | tout, |
const ColumnVector & | tcrit | ||
) |
Definition at line 435 of file DASRT.cc.
References base_diff_eqn::clear_stop_time(), base_diff_eqn::force_restart(), integrate(), base_diff_eqn::m_integration_error, base_diff_eqn::m_istate, base_diff_eqn::m_t, base_diff_eqn::m_x, base_diff_alg_eqn::m_xdot, n, Array< T, Alloc >::numel(), ColumnVector::resize(), Matrix::resize(), base_diff_eqn::set_stop_time(), and base_diff_eqn::size().
|
private |
Definition at line 139 of file DASRT.cc.
References DAERTFunc::constraint_function(), ddasrt(), ddasrt_f(), ddasrt_g(), ddasrt_j(), Array< T, Alloc >::elem(), F77_XFCN, Array< T, Alloc >::fortran_vec(), DAEFunc::function(), DAEFunc::jacobian_function(), m_abs_tol, m_info, m_initialized, base_diff_eqn::m_integration_error, base_diff_eqn::m_istate, m_iwork, m_jroot, m_liw, m_lrw, m_ng, m_rel_tol, DAEFunc::m_reset, DAERTFunc::m_reset, base_diff_eqn::m_restart, m_rwork, base_diff_eqn::m_stop_time, base_diff_eqn::m_stop_time_set, base_diff_eqn::m_t, base_diff_eqn::m_x, base_diff_alg_eqn::m_xdot, n, nn, Array< T, Alloc >::numel(), Array< T, Alloc >::resize(), base_diff_eqn::size(), user_csub, user_fsub, and user_jsub.
|
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 84 of file DAEFunc.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), and integrate().
|
inlineinherited |
Definition at line 73 of file DAERTFunc.h.
Referenced by DEFMETHOD().
|
inlineinherited |
|
inlineinherited |
Definition at line 86 of file DAEFunc.h.
Referenced by DEFMETHOD().
|
inlineinherited |
Definition at line 85 of file base-de.h.
Referenced by LSODE::do_integrate(), integrate(), DASPK::integrate(), and DASSL::integrate().
|
inlineinherited |
Definition at line 79 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASPK::integrate(), DASSL::integrate(), and integrate().
|
inlineinherited |
|
inlineinherited |
Definition at line 76 of file base-dae.h.
|
private |
Definition at line 124 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 82 of file DAERTFunc.h.
Referenced by DAERTFunc::operator=().
|
protectedinherited |
Definition at line 95 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 118 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 111 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 118 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASPK::integrate(), DASSL::integrate(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 120 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASPK::error_message(), error_message(), DASSL::error_message(), LSODE::error_message(), integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 119 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 96 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 120 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 113 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 114 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 116 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 125 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 89 of file DAERTFunc.h.
Referenced by integrate(), and DAERTFunc::operator=().
|
protectedinherited |
Definition at line 116 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 122 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 112 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 114 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 110 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASPK::error_message(), error_message(), DASSL::error_message(), LSODE::error_message(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 108 of file base-de.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), LSODE::do_integrate(), DASPK::integrate(), DASSL::integrate(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 80 of file base-dae.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), DASPK::integrate(), DASSL::integrate(), integrate(), and base_diff_alg_eqn::operator=().