|
GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <string>#include <iomanip>#include <iostream>#include "DASPK.h"#include "defun.h"#include "error.h"#include "gripes.h"#include "oct-obj.h"#include "ov-fcn.h"#include "ov-cell.h"#include "pager.h"#include "unwind-prot.h"#include "utils.h"#include "variables.h"#include "DASPK-opts.cc"
Go to the source code of this file.
Macros | |
| #define | DASPK_ABORT() return retval |
| #define | DASPK_ABORT1(msg) |
| #define | DASPK_ABORT2(fmt, arg) |
Functions | |
| ColumnVector | daspk_user_function (const ColumnVector &x, const ColumnVector &xdot, double t, octave_idx_type &ires) |
| Matrix | daspk_user_jacobian (const ColumnVector &x, const ColumnVector &xdot, double t, double cj) |
| OCTAVE_EXPORT octave_value_list | Fdaspk (const octave_value_list &args, int nargout) |
Variables | |
| static int | call_depth = 0 |
| static octave_function * | daspk_fcn |
| static octave_function * | daspk_jac |
| static bool | warned_fcn_imaginary = false |
| static bool | warned_jac_imaginary = false |
| #define DASPK_ABORT | ( | ) | return retval |
| #define DASPK_ABORT1 | ( | msg | ) |
Definition at line 157 of file daspk.cc.
Referenced by Fdaspk().
| #define DASPK_ABORT2 | ( | fmt, | |
| arg | |||
| ) |
| ColumnVector daspk_user_function | ( | const ColumnVector & | x, |
| const ColumnVector & | xdot, | ||
| double | t, | ||
| octave_idx_type & | ires | ||
| ) |
Definition at line 61 of file daspk.cc.
References Array< T >::capacity(), octave_base_value::do_multi_index_op(), error_state, gripe_user_supplied_eval(), octave_value_list::length(), Array< T >::length(), warned_fcn_imaginary, warning(), and x.
Referenced by Fdaspk().
| Matrix daspk_user_jacobian | ( | const ColumnVector & | x, |
| const ColumnVector & | xdot, | ||
| double | t, | ||
| double | cj | ||
| ) |
Definition at line 109 of file daspk.cc.
References Array< T >::capacity(), octave_base_value::do_multi_index_op(), error_state, gripe_user_supplied_eval(), octave_value_list::length(), Array< T >::length(), warned_jac_imaginary, warning(), and x.
Referenced by Fdaspk().
| OCTAVE_EXPORT octave_value_list Fdaspk | ( | const octave_value_list & | args, |
| int | nargout | ||
| ) |
Definition at line 272 of file daspk.cc.
References octave_value::all_strings(), Array< T >::capacity(), octave_value::cell_value(), clear_function(), DASPK_ABORT, DASPK_ABORT1, daspk_opts, daspk_user_function(), daspk_user_jacobian(), error(), DASPK::error_message(), error_state, extract_function(), octave_value::function_value(), DASPK::integrate(), base_diff_eqn::integration_ok(), base_diff_eqn::integration_state(), octave_value::is_cell(), octave_value::is_function_handle(), octave_value::is_inline_function(), Array< T >::length(), print_usage(), action_container::protect_var(), octave_value::rows(), DAEFunc::set_jacobian_function(), DASPK_options::set_options(), state, unique_symbol_name(), warned_fcn_imaginary, and warned_jac_imaginary.
|
static |
Definition at line 58 of file daspk.cc.
Referenced by octave_user_function::active_context().
|
static |
|
static |
|
static |
Definition at line 54 of file daspk.cc.
Referenced by daspk_user_function(), and Fdaspk().
|
static |
Definition at line 55 of file daspk.cc.
Referenced by daspk_user_jacobian(), and Fdaspk().
1.8.8