- naginterfaces.library.ode.ivp_stiff_errest(v, w, comm)¶
ivp_stiff_errestcalculates the weighted norm of the local error estimate from inside a called from an integrator in submodule
For full information please refer to the NAG Library document for d02za
- vfloat, array-like, shape
The vector, the weighted norm of which is to be evaluated by
ivp_stiff_errest. is calculated internally by the integrator being used.
- wfloat, array-like, shape
The weights, calculated internally by the integrator, to be used in the norm evaluation.
- commdict, communication object
, the norm of the scaled local error estimate.
- (errno )
The value of the norm would either overflow or is close to overflowing.
No equivalent traditional C interface for this routine exists in the NAG Library.
ivp_stiff_errestis for use with the direct communication integrators
ivp_stiff_imp_sparjac()and the reverse communication integrators
ivp_stiff_imp_revcom(). It must be used only inside (if this option is selected) for the direct communication functions or on the equivalent return for the reverse communication functions. It may be used to evaluate the norm of the scaled local error estimate, , where the weights used are contained in and the norm used is as defined by an earlier call to the integrator setup function (
ivp_stiff_blend()). Its use is described under the description of in the specifications for the direct communication integrators mentioned above.