GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "DASSL.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 | reset |
bool | restart |
double | stop_time |
bool | stop_time_set |
double | t |
ColumnVector | x |
ColumnVector | xdot |
Private Attributes | |
Array< double > | abs_tol |
Array< octave_idx_type > | info |
bool | initialized |
Array< octave_idx_type > | iwork |
octave_idx_type | liw |
octave_idx_type | lrw |
Array< double > | rel_tol |
Array< double > | rwork |
|
inherited |
|
inherited |
|
inline |
|
inline |
Definition at line 129 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
Definition at line 88 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::integrate(), integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 135 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
ColumnVector DASSL::do_integrate | ( | double | t | ) |
Definition at line 130 of file DASSL.cc.
References abs_tol, DASSL_options::absolute_tolerance(), DASSL_options::compute_consistent_initial_condition(), ddassl(), ddassl_f(), ddassl_j(), DASSL_options::enforce_nonnegativity_constraints(), F77_XFCN, Array< T >::fortran_vec(), DAEFunc::function(), info, DASSL_options::initial_step_size(), initialized, base_diff_eqn::integration_error, base_diff_eqn::istate, iwork, DAEFunc::jacobian_function(), Array< T >::length(), liw, lrw, DASSL_options::maximum_order(), DASSL_options::maximum_step_size(), rel_tol, DASSL_options::relative_tolerance(), DAEFunc::reset, DASSL_options::reset, Array< T >::resize(), base_diff_eqn::restart, rwork, base_diff_eqn::size(), DASSL_options::step_limit(), 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 DASSL::do_integrate | ( | const ColumnVector & | tout | ) |
Definition at line 345 of file DASSL.cc.
References integrate().
Matrix DASSL::do_integrate | ( | const ColumnVector & | tout, |
const ColumnVector & | tcrit | ||
) |
Definition at line 389 of file DASSL.cc.
References integrate().
|
inlineinherited |
Definition at line 138 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
|
virtual |
Implements base_diff_eqn.
Definition at line 500 of file DASSL.cc.
References base_diff_eqn::istate, and base_diff_eqn::t.
Referenced by Fdassl().
Definition at line 94 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::integrate(), integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 71 of file DAEFunc.h.
Referenced by DASPK::do_integrate(), do_integrate(), and DASRT::integrate().
Definition at line 64 of file DASSL-opts.h.
Definition at line 141 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
|
inlineinherited |
Reimplemented from base_diff_eqn.
Definition at line 58 of file base-dae.h.
References base_diff_eqn::initialize(), and Array< T >::length().
Referenced by DAERT::initialize().
|
inlineinherited |
Reimplemented in DAERT.
Definition at line 64 of file base-dae.h.
References base_diff_eqn::initialize().
Matrix DASSL::integrate | ( | const ColumnVector & | tout, |
Matrix & | xdot_out | ||
) |
Definition at line 352 of file DASSL.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 do_integrate(), Fdassl(), and integrate().
Matrix DASSL::integrate | ( | const ColumnVector & | tout, |
Matrix & | xdot_out, | ||
const ColumnVector & | tcrit | ||
) |
Definition at line 396 of file DASSL.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.
|
inlineinherited |
|
inlineinherited |
Definition at line 80 of file DAEFunc.h.
Referenced by DASPK::do_integrate(), do_integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 144 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
Definition at line 147 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
Definition at line 132 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
Definition at line 92 of file DASSL-opts.h.
Referenced by set_DASSL_options().
Definition at line 99 of file DASSL-opts.h.
|
inlineinherited |
Definition at line 112 of file DASSL-opts.h.
Referenced by set_DASSL_options().
Definition at line 90 of file DASSL-opts.h.
|
inlineinherited |
Definition at line 115 of file DASSL-opts.h.
Referenced by set_DASSL_options().
|
inlineinherited |
Definition at line 118 of file DASSL-opts.h.
Referenced by set_DASSL_options().
|
inlineinherited |
|
inlineinherited |
Definition at line 121 of file DASSL-opts.h.
Referenced by set_DASSL_options().
Definition at line 124 of file DASSL-opts.h.
Referenced by set_DASSL_options().
|
inlineinherited |
Definition at line 77 of file DASSL-opts.h.
References DASSL_options::reset, DASSL_options::x_absolute_tolerance, DASSL_options::x_compute_consistent_initial_condition, DASSL_options::x_enforce_nonnegativity_constraints, DASSL_options::x_initial_step_size, DASSL_options::x_maximum_order, DASSL_options::x_maximum_step_size, DASSL_options::x_relative_tolerance, and DASSL_options::x_step_limit.
Referenced by Fdassl().
Definition at line 102 of file DASSL-opts.h.
References Array< T >::resize().
Referenced by set_DASSL_options().
Definition at line 109 of file DASSL-opts.h.
|
inlineinherited |
Definition at line 127 of file DASSL-opts.h.
Referenced by set_DASSL_options().
Definition at line 81 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::integrate(), integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 75 of file base-de.h.
References x.
Referenced by LSODE::do_integrate(), do_integrate(), DASPK::do_integrate(), DASPK::integrate(), integrate(), and DASRT::integrate().
|
inlineinherited |
|
inlineinherited |
Definition at line 71 of file base-dae.h.
|
inlineinherited |
Definition at line 150 of file DASSL-opts.h.
Referenced by do_integrate(), print_DASSL_options(), and show_DASSL_options().
Definition at line 78 of file DASSL.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 91 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 73 of file DASSL.h.
Referenced by do_integrate().
|
private |
Definition at line 68 of file DASSL.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 114 of file base-de.h.
Referenced by LSODE::do_integrate(), do_integrate(), DASPK::do_integrate(), DASPK::integrate(), integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 116 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::do_integrate(), do_integrate(), LSODE::error_message(), error_message(), DASPK::error_message(), DASRT::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 74 of file DASSL.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 92 of file DAEFunc.h.
Referenced by DAEFunc::operator=().
|
private |
Definition at line 70 of file DASSL.h.
Referenced by do_integrate().
|
private |
Definition at line 71 of file DASSL.h.
Referenced by do_integrate().
Definition at line 79 of file DASSL.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 99 of file DAEFunc.h.
Referenced by DASPK::do_integrate(), do_integrate(), DASRT::integrate(), and DAEFunc::operator=().
|
protectedinherited |
Definition at line 166 of file DASSL-opts.h.
Referenced by do_integrate(), DASSL_options::operator=(), and DASSL_options::set_options().
|
protectedinherited |
Definition at line 112 of file base-de.h.
Referenced by LSODE::do_integrate(), do_integrate(), DASPK::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
Definition at line 76 of file DASSL.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 108 of file base-de.h.
Referenced by LSODE::do_integrate(), do_integrate(), DASPK::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 110 of file base-de.h.
Referenced by LSODE::do_integrate(), do_integrate(), DASPK::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 106 of file base-de.h.
Referenced by LSODE::do_integrate(), DASPK::do_integrate(), do_integrate(), LSODE::error_message(), error_message(), DASPK::error_message(), DASRT::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 104 of file base-de.h.
Referenced by LSODE::do_integrate(), do_integrate(), DASPK::do_integrate(), DASPK::integrate(), integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 75 of file base-dae.h.
Referenced by DASPK::do_integrate(), do_integrate(), DASPK::integrate(), integrate(), DASRT::integrate(), and base_diff_alg_eqn::operator=().