diff --git a/doc/cvodes/guide/source/Usage/ADJ.rst b/doc/cvodes/guide/source/Usage/ADJ.rst index a6431e8882..8552d514f3 100644 --- a/doc/cvodes/guide/source/Usage/ADJ.rst +++ b/doc/cvodes/guide/source/Usage/ADJ.rst @@ -383,7 +383,7 @@ use in Forward Sensitivity Analysis; for that, see :numref:`CVODES.Usage.FSA`. The call to this function has the form -.. c:function:: int CVodeF(void * cvode_mem, realtype tout, N_Vector yret, realtype tret, int itask, int ncheck) +.. c:function:: int CVodeF(void * cvode_mem, realtype tout, N_Vector yret, realtype* tret, int itask, int ncheck) The function :c:func:`CVodeF` integrates the forward problem over an interval in :math:`t` and saves checkpointing data. @@ -1353,7 +1353,7 @@ To extract the values of the quadrature variables at the last return time of :c:func:`CVodeGetQuad`. -.. c:function:: int CVodeGetQuadB(void * cvode_mem, whichrealtype tret, N_Vector yQB) +.. c:function:: int CVodeGetQuadB(void * cvode_mem, int which, realtype* tret, N_Vector yQB) The function :c:func:`CVodeGetQuadB` returns the quadrature solution vector after a successful return from :c:func:`CVodeB`. diff --git a/doc/cvodes/guide/source/Usage/SIM.rst b/doc/cvodes/guide/source/Usage/SIM.rst index 826ee20e29..a475069f2a 100644 --- a/doc/cvodes/guide/source/Usage/SIM.rst +++ b/doc/cvodes/guide/source/Usage/SIM.rst @@ -4024,7 +4024,7 @@ solution and quadratures at time ``t``. However, :c:func:`CVode` will still retu only the solution :math:`y` in ``yout``. Solution quadratures can be obtained using the following function: -.. c:function:: int CVodeGetQuad(void * cvode_mem, realtype tret, N_Vector yQ) +.. c:function:: int CVodeGetQuad(void * cvode_mem, realtype* tret, N_Vector yQ) The function ``CVodeGetQuad`` returns the quadrature solution vector after a successful return from ``CVode``. @@ -4104,7 +4104,7 @@ If the quadrature variables are part of the step size control mechanism, one of the following functions must be called to specify the integration tolerances for quadrature variables. -.. c:function:: int CVodeQuadSVtolerances(void * cvode_mem, realtype reltolQ, realtype abstolQ) +.. c:function:: int CVodeQuadSVtolerances(void * cvode_mem, realtype reltolQ, N_Vector abstolQ) The function ``CVodeQuadSStolerances`` specifies scalar relative and absolute tolerances.