Navigation

Operators and Keywords

Function List:

C++ API

DASRT-opts.cc File Reference

#include <iomanip>
#include <iostream>
#include "DASRT-opts.h"
#include "defun-dld.h"
#include "pr-output.h"
#include "oct-obj.h"
#include "utils.h"
#include "pager.h"

Include dependency graph for DASRT-opts.cc:

This graph shows which files directly or indirectly include this file:


Classes

struct  DASRT_options_struct

Defines

#define MAX_TOKENS   3
#define NUM_OPTIONS   6

Functions

 DEFUN_DLD (dasrt_options, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} dasrt_options (@var{opt}, @var{val})\n\ When called with two arguments, this function\n\ allows you set options parameters for the function @code{dasrt}.\n\ Given one argument, @code{dasrt_options} returns the value of the\n\ corresponding option. If no arguments are supplied, the names of all\n\ the available options and their current values are displayed.\n\ \n\ Options include\n\ \n\ @table @code\n\ @item \"absolute tolerance\"\n\ Absolute tolerance. May be either vector or scalar. If a vector, it\n\ must match the dimension of the state vector, and the relative\n\ tolerance must also be a vector of the same length.\n\ @item \"relative tolerance\"\n\ Relative tolerance. May be either vector or scalar. If a vector, it\n\ must match the dimension of the state vector, and the absolute\n\ tolerance must also be a vector of the same length.\n\ \n\ The local error test applied at each integration step is\n\ @example\n\ @group\n\ abs (local error in x(i)) <= ...\n\ rtol(i) * abs (Y(i)) + atol(i)\n\ @end group\n\ @end example\n\ @item \"initial step size\"\n\ Differential-algebraic problems may occasionally suffer from severe\n\ scaling difficulties on the first step. If you know a great deal\n\ about the scaling of your problem, you can help to alleviate this\n\ problem by specifying an initial stepsize.\n\ @item \"maximum order\"\n\ Restrict the maximum order of the solution method. This option must\n\ be between 1 and 5, inclusive.\n\ @item \"maximum step size\"\n\ Setting the maximum stepsize will avoid passing over very large\n\ regions.\n\ @item \"step limit\"\n\ Maximum number of integration steps to attempt on a single call to the\n\ underlying Fortran code.\n\ @end table\n\ @end deftypefn")

Define Documentation

#define MAX_TOKENS   3

#define NUM_OPTIONS   6


Function Documentation

DEFUN_DLD ( dasrt_options  ,
args   
)