nag_dae_ivp_dassl_setup (d02mwc) is a setup function which must be called prior to the integrator
nag_dae_ivp_dassl_gen (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
nag_dae_ivp_dassl_gen (d02nec). nag_dae_ivp_dassl_setup (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.
Not applicable.
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.