From 63ad76a59d490b802d3ef8734e184b62d0e1fdbe Mon Sep 17 00:00:00 2001 From: "Balos, Cody, J" Date: Fri, 29 Mar 2024 16:27:50 -0700 Subject: [PATCH] format --- include/sundials/sundials_nvector.h | 13 ++++++++----- include/sunnonlinsol/sunnonlinsol_fixedpoint.h | 4 ++-- .../fixedpoint/sunnonlinsol_fixedpoint.c | 4 ++-- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/include/sundials/sundials_nvector.h b/include/sundials/sundials_nvector.h index b05ece8159..a376c6496d 100644 --- a/include/sundials/sundials_nvector.h +++ b/include/sundials/sundials_nvector.h @@ -324,15 +324,18 @@ SUNDIALS_EXPORT SUNErrCode N_VBufUnpack(N_Vector x, void* buf); * Additional functions exported by NVECTOR module * ----------------------------------------------------------------- */ -SUNDIALS_EXPORT N_Vector* N_VNewVectorArray(sunindextype count, SUNContext sunctx); -SUNDIALS_EXPORT N_Vector* N_VCloneEmptyVectorArray(sunindextype count, N_Vector w); +SUNDIALS_EXPORT N_Vector* N_VNewVectorArray(sunindextype count, + SUNContext sunctx); +SUNDIALS_EXPORT N_Vector* N_VCloneEmptyVectorArray(sunindextype count, + N_Vector w); SUNDIALS_EXPORT N_Vector* N_VCloneVectorArray(sunindextype count, N_Vector w); SUNDIALS_EXPORT void N_VDestroyVectorArray(N_Vector* vs, sunindextype count); /* These function are really only for users of the Fortran interface */ -SUNDIALS_EXPORT N_Vector N_VGetVecAtIndexVectorArray(N_Vector* vs, sunindextype index); -SUNDIALS_EXPORT void N_VSetVecAtIndexVectorArray(N_Vector* vs, sunindextype index, - N_Vector w); +SUNDIALS_EXPORT N_Vector N_VGetVecAtIndexVectorArray(N_Vector* vs, + sunindextype index); +SUNDIALS_EXPORT void N_VSetVecAtIndexVectorArray(N_Vector* vs, + sunindextype index, N_Vector w); /* ----------------------------------------------------------------- * Debugging functions diff --git a/include/sunnonlinsol/sunnonlinsol_fixedpoint.h b/include/sunnonlinsol/sunnonlinsol_fixedpoint.h index 99f4faa9fc..80d9b0c026 100644 --- a/include/sunnonlinsol/sunnonlinsol_fixedpoint.h +++ b/include/sunnonlinsol/sunnonlinsol_fixedpoint.h @@ -75,8 +75,8 @@ SUNDIALS_EXPORT SUNNonlinearSolver SUNNonlinSol_FixedPoint(N_Vector y, int m, SUNContext sunctx); SUNDIALS_EXPORT -SUNNonlinearSolver SUNNonlinSol_FixedPointSens(sunindextype count, N_Vector y, int m, - SUNContext sunctx); +SUNNonlinearSolver SUNNonlinSol_FixedPointSens(sunindextype count, N_Vector y, + int m, SUNContext sunctx); /* core functions */ SUNDIALS_EXPORT diff --git a/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c b/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c index c3a13f3374..ba34949267 100644 --- a/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c +++ b/src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c @@ -102,8 +102,8 @@ SUNNonlinearSolver SUNNonlinSol_FixedPoint(N_Vector y, int m, SUNContext sunctx) Constructor wrapper to create a new fixed point solver for sensitivity solvers ============================================================================*/ -SUNNonlinearSolver SUNNonlinSol_FixedPointSens(sunindextype count, N_Vector y, int m, - SUNContext sunctx) +SUNNonlinearSolver SUNNonlinSol_FixedPointSens(sunindextype count, N_Vector y, + int m, SUNContext sunctx) { SUNFunctionBegin(sunctx); SUNNonlinearSolver NLS = NULL;