Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - Français

Change language to:
English - 日本語 - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Aide Scilab >> Equations Differentielles > daeoptions

daeoptions

set options for dae solver

Calling Sequence

daeoptions()

Description

If it exists in the dae function calling context the variable %DAEOPTIONS the dae function use it to sets options.

This daeoptions function interactively displays a command which should be executed to set various options of the dae solver.

CAUTION: the dae function checks if this variable exists and in this case it uses it. For using default values you should clear this variable. Note that daeoptions does not create this variable. To create it you must execute the command line displayed by daeoptions.

The variable %DAEOPTIONS is a list with the following elements:

list(tstop,imode,band,maxstep,stepin,nonneg,isest)

The default value is:

list([],0,[],[],[],0,0)

The meaning of the elements is described below.

tstop

a real scalar or an empty matrix, gives the maximum time for which gis allowed to be evaluated. An empty matrix means "no limits" imposed for time.

imode

if it is 0 dae returns only the user specified time point values if it is 1 dae returns its intermediate computed values.

band

a two components vector which give the definition [ml,mu] of band matrix computed by jac ;

r(i - j + ml + mu + 1,j) = dg(i)/dy(j)+cj*dg(i)/dydot(j) . If jac returns a full matrix set band=[]

maxstep

A scalar or an empty matrix, the maximum step size, empty matrix means "no limitation".

stepin

A scalar or an empty matrix, the minimum step size, empty matrix means "not specified".

nonneg

A scalar, must be set to 0 if the solution is known to be non negative. In the other case it must be set to 1.

isest

A scalar, must be set to 0 is the given initial condition is compatible: g(t0,x0,xdot0)=0. 1 an set to 1 if xdot0 is just an estimation.

See Also

  • dae — Differential algebraic equations solver
<< dae Equations Differentielles dasrt >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 11:00:02 CET 2011