GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "LSODE.h"
Public Types | |
typedef Matrix(* | ODEJacFunc )(const ColumnVector &, double) |
typedef ColumnVector(* | ODERHSFunc )(const ColumnVector &, double) |
Protected Attributes | |
ODERHSFunc | fun |
bool | integration_error |
octave_idx_type | istate |
ODEJacFunc | jac |
bool | reset |
bool | reset |
bool | restart |
double | stop_time |
bool | stop_time_set |
double | t |
ColumnVector | x |
|
inherited |
|
inherited |
|
inline |
Definition at line 132 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
Definition at line 88 of file base-de.h.
Referenced by do_integrate(), DASPK::integrate(), DASSL::integrate(), and DASRT::integrate().
|
virtual |
Implements ODE.
Definition at line 115 of file LSODE.cc.
References abs_tol, LSODE_options::absolute_tolerance(), dlsode(), F77_XFCN, Array< T >::fortran_vec(), LSODE_options::initial_step_size(), initialized, base_diff_eqn::integration_error, LSODE_options::integration_method(), iopt, base_diff_eqn::istate, itask, itol, iwork, ODEFunc::jac, ODEFunc::jacobian_function(), Array< T >::length(), liw, lrw, lsode_f(), lsode_j(), LSODE_options::maximum_order(), LSODE_options::maximum_step_size(), maxord, method_flag, LSODE_options::minimum_step_size(), nn, rel_tol, LSODE_options::relative_tolerance(), ODEFunc::reset, LSODE_options::reset, Array< T >::resize(), base_diff_eqn::restart, rwork, base_diff_eqn::size(), LSODE_options::step_limit(), base_diff_eqn::stop_time, base_diff_eqn::stop_time_set, base_diff_eqn::t, user_fun, user_jac, and base_diff_eqn::x.
Referenced by do_integrate().
|
virtual |
Implements ODE.
Definition at line 382 of file LSODE.cc.
References Array< T >::capacity(), do_integrate(), Array< T >::elem(), base_diff_eqn::integration_error, Matrix::resize(), base_diff_eqn::size(), and base_diff_eqn::x.
|
virtual |
Implements ODE.
Definition at line 412 of file LSODE.cc.
References Array< T >::capacity(), base_diff_eqn::clear_stop_time(), do_integrate(), Array< T >::elem(), base_diff_eqn::force_restart(), base_diff_eqn::integration_error, Matrix::resize(), base_diff_eqn::set_stop_time(), base_diff_eqn::size(), and base_diff_eqn::x.
|
virtual |
Implements base_diff_eqn.
Definition at line 316 of file LSODE.cc.
References base_diff_eqn::istate, and base_diff_eqn::t.
Referenced by Flsode().
Definition at line 94 of file base-de.h.
Referenced by do_integrate(), DASPK::integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 64 of file LSODE-opts.h.
Definition at line 141 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
|
inlineinherited |
Reimplemented in ODES, and base_diff_alg_eqn.
Definition at line 66 of file base-de.h.
References x.
Referenced by base_diff_alg_eqn::initialize().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Definition at line 77 of file ODE.h.
References initialize().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Definition at line 90 of file ODE.h.
References initialize().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Definition at line 105 of file ODE.h.
References initialize().
|
inlineinherited |
Definition at line 138 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
|
inlineinherited |
|
inlineinherited |
Definition at line 71 of file ODEFunc.h.
Referenced by do_integrate().
|
inlineinherited |
Definition at line 144 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
Definition at line 147 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
Definition at line 150 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
Definition at line 135 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
Definition at line 93 of file LSODE-opts.h.
Referenced by set_LSODE_options().
Definition at line 100 of file LSODE-opts.h.
Definition at line 91 of file LSODE-opts.h.
|
inlineinherited |
Definition at line 118 of file LSODE-opts.h.
Referenced by set_LSODE_options().
|
inlineinherited |
Definition at line 106 of file LSODE-opts.h.
References current_liboctave_error_handler.
Referenced by set_LSODE_options().
|
inlineinherited |
|
inlineinherited |
Definition at line 121 of file LSODE-opts.h.
Referenced by set_LSODE_options().
Definition at line 124 of file LSODE-opts.h.
Referenced by set_LSODE_options().
Definition at line 127 of file LSODE-opts.h.
Referenced by set_LSODE_options().
|
inlineinherited |
Definition at line 78 of file LSODE-opts.h.
References LSODE_options::reset, LSODE_options::x_absolute_tolerance, LSODE_options::x_initial_step_size, LSODE_options::x_integration_method, LSODE_options::x_maximum_order, LSODE_options::x_maximum_step_size, LSODE_options::x_minimum_step_size, LSODE_options::x_relative_tolerance, and LSODE_options::x_step_limit.
Referenced by Flsode().
Definition at line 103 of file LSODE-opts.h.
Referenced by set_LSODE_options().
|
inlineinherited |
Definition at line 130 of file LSODE-opts.h.
Referenced by set_LSODE_options().
Definition at line 81 of file base-de.h.
Referenced by do_integrate(), DASPK::integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
Definition at line 75 of file base-de.h.
References x.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASPK::integrate(), DASSL::integrate(), and DASRT::integrate().
|
inlineinherited |
|
inlineinherited |
Definition at line 153 of file LSODE-opts.h.
Referenced by do_integrate(), print_LSODE_options(), and show_LSODE_options().
Definition at line 75 of file LSODE.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 82 of file ODEFunc.h.
Referenced by ODEFunc::operator=().
|
private |
Definition at line 59 of file LSODE.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 114 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), DASPK::integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 64 of file LSODE.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 116 of file base-de.h.
Referenced by do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), error_message(), DASSL::error_message(), DASPK::error_message(), DASRT::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
|
private |
Definition at line 63 of file LSODE.h.
Referenced by do_integrate().
|
private |
Definition at line 65 of file LSODE.h.
Referenced by do_integrate().
|
private |
Definition at line 70 of file LSODE.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 83 of file ODEFunc.h.
Referenced by do_integrate(), and ODEFunc::operator=().
|
private |
Definition at line 67 of file LSODE.h.
Referenced by do_integrate().
|
private |
Definition at line 68 of file LSODE.h.
Referenced by do_integrate().
|
private |
Definition at line 62 of file LSODE.h.
Referenced by do_integrate().
|
private |
Definition at line 61 of file LSODE.h.
Referenced by do_integrate().
|
private |
Definition at line 73 of file LSODE.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 90 of file ODEFunc.h.
Referenced by do_integrate(), and ODEFunc::operator=().
|
protectedinherited |
Definition at line 169 of file LSODE-opts.h.
Referenced by do_integrate(), LSODE_options::operator=(), and LSODE_options::set_options().
|
protectedinherited |
Definition at line 112 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
Definition at line 71 of file LSODE.h.
Referenced by do_integrate().
|
protectedinherited |
Definition at line 108 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::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(), DASPK::do_integrate(), DASRT::integrate(), and base_diff_eqn::operator=().
|
protectedinherited |
Definition at line 106 of file base-de.h.
Referenced by do_integrate(), DASPK::do_integrate(), DASSL::do_integrate(), error_message(), DASSL::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 do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), DASPK::integrate(), DASRT::integrate(), and base_diff_eqn::operator=().