# NAG Library Function Document

## 1Purpose

nag_dae_ivp_dassl_cont (d02mcc) is a setup function which must be called prior to a continuation call to nag_dae_ivp_dassl_gen (d02nec).

## 2Specification

 #include #include
 void nag_dae_ivp_dassl_cont (Integer icom[])

## 3Description

nag_dae_ivp_dassl_cont (d02mcc) is provided to permit you to signal that the next call to nag_dae_ivp_dassl_gen (d02nec) is a continuation call. In particular, if nag_dae_ivp_dassl_gen (d02nec) exits because the maximum number of integration steps has been exceeded, then a call to nag_dae_ivp_dassl_cont (d02mcc) resets the step counter allowing the integration to proceed.

## 4References

See Section 3 in nag_dae_ivp_dassl_gen (d02nec).

## 5Arguments

1:    $\mathbf{icom}\left[15\right]$IntegerCommunication Array
This must be the same array icom as passed to the integration function nag_dae_ivp_dassl_gen (d02nec); nag_dae_ivp_dassl_cont (d02mcc) does not require access to all of that array, hence the smaller dimension given here.
On entry: contains details of the current state of integration as returned by nag_dae_ivp_dassl_gen (d02nec).
On exit: one or more of the values is changed to signal to the integrator that a continuation call is being made. This will reset the step counter to zero.

None.

Not applicable.

## 8Parallelism and Performance

nag_dae_ivp_dassl_cont (d02mcc) is not threaded in any implementation.

None.

## 10Example

See Section 10 in nag_dae_ivp_dassl_gen (d02nec).
© The Numerical Algorithms Group Ltd, Oxford, UK. 2017