d02mwc is a setup function which must be called prior to the integrator
d02nec, if the DASSL implementation of Backward Differentiation Formulae (BDF) is to be used.
This integrator setup function must be called before the first call to the integrator
d02nec.
d02mwc permits you to define options for the DASSL integrator, such as: whether the Jacobian is to be provided or is to be approximated numerically by the integrator; the initial and maximum step-sizes for the integration; whether relative and absolute tolerances are system wide or per system equation; and the maximum order of BDF method permitted.
None.
Not applicable.
Background information to multithreading can be found in the
Multithreading documentation.
None.
This example solves the plane pendulum problem, defined by the following equations:
Differentiating the algebraic constraint once, a new algebraic constraint is obtained
Differentiating the algebraic constraint one more time, substituting for
,
,
,
and using
, the corresponding DAE system includes the differential equations and the algebraic equation in
:
We solve the reformulated DAE system
For our experiments, we take consistent initial values
at
.
None.