GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Functions | Variables
DASSL-opts.cc File Reference
#include <iomanip>
#include <iostream>
#include "DASSL-opts.h"
#include "defun.h"
#include "pr-output.h"
#include "ovl.h"
#include "utils.h"
#include "pager.h"
Include dependency graph for DASSL-opts.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DASSL_options_struct
 

Macros

#define MAX_TOKENS   4
 
#define NUM_OPTIONS   8
 

Functions

OCTAVE_EXPORT
octave_value_list return the
value of the option it must
match the dimension of the
state and the relative
tolerance must also be a
vector of the same length tem
it must match the dimension of
the state and the absolute
tolerance must also be a
vector of the same length The
local error test applied at
each integration step is
xample roup 
abs (local error in x(i))<
 
OCTAVE_EXPORT octave_value_list Fdassl_options (const octave_value_list &args, int) the names of all available options and their current values are displayed.Given one argument
 
static void print_DASSL_options (std::ostream &os)
 
static void set_DASSL_options (const std::string &keyword, const octave_value &val)
 
static octave_value_list show_DASSL_options (const std::string &keyword)
 

Variables

OCTAVE_EXPORT
octave_value_list return the
value of the option 
ar {opt}. When called with two arguments
 
OCTAVE_EXPORT
octave_value_list return the
value of the option it must
match the dimension of the
state and the relative
tolerance must also be a
vector of the same length tem 
code {"relative tolerance"} Relative tolerance. May be either vector or scalar. If a vector
 
static DASSL_options_struct DASSL_options_table []
 
static DASSL_options dassl_opts
 
OCTAVE_EXPORT
octave_value_list return the
value of the option it must
match the dimension of the
state and the relative
tolerance must also be a
vector of the same length tem
it must match the dimension of
the state and the absolute
tolerance must also be a
vector of the same length The
local error test applied at
each integration step is
xample roup so it is best to
provide a consistent set and
leave this option set to zero
tem it may help to set this
parameter to a nonzero value
it is probably best to try
leaving this option set to
zero 
first
 
OCTAVE_EXPORT
octave_value_list return the
value of the option it must
match the dimension of the
state and the relative
tolerance must also be a
vector of the same length tem
it must match the dimension of
the state and the absolute
tolerance must also be a
vector of the same length The
local error test applied at
each integration step is
xample roup so it is best to
provide a consistent set and
leave this option set to zero
tem it may help to set this
parameter to a nonzero value 
However
 
OCTAVE_EXPORT
octave_value_list return the
value of the option 
ode {dassl_options} sets the option ar{opt} to value ar{val}. Options include able sis tem code{"absolute tolerance"} Absolute tolerance. May be either vector or scalar. If a vector
 
OCTAVE_EXPORT
octave_value_list return the
value of the option it must
match the dimension of the
state and the relative
tolerance must also be a
vector of the same length tem
it must match the dimension of
the state and the absolute
tolerance must also be a
vector of the same length The
local error test applied at
each integration step is
xample roup so it is best to
provide a consistent set and
leave this option set to zero
tem it may help to set this
parameter to a nonzero value
it is probably best to try
leaving this option set to
zero and only setting it to a
nonzero value if that doesn t
work very well item 
qcode {"initial step size"} Differential-algebraic problems may occasionally suffer from severe scaling difficulties on the first step. If you know a great deal about the scaling of your problem
 
OCTAVE_EXPORT
octave_value_list return the
value of the option it must
match the dimension of the
state 
vector
 

Macro Definition Documentation

#define MAX_TOKENS   4

Definition at line 22 of file DASSL-opts.cc.

Referenced by set_DASSL_options(), and show_DASSL_options().

#define NUM_OPTIONS   8

Definition at line 32 of file DASSL-opts.cc.

Function Documentation

OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup abs ( local error in   xi)
OCTAVE_EXPORT octave_value_list Fdassl_options ( const octave_value_list args,
int   
)

Referenced by install_DASSL_opts_fcns().

static void print_DASSL_options ( std::ostream &  os)
static
static void set_DASSL_options ( const std::string keyword,
const octave_value val 
)
static
static octave_value_list show_DASSL_options ( const std::string keyword)
static

Variable Documentation

OCTAVE_EXPORT octave_value_list return the value of the option ar {opt}. When called with two arguments

Definition at line 419 of file DASSL-opts.cc.

OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem code {"relative tolerance"} Relative tolerance. May be either vector or scalar. If a vector

Definition at line 419 of file DASSL-opts.cc.

DASSL_options_struct DASSL_options_table[]
static

Definition at line 34 of file DASSL-opts.cc.

Referenced by print_DASSL_options(), set_DASSL_options(), and show_DASSL_options().

DASSL_options dassl_opts
static

Definition at line 20 of file DASSL-opts.cc.

Referenced by DEFUN().

OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value it is probably best to try leaving this option set to zero first
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value However

Definition at line 419 of file DASSL-opts.cc.

OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup ode {dassl_options} sets the option ar{opt} to value ar{val}. Options include able sis tem code{"absolute tolerance"} Absolute tolerance. May be either vector or scalar. If a vector

Definition at line 419 of file DASSL-opts.cc.

OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup so it is best to provide a consistent set and leave this option set to zero tem it may help to set this parameter to a nonzero value it is probably best to try leaving this option set to zero and only setting it to a nonzero value if that doesn t work very well item you can help to alleviate this problem by specifying an initial stepsize item qcode {"initial step size"} Differential-algebraic problems may occasionally suffer from severe scaling difficulties on the first step. If you know a great deal about the scaling of your problem

Definition at line 419 of file DASSL-opts.cc.

OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state vector

Definition at line 419 of file DASSL-opts.cc.