GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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) |
Private Member Functions | |
void | integrate (double t) |
Private Attributes | |
Array< double > | abs_tol |
Array< octave_idx_type > | info |
bool | initialized |
Array< octave_idx_type > | iwork |
Array< octave_idx_type > | jroot |
octave_idx_type | liw |
octave_idx_type | lrw |
octave_idx_type | ng |
Array< double > | rel_tol |
Array< double > | rwork |
|
inherited |
|
inherited |
|
inherited |
Definition at line 33 of file DAERTFunc.h.
|
inline |
|
inline |
Definition at line 115 of file DASRT-opts.h.
Referenced by integrate(), print_DASRT_options(), and show_DASRT_options().
|
inlineinherited |
Definition at line 88 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::integrate(), DASSL::integrate(), and integrate().
|
inlineinherited |
Definition at line 66 of file DAERTFunc.h.
Referenced by integrate().
|
virtual |
Implements base_diff_eqn.
Definition at line 566 of file DASRT.cc.
References base_diff_eqn::istate, and base_diff_eqn::t.
Referenced by Fdasrt().
|
inlinevirtualinherited |
Definition at line 94 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::integrate(), DASSL::integrate(), and integrate().
|
inlineinherited |
Definition at line 71 of file DAEFunc.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), and integrate().
|
inlineinherited |
Definition at line 58 of file DASRT-opts.h.
|
inlineinherited |
Definition at line 121 of file DASRT-opts.h.
Referenced by integrate(), print_DASRT_options(), and show_DASRT_options().
|
inlineinherited |
Definition at line 58 of file base-dae.h.
References base_diff_eqn::initialize(), and Array< T >::length().
Referenced by DAERT::initialize().
|
inlineinherited |
Definition at line 61 of file DAERT.h.
References base_diff_alg_eqn::initialize().
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 Fdasrt(), and integrate().
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.
|
private |
Definition at line 154 of file DASRT.cc.
References abs_tol, DASRT_options::absolute_tolerance(), DAERTFunc::constraint_function(), ddasrt(), ddasrt_f(), ddasrt_g(), ddasrt_j(), Array< T >::elem(), F77_XFCN, Array< T >::fortran_vec(), DAEFunc::function(), info, DASRT_options::initial_step_size(), initialized, base_diff_eqn::integration_error, base_diff_eqn::istate, iwork, DAEFunc::jacobian_function(), jroot, Array< T >::length(), liw, lrw, DASRT_options::maximum_order(), DASRT_options::maximum_step_size(), ng, rel_tol, DASRT_options::relative_tolerance(), DAERTFunc::reset, DAEFunc::reset, DASRT_options::reset, Array< T >::resize(), base_diff_eqn::restart, rwork, base_diff_eqn::size(), DASRT_options::step_limit(), 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.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 80 of file DAEFunc.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), and integrate().
|
inlineinherited |
Definition at line 124 of file DASRT-opts.h.
Referenced by integrate(), print_DASRT_options(), and show_DASRT_options().
|
inlineinherited |
Definition at line 127 of file DASRT-opts.h.
Referenced by integrate(), print_DASRT_options(), and show_DASRT_options().
Definition at line 118 of file DASRT-opts.h.
Referenced by integrate(), print_DASRT_options(), and show_DASRT_options().
|
inlineinherited |
Definition at line 84 of file DASRT-opts.h.
Referenced by set_DASRT_options().
Definition at line 91 of file DASRT-opts.h.
|
inlineinherited |
Definition at line 68 of file DAERTFunc.h.
Referenced by Fdasrt().
|
inlineinherited |
Definition at line 82 of file DASRT-opts.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 104 of file DASRT-opts.h.
Referenced by set_DASRT_options().
|
inlineinherited |
|
inlineinherited |
Definition at line 107 of file DASRT-opts.h.
Referenced by set_DASRT_options().
|
inlineinherited |
Definition at line 110 of file DASRT-opts.h.
Referenced by set_DASRT_options().
|
inlineinherited |
Definition at line 71 of file DASRT-opts.h.
References DASRT_options::reset, DASRT_options::x_absolute_tolerance, DASRT_options::x_initial_step_size, DASRT_options::x_maximum_order, DASRT_options::x_maximum_step_size, DASRT_options::x_relative_tolerance, and DASRT_options::x_step_limit.
Referenced by Fdasrt().
|
inlineinherited |
Definition at line 94 of file DASRT-opts.h.
Referenced by set_DASRT_options().
Definition at line 101 of file DASRT-opts.h.
|
inlineinherited |
Definition at line 113 of file DASRT-opts.h.
Referenced by set_DASRT_options().
|
inlineinherited |
Definition at line 81 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::integrate(), DASSL::integrate(), and integrate().
|
inlineinherited |
Definition at line 75 of file base-de.h.
References x.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASPK::integrate(), DASSL::integrate(), and integrate().
|
inlineinherited |
|
inlineinherited |
Definition at line 71 of file base-dae.h.
|
inlineinherited |
Definition at line 130 of file DASRT-opts.h.
Referenced by integrate(), print_DASRT_options(), and show_DASRT_options().
Definition at line 118 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 77 of file DAERTFunc.h.
Referenced by DAERTFunc::operator=().
|
protectedinherited |
Definition at line 91 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 112 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 105 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 114 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), DASPK::integrate(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 116 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::error_message(), DASSL::error_message(), DASPK::error_message(), error_message(), integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 113 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 92 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 114 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 107 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 108 of file DASRT.h.
Referenced by integrate().
|
private |
Definition at line 110 of file DASRT.h.
Referenced by integrate().
Definition at line 119 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
Definition at line 84 of file DAERTFunc.h.
Referenced by integrate(), and DAERTFunc::operator=().
|
protectedinherited |
Definition at line 144 of file DASRT-opts.h.
Referenced by integrate(), DASRT_options::operator=(), and DASRT_options::set_options().
|
protectedinherited |
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=().
Definition at line 116 of file DASRT.h.
Referenced by integrate().
|
protectedinherited |
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=().
|
protectedinherited |
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=().
|
protectedinherited |
Definition at line 106 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), LSODE::error_message(), DASSL::error_message(), DASPK::error_message(), error_message(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 104 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), DASPK::integrate(), integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 75 of file base-dae.h.
Referenced by DASPK::do_integrate(), DASSL::do_integrate(), DASSL::integrate(), DASPK::integrate(), integrate(), and base_diff_alg_eqn::operator=().