#include <string>
#include <iomanip>
#include <iostream>
#include "DASPK.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
#include "ov-fcn.h"
#include "ov-cell.h"
#include "pager.h"
#include "parse.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "DASPK-opts.cc"
Go to the source code of this file.
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 (octave::interpreter &interp, const octave_value_list &args, int nargout) ar |
Variables | |
ar {istate} | |
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 |
ColumnVector daspk_user_function | ( | const ColumnVector & | x, |
const ColumnVector & | xdot, | ||
double | t, | ||
octave_idx_type & | ires | ||
) |
Definition at line 62 of file daspk.cc.
References daspk_fcn, e, err_user_supplied_eval(), octave::feval(), octave_value::isempty(), Array< T >::numel(), retval, t, tmp, 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 111 of file daspk.cc.
References daspk_jac, e, err_user_supplied_eval(), octave::feval(), octave_value::isempty(), Array< T >::numel(), retval, t, tmp, warned_jac_imaginary, warning(), and x.
Referenced by Fdaspk().
OCTAVE_EXPORT octave_value_list Fdaspk | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 258 of file daspk.cc.
References c, call_depth, octave_value::cell_value(), octave::symbol_table::clear_function(), daspk_fcn, daspk_jac, daspk_user_function(), daspk_user_jacobian(), error(), DASPK::error_message(), extract_function(), fname, frame, octave_value::function_value(), DASPK::integrate(), base_diff_eqn::integration_ok(), base_diff_eqn::integration_state(), octave_value::is_function_handle(), octave_value::is_inline_function(), octave_value::iscell(), nargout(), Array< T >::numel(), print_usage(), octave::action_container::protect_var(), retval, octave_value::rows(), DAEFunc::set_jacobian_function(), state, string, octave_value::string_vector_value(), tmp, unique_symbol_name(), warned_fcn_imaginary, and warned_jac_imaginary.
|
static |
Definition at line 59 of file daspk.cc.
Referenced by octave_user_function::active_context(), and Fdaspk().
|
static |
Definition at line 49 of file daspk.cc.
Referenced by daspk_user_function(), and Fdaspk().
|
static |
Definition at line 52 of file daspk.cc.
Referenced by daspk_user_jacobian(), and Fdaspk().
Definition at line 55 of file daspk.cc.
Referenced by daspk_user_function(), and Fdaspk().