diprepi Subroutine

public subroutine diprepi(Neq, Y, S, Rwork, Ia, Ja, Ic, Jc, Ipflag, res, jac, adda)

This routine serves as an interface between the driver and Subroutine DPREPI. Tasks performed here are:

  • call DPREPI,
  • reset the required WM segment length LENWK,
  • move YH back to its final location (following WM in RWORK),
  • reset pointers for YH, SAVR, EWT, and ACOR, and
  • move EWT to its new position if ISTATE = 0 or 1.

IPFLAG is an output error indication flag. IPFLAG = 0 if there was no trouble, and IPFLAG is the value of the DPREPI error flag IPPER if there was trouble in Subroutine DPREPI.

Arguments

Type IntentOptional Attributes Name
integer :: Neq(*)
real(kind=dp) :: Y(*)
real(kind=dp) :: S(*)
real(kind=dp), intent(inout) :: Rwork(*)
integer :: Ia(*)
integer :: Ja(*)
integer :: Ic(*)
integer :: Jc(*)
integer, intent(inout) :: Ipflag
real :: res
integer :: jac
real :: adda

Calls

proc~~diprepi~2~~CallsGraph proc~diprepi~2 M_odepack::diprepi dprepi dprepi proc~diprepi~2->dprepi

Called by

proc~~diprepi~2~~CalledByGraph proc~diprepi~2 M_odepack::diprepi proc~dlsodis~2 M_odepack::dlsodis proc~dlsodis~2->proc~diprepi~2