naginterfaces.library.ode.dae_​dassl_​linalg

naginterfaces.library.ode.dae_dassl_linalg(neq, ml, mu, comm)[source]

dae_dassl_linalg is a setup function which you must call prior to dae_dassl_gen() and after a call to dae_dassl_setup(), if the Jacobian is to be considered as having a banded structure.

For full information please refer to the NAG Library document for d02np

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/d02/d02npf.html

Parameters
neqint

The number of differential-algebraic equations to be solved.

mlint

, the number of subdiagonals in the band.

muint

, the number of superdiagonals in the band.

commdict, communication object, modified in place

Communication structure.

This argument must have been initialized by a prior call to dae_dassl_setup().

Raises
NagValueError
(errno )

On entry, .

Constraint: .

(errno )

On entry, .

Constraint: .

(errno )

On entry, and .

Constraint: .

(errno )

On entry, .

Constraint: .

(errno )

On entry, and .

Constraint: .

(errno )

Either the initialization function has not been called prior to the first call of this function or the communication array has become corrupted.

(errno )

On entry, is too small: .

Notes

A call to dae_dassl_linalg specifies that the Jacobian to be used is banded in structure. If dae_dassl_linalg is not called before a call to dae_dassl_gen() then the Jacobian is assumed to be full.