#include "LSODE.h"
Definition at line 31 of file LSODE.h.
typedef Matrix(* ODEFunc::ODEJacFunc)(const ColumnVector &, double) [inherited] |
typedef ColumnVector(* ODEFunc::ODERHSFunc)(const ColumnVector &, double) [inherited] |
LSODE::LSODE | ( | const ColumnVector & | s, | |
double | tm, | |||
const ODEFunc & | f | |||
) | [inline] |
void base_diff_eqn::clear_stop_time | ( | void | ) | [inline, inherited] |
Definition at line 88 of file base-de.h.
Referenced by do_integrate(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().
ColumnVector LSODE::do_integrate | ( | double | t | ) |
Definition at line 114 of file LSODE.cc.
References abs_tol, DLSODE(), F77_XFCN, Array< T >::fortran_vec(), ODEFunc::function(), initialized, base_diff_eqn::integration_error, iopt, base_diff_eqn::istate, itask, itol, iwork, ODEFunc::jac, ODEFunc::jacobian_function(), Array< T >::length(), liw, lrw, lsode_f(), lsode_j(), maxord, method_flag, nn, rel_tol, ODEFunc::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, user_fun, user_jac, and base_diff_eqn::x.
Referenced by do_integrate().
Matrix LSODE::do_integrate | ( | const ColumnVector & | tout | ) |
Definition at line 381 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 ColumnVector ODE::do_integrate | ( | double | tt | ) | [pure virtual, inherited] |
Matrix LSODE::do_integrate | ( | const ColumnVector & | tout, | |
const ColumnVector & | tcrit | |||
) |
Definition at line 411 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 Matrix ODE::do_integrate | ( | const ColumnVector & | tt | ) | [pure virtual, inherited] |
virtual Matrix ODE::do_integrate | ( | const ColumnVector & | tt, | |
const ColumnVector & | ttcrit | |||
) | [pure virtual, inherited] |
std::string LSODE::error_message | ( | void | ) | const |
Definition at line 315 of file LSODE.cc.
References base_diff_eqn::istate, and base_diff_eqn::t.
Referenced by DEFUN_DLD().
virtual std::string base_diff_eqn::error_message | ( | void | ) | const [pure virtual, inherited] |
virtual void base_diff_eqn::force_restart | ( | void | ) | [inline, virtual, inherited] |
Definition at line 94 of file base-de.h.
Referenced by do_integrate(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().
ODERHSFunc ODEFunc::function | ( | void | ) | const [inline, inherited] |
Definition at line 62 of file ODEFunc.h.
Referenced by do_integrate().
void base_diff_eqn::initialize | ( | const ColumnVector & | x0, | |
double | t0 | |||
) | [inline, inherited] |
virtual ColumnVector ODE::integrate | ( | double | tt | ) | [inline, virtual, inherited] |
Definition at line 69 of file ODE.h.
Referenced by DEFUN_DLD().
virtual ColumnVector ODE::integrate | ( | const ColumnVector & | x0, | |
double | t0, | |||
double | tt | |||
) | [inline, virtual, inherited] |
virtual Matrix ODE::integrate | ( | const ColumnVector & | tt | ) | [inline, virtual, inherited] |
virtual Matrix ODE::integrate | ( | const ColumnVector & | x0, | |
double | t0, | |||
const ColumnVector & | tt | |||
) | [inline, virtual, inherited] |
virtual Matrix ODE::integrate | ( | const ColumnVector & | tt, | |
const ColumnVector & | ttcrit | |||
) | [inline, virtual, inherited] |
virtual Matrix ODE::integrate | ( | const ColumnVector & | x0, | |
double | t0, | |||
const ColumnVector & | tt, | |||
const ColumnVector & | ttcrit | |||
) | [inline, virtual, inherited] |
bool base_diff_eqn::integration_ok | ( | void | ) | const [inline, inherited] |
Definition at line 96 of file base-de.h.
Referenced by DEFUN_DLD().
octave_idx_type base_diff_eqn::integration_state | ( | void | ) | const [inline, inherited] |
Definition at line 98 of file base-de.h.
Referenced by DEFUN_DLD().
ODEJacFunc ODEFunc::jacobian_function | ( | void | ) | const [inline, inherited] |
Definition at line 71 of file ODEFunc.h.
Referenced by do_integrate().
ODEFunc& ODEFunc::set_function | ( | ODERHSFunc | f | ) | [inline, inherited] |
ODEFunc& ODEFunc::set_jacobian_function | ( | ODEJacFunc | j | ) | [inline, inherited] |
Definition at line 73 of file ODEFunc.h.
Referenced by DEFUN_DLD().
void base_diff_eqn::set_stop_time | ( | double | tt | ) | [inline, inherited] |
Definition at line 81 of file base-de.h.
Referenced by do_integrate(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().
octave_idx_type base_diff_eqn::size | ( | void | ) | const [inline, inherited] |
Definition at line 75 of file base-de.h.
References x.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), DASRT::integrate(), and DASPK::integrate().
ColumnVector base_diff_eqn::state | ( | void | ) | const [inline, inherited] |
double base_diff_eqn::time | ( | void | ) | const [inline, inherited] |
Array<double> LSODE::abs_tol [private] |
Definition at line 75 of file LSODE.h.
Referenced by do_integrate().
ODERHSFunc ODEFunc::fun [protected, inherited] |
Definition at line 82 of file ODEFunc.h.
Referenced by ODEFunc::operator=().
bool LSODE::initialized [private] |
Definition at line 59 of file LSODE.h.
Referenced by do_integrate().
bool base_diff_eqn::integration_error [protected, inherited] |
Definition at line 114 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), DASRT::integrate(), DASPK::integrate(), and base_diff_eqn::operator=().
octave_idx_type LSODE::iopt [private] |
Definition at line 64 of file LSODE.h.
Referenced by do_integrate().
octave_idx_type base_diff_eqn::istate [protected, inherited] |
Definition at line 116 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), error_message(), DASSL::error_message(), DASRT::error_message(), DASPK::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
octave_idx_type LSODE::itask [private] |
Definition at line 63 of file LSODE.h.
Referenced by do_integrate().
octave_idx_type LSODE::itol [private] |
Definition at line 65 of file LSODE.h.
Referenced by do_integrate().
Array<octave_idx_type> LSODE::iwork [private] |
Definition at line 70 of file LSODE.h.
Referenced by do_integrate().
ODEJacFunc ODEFunc::jac [protected, inherited] |
Definition at line 83 of file ODEFunc.h.
Referenced by do_integrate(), and ODEFunc::operator=().
octave_idx_type LSODE::liw [private] |
Definition at line 67 of file LSODE.h.
Referenced by do_integrate().
octave_idx_type LSODE::lrw [private] |
Definition at line 68 of file LSODE.h.
Referenced by do_integrate().
octave_idx_type LSODE::maxord [private] |
Definition at line 62 of file LSODE.h.
Referenced by do_integrate().
octave_idx_type LSODE::method_flag [private] |
Definition at line 61 of file LSODE.h.
Referenced by do_integrate().
double LSODE::rel_tol [private] |
Definition at line 73 of file LSODE.h.
Referenced by do_integrate().
bool ODEFunc::reset [protected, inherited] |
Definition at line 90 of file ODEFunc.h.
Referenced by do_integrate(), and ODEFunc::operator=().
bool base_diff_eqn::restart [protected, inherited] |
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=().
Array<double> LSODE::rwork [private] |
Definition at line 71 of file LSODE.h.
Referenced by do_integrate().
double base_diff_eqn::stop_time [protected, inherited] |
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=().
bool base_diff_eqn::stop_time_set [protected, inherited] |
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=().
double base_diff_eqn::t [protected, inherited] |
Definition at line 106 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), error_message(), DASSL::error_message(), DASRT::error_message(), DASPK::error_message(), DASRT::integrate(), and base_diff_eqn::operator=().
ColumnVector base_diff_eqn::x [protected, inherited] |
Definition at line 104 of file base-de.h.
Referenced by do_integrate(), DASSL::do_integrate(), DASPK::do_integrate(), DASSL::integrate(), DASRT::integrate(), DASPK::integrate(), and base_diff_eqn::operator=().