GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 | 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 188 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
|
inlineinherited |
Definition at line 209 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 88 of file base-de.h.
Referenced by LSODE::do_integrate(), integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 194 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
ColumnVector DASPK::do_integrate | ( | double | t | ) |
Definition at line 156 of file DASPK.cc.
References abs_tol, DASPK_options::absolute_tolerance(), DASPK_options::algebraic_variables(), DASPK_options::compute_consistent_initial_condition(), ddaspk(), ddaspk_f(), ddaspk_j(), ddaspk_psol(), DASPK_options::enforce_inequality_constraints(), DASPK_options::exclude_algebraic_variables_from_error_test(), F77_XFCN, Array< T >::fortran_vec(), DAEFunc::function(), DASPK_options::inequality_constraint_types(), info, DASPK_options::initial_condition_heuristics(), DASPK_options::initial_step_size(), initialized, base_diff_eqn::integration_error, base_diff_eqn::istate, iwork, DAEFunc::jacobian_function(), Array< T >::length(), liw, lrw, DASPK_options::maximum_order(), DASPK_options::maximum_step_size(), NINTbig(), DASPK_options::print_initial_condition_info(), rel_tol, DASPK_options::relative_tolerance(), DAEFunc::reset, DASPK_options::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, DASPK_options::use_initial_condition_heuristics(), user_fun, user_jac, base_diff_eqn::x, and base_diff_alg_eqn::xdot.
Referenced by integrate().
Matrix DASPK::do_integrate | ( | const ColumnVector & | tout | ) |
Definition at line 530 of file DASPK.cc.
References integrate().
Matrix DASPK::do_integrate | ( | const ColumnVector & | tout, |
const ColumnVector & | tcrit | ||
) |
Definition at line 574 of file DASPK.cc.
References integrate().
|
inlineinherited |
Definition at line 212 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
|
virtual |
Implements base_diff_eqn.
Definition at line 685 of file DASPK.cc.
References base_diff_eqn::istate, and base_diff_eqn::t.
Referenced by Fdaspk().
|
inlineinherited |
Definition at line 206 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 94 of file base-de.h.
Referenced by LSODE::do_integrate(), integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 71 of file DAEFunc.h.
Referenced by do_integrate(), DASSL::do_integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 215 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 79 of file DASPK-opts.h.
References pow().
Definition at line 200 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 218 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_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 DASPK::integrate | ( | const ColumnVector & | tout, |
Matrix & | xdot_out | ||
) |
Definition at line 537 of file DASPK.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(), Fdaspk(), and integrate().
Matrix DASPK::integrate | ( | const ColumnVector & | tout, |
Matrix & | xdot_out, | ||
const ColumnVector & | tcrit | ||
) |
Definition at line 581 of file DASPK.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 do_integrate(), DASSL::do_integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 221 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 224 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
|
inlineinherited |
Definition at line 203 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 191 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 122 of file DASPK-opts.h.
Referenced by set_DASPK_options().
Definition at line 129 of file DASPK-opts.h.
Definition at line 157 of file DASPK-opts.h.
Referenced by set_DASPK_options().
|
inlineinherited |
Definition at line 164 of file DASPK-opts.h.
|
inlineinherited |
Definition at line 142 of file DASPK-opts.h.
Referenced by set_DASPK_options().
Definition at line 120 of file DASPK-opts.h.
|
inlineinherited |
Definition at line 167 of file DASPK-opts.h.
Referenced by set_DASPK_options().
|
inlineinherited |
Definition at line 154 of file DASPK-opts.h.
Referenced by set_DASPK_options().
|
inlineinherited |
|
inlineinherited |
Definition at line 170 of file DASPK-opts.h.
Referenced by set_DASPK_options().
|
inlineinherited |
Definition at line 177 of file DASPK-opts.h.
Definition at line 148 of file DASPK-opts.h.
Referenced by set_DASPK_options().
Definition at line 180 of file DASPK-opts.h.
Referenced by set_DASPK_options().
|
inlineinherited |
|
inlineinherited |
Definition at line 183 of file DASPK-opts.h.
Referenced by set_DASPK_options().
Definition at line 186 of file DASPK-opts.h.
Referenced by set_DASPK_options().
|
inlineinherited |
Definition at line 102 of file DASPK-opts.h.
References DASPK_options::reset, DASPK_options::x_absolute_tolerance, DASPK_options::x_algebraic_variables, DASPK_options::x_compute_consistent_initial_condition, DASPK_options::x_enforce_inequality_constraints, DASPK_options::x_exclude_algebraic_variables_from_error_test, DASPK_options::x_inequality_constraint_types, DASPK_options::x_initial_condition_heuristics, DASPK_options::x_initial_step_size, DASPK_options::x_maximum_order, DASPK_options::x_maximum_step_size, DASPK_options::x_print_initial_condition_info, DASPK_options::x_relative_tolerance, and DASPK_options::x_use_initial_condition_heuristics.
Referenced by Fdaspk().
|
inlineinherited |
Definition at line 151 of file DASPK-opts.h.
Referenced by set_DASPK_options().
Definition at line 132 of file DASPK-opts.h.
References Array< T >::resize().
Referenced by set_DASPK_options().
Definition at line 139 of file DASPK-opts.h.
Definition at line 81 of file base-de.h.
Referenced by LSODE::do_integrate(), integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 145 of file DASPK-opts.h.
Referenced by set_DASPK_options().
|
inlineinherited |
Definition at line 75 of file base-de.h.
References x.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
|
inlineinherited |
Definition at line 71 of file base-dae.h.
|
inlineinherited |
Definition at line 197 of file DASPK-opts.h.
Referenced by do_integrate(), print_DASPK_options(), and show_DASPK_options().
Definition at line 78 of file DASPK.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 DASPK.h.
Referenced by do_integrate().
|
private |
Definition at line 68 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 114 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), integrate(), DASSL::integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 116 of file base-de.h.
Referenced by LSODE::do_integrate(), do_integrate(), DASSL::do_integrate(), LSODE::error_message(), DASSL::error_message(), error_message(), DASRT::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 74 of file DASPK.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 DASPK.h.
Referenced by do_integrate().
|
private |
Definition at line 71 of file DASPK.h.
Referenced by do_integrate().
Definition at line 79 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 99 of file DAEFunc.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASRT::integrate(), and DAEFunc::operator=().
|
protectedinherited |
Definition at line 245 of file DASPK-opts.h.
Referenced by do_integrate(), DASPK_options::operator=(), and DASPK_options::set_options().
|
protectedinherited |
Definition at line 112 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
Definition at line 76 of file DASPK.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 108 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 110 of file base-de.h.
Referenced by LSODE::do_integrate(), DASSL::do_integrate(), do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 106 of file base-de.h.
Referenced by LSODE::do_integrate(), do_integrate(), DASSL::do_integrate(), LSODE::error_message(), DASSL::error_message(), 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(), DASSL::do_integrate(), do_integrate(), integrate(), DASSL::integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 75 of file base-dae.h.
Referenced by do_integrate(), DASSL::do_integrate(), integrate(), DASSL::integrate(), DASRT::integrate(), and base_diff_alg_eqn::operator=().