From f0c9a3430e62390d44ea3b2606f606c9919685ab Mon Sep 17 00:00:00 2001 From: "David J. Gardner" Date: Sun, 25 Jun 2023 14:58:37 -0700 Subject: [PATCH] additional function signature corrections --- doc/cvode/guide/source/Usage/index.rst | 2 +- doc/cvodes/guide/source/Usage/SIM.rst | 2 +- doc/ida/guide/source/Usage/index.rst | 2 +- doc/idas/guide/source/Usage/SIM.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/cvode/guide/source/Usage/index.rst b/doc/cvode/guide/source/Usage/index.rst index 0f425c4b96..3679de1b9c 100644 --- a/doc/cvode/guide/source/Usage/index.rst +++ b/doc/cvode/guide/source/Usage/index.rst @@ -713,7 +713,7 @@ of two modes as to where CVODE is to return a solution. But these modes are modified if the user has set a stop time (with :c:func:`CVodeSetStopTime`) or requested rootfinding. -.. c:function:: int CVode(void* cvode_mem, realtype tout, N_Vector yout, realtype tret, int itask) +.. c:function:: int CVode(void* cvode_mem, realtype tout, N_Vector yout, realtype* tret, int itask) The function ``CVode`` integrates the ODE over an interval in t. diff --git a/doc/cvodes/guide/source/Usage/SIM.rst b/doc/cvodes/guide/source/Usage/SIM.rst index a475069f2a..f619cda6af 100644 --- a/doc/cvodes/guide/source/Usage/SIM.rst +++ b/doc/cvodes/guide/source/Usage/SIM.rst @@ -721,7 +721,7 @@ of two modes as to where CVODES is to return a solution. But these modes are modified if the user has set a stop time (with :c:func:`CVodeSetStopTime`) or requested rootfinding. -.. c:function:: int CVode(void* cvode_mem, realtype tout, N_Vector yout, realtype tret, int itask) +.. c:function:: int CVode(void* cvode_mem, realtype tout, N_Vector yout, realtype* tret, int itask) The function ``CVode`` integrates the ODE over an interval in t. diff --git a/doc/ida/guide/source/Usage/index.rst b/doc/ida/guide/source/Usage/index.rst index 25bae3ecae..c6fca6bcee 100644 --- a/doc/ida/guide/source/Usage/index.rst +++ b/doc/ida/guide/source/Usage/index.rst @@ -792,7 +792,7 @@ the user has set a stop time (with :c:func:`IDASetStopTime`) or requested rootfinding (with :c:func:`IDARootInit`). -.. c:function:: int IDASolve(void * ida_mem, realtype tout, realtype tret, N_Vector yret, N_Vector ypret, int itask) +.. c:function:: int IDASolve(void * ida_mem, realtype tout, realtype* tret, N_Vector yret, N_Vector ypret, int itask) The function ``IDASolve`` integrates the DAE over an interval in t. diff --git a/doc/idas/guide/source/Usage/SIM.rst b/doc/idas/guide/source/Usage/SIM.rst index 2fc1896241..4bd1ac2738 100644 --- a/doc/idas/guide/source/Usage/SIM.rst +++ b/doc/idas/guide/source/Usage/SIM.rst @@ -3970,7 +3970,7 @@ then IDAS computes both a solution and quadratures at time ``t``. However, :c:func:`IDASolve` will still return only the solution :math:`y` in ``y``. Solution quadratures can be obtained using the following function: -.. c:function:: int IDAGetQuad(void * ida_mem, realtype tret, N_Vector yQ) +.. c:function:: int IDAGetQuad(void * ida_mem, realtype* tret, N_Vector yQ) The function :c:func:`IDAGetQuad` returns the quadrature solution vector after a successful return from :c:func:`IDASolve`.