diff --git a/doc/cvode/guide/source/Usage/index.rst b/doc/cvode/guide/source/Usage/index.rst index 4fbf898baf..c8f309c8fa 100644 --- a/doc/cvode/guide/source/Usage/index.rst +++ b/doc/cvode/guide/source/Usage/index.rst @@ -112,7 +112,7 @@ more information). Other headers may be needed, according to the choice of preconditioner, etc. For example, in the example (see :cite:p:`cvode_ex`), preconditioning is done with a block-diagonal matrix. For this, even though the ``SUNLINSOL_SPGMR`` linear solver is used, the header -``sundials dense.h`` is included for access to the underlying generic dense matrix +``sundials_dense.h`` is included for access to the underlying generic dense matrix arithmetic routines. .. _CVODE.Usage.CC.skeleton_sim: diff --git a/doc/cvodes/guide/source/Usage/SIM.rst b/doc/cvodes/guide/source/Usage/SIM.rst index 9f9f24ea85..8776f35d25 100644 --- a/doc/cvodes/guide/source/Usage/SIM.rst +++ b/doc/cvodes/guide/source/Usage/SIM.rst @@ -111,7 +111,7 @@ more information). Other headers may be needed, according to the choice of preconditioner, etc. For example, in the example (see :cite:p:`cvodes_ex`), preconditioning is done with a block-diagonal matrix. For this, even though the ``SUNLINSOL_SPGMR`` linear solver is used, the header -``sundials dense.h`` is included for access to the underlying generic dense matrix +``sundials_dense.h`` is included for access to the underlying generic dense matrix arithmetic routines. .. warning:: diff --git a/include/sundials/priv/sundials_errors_impl.h b/include/sundials/priv/sundials_errors_impl.h index d279f9c5dc..6341f5b58f 100644 --- a/include/sundials/priv/sundials_errors_impl.h +++ b/include/sundials/priv/sundials_errors_impl.h @@ -143,7 +143,7 @@ void SUNHandleErrWithFmtMsg(int line, const char* func, const char* file, * We define several different version of SUNCheck* macros to cover various * programming scenarios. * - * SUNCheckCall* macros are used to check SUNDIALS functions calls which do + * SUNCheckCall* macros are used to check SUNDIALS function calls which do * return a SUNErrCode. * * SUNCheckLastErr* macros are used to check SUNDIALS function calls that @@ -278,7 +278,7 @@ void SUNHandleErrWithFmtMsg(int line, const char* func, const char* file, /* SUNCheckLastErrMoRetMsg checks the last_err value in the SUNContext. If an error occured, then it will log the error, set the last_err - value, and calls the error handler. */ + value, and call the error handler. */ #if defined(SUNDIALS_ENABLE_ERROR_CHECKS) #define SUNCheckLastErrMsg(msg) \ SUNCheckCallMsg(SUNContext_GetLastError(SUNCTX_), msg) @@ -305,7 +305,7 @@ void SUNHandleErrWithFmtMsg(int line, const char* func, const char* file, /* SUNAssert checks if an expression is true. It expands to SUNCheck when error checks are enabled. If error checks are disabled, then we try to expand it to - an assumption, if the compiler supoprts, so that the compiler can make + an assumption, if the compiler supports, so that the compiler can make optimizations based on the assumption. :param expr: a expression to evaluate as true or false diff --git a/include/sundials/priv/sundials_mpi_errors_impl.h b/include/sundials/priv/sundials_mpi_errors_impl.h index c063bdeffb..48836ba460 100644 --- a/include/sundials/priv/sundials_mpi_errors_impl.h +++ b/include/sundials/priv/sundials_mpi_errors_impl.h @@ -27,7 +27,7 @@ /* SUNCheckMPICallMsg performs the MPI function call, and checks the returned error code. If an error occured, then it will log the error, set the - last_err value, call the error handler, **and then returns SUN_ERR_MPI_FAIL**. + last_err value, call the error handler, **and then return SUN_ERR_MPI_FAIL**. :param call: the MPI function call :param msg: an error message @@ -51,7 +51,7 @@ /* SUNCheckMPICallNullMsg performs the MPI function call, and checks the returned error code. If an error occured, then it will log the error, set the - last_err value, call the error handler, **and then returns NULL**. + last_err value, call the error handler, **and then return NULL**. :param call: the MPI function call :param msg: an error message @@ -75,7 +75,7 @@ /* SUNCheckMPICallVoidMsg performs the MPI function call, and checks the returned error code. If an error occured, then it will log the error, set the - last_err value, call the error handler, **and then returns void**. + last_err value, call the error handler, **and then return void**. :param call: the MPI function call :param msg: an error message @@ -99,7 +99,7 @@ /* SUNCheckMPICallNoRetMsg performs the MPI function call, and checks the returned error code. If an error occured, then it will log the error, set the - last_err value, call the error handler. **It does not return**. + last_err value, and call the error handler. **It does not return**. :param call: the MPI function call :param msg: an error message