Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Mar 29, 2024
1 parent a07187a commit 63ad76a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
13 changes: 8 additions & 5 deletions include/sundials/sundials_nvector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions include/sunnonlinsol/sunnonlinsol_fixedpoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/sunnonlinsol/fixedpoint/sunnonlinsol_fixedpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 63ad76a

Please sign in to comment.