diff --git a/include/arkode/arkode_arkstep.h b/include/arkode/arkode_arkstep.h index 724f345cbb..3ccf06e058 100644 --- a/include/arkode/arkode_arkstep.h +++ b/include/arkode/arkode_arkstep.h @@ -331,7 +331,8 @@ char* ARKStepGetReturnFlagName(long int flag); SUNDIALS_DEPRECATED_EXPORT_MSG("use ARKodeWriteParameters instead") int ARKStepWriteParameters(void* arkode_mem, FILE* fp); -SUNDIALS_DEPRECATED_EXPORT_MSG("use ARKStepGetCurrentButcherTables and ARKodeButcherTable_Write instead") +SUNDIALS_DEPRECATED_EXPORT_MSG( + "use ARKStepGetCurrentButcherTables and ARKodeButcherTable_Write instead") int ARKStepWriteButcher(void* arkode_mem, FILE* fp); /* Grouped optional output functions */ diff --git a/src/arkode/arkode.c b/src/arkode/arkode.c index 24008bddcd..f6beb0bf01 100644 --- a/src/arkode/arkode.c +++ b/src/arkode/arkode.c @@ -612,8 +612,8 @@ int ARKodeResStolerance(void* arkode_mem, sunrealtype rabstol) /* Guard against use for time steppers that do not support mass matrices */ if (!ark_mem->step_supports_massmatrix) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support non-identity mass matrices"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support non-identity mass matrices"); return (ARK_STEPPER_UNSUPPORTED); } diff --git a/src/arkode/arkode_relaxation.c b/src/arkode/arkode_relaxation.c index c57b8cfa49..d5619e7757 100644 --- a/src/arkode/arkode_relaxation.c +++ b/src/arkode/arkode_relaxation.c @@ -433,8 +433,8 @@ int ARKodeSetRelaxFn(void* arkode_mem, ARKRelaxFn rfn, ARKRelaxJacFn rjac) } else { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } } @@ -451,8 +451,8 @@ int ARKodeSetRelaxEtaFail(void* arkode_mem, sunrealtype eta_fail) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -474,8 +474,8 @@ int ARKodeSetRelaxLowerBound(void* arkode_mem, sunrealtype lower) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -497,8 +497,8 @@ int ARKodeSetRelaxMaxFails(void* arkode_mem, int max_fails) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -520,8 +520,8 @@ int ARKodeSetRelaxMaxIters(void* arkode_mem, int max_iters) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -543,8 +543,8 @@ int ARKodeSetRelaxSolver(void* arkode_mem, ARKRelaxSolver solver) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -572,8 +572,8 @@ int ARKodeSetRelaxResTol(void* arkode_mem, sunrealtype res_tol) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -595,8 +595,8 @@ int ARKodeSetRelaxTol(void* arkode_mem, sunrealtype rel_tol, sunrealtype abs_tol /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -621,8 +621,8 @@ int ARKodeSetRelaxUpperBound(void* arkode_mem, sunrealtype upper) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -648,8 +648,8 @@ int ARKodeGetNumRelaxFnEvals(void* arkode_mem, long int* r_evals) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -670,8 +670,8 @@ int ARKodeGetNumRelaxJacEvals(void* arkode_mem, long int* J_evals) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -692,8 +692,8 @@ int ARKodeGetNumRelaxFails(void* arkode_mem, long int* relax_fails) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -714,8 +714,8 @@ int ARKodeGetNumRelaxSolveFails(void* arkode_mem, long int* fails) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -736,8 +736,8 @@ int ARKodeGetNumRelaxBoundFails(void* arkode_mem, long int* fails) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); } @@ -758,8 +758,8 @@ int ARKodeGetNumRelaxSolveIters(void* arkode_mem, long int* iters) /* Guard against use for time steppers that do not allow relaxation */ if (!ark_mem->step_supports_relaxation) { - arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, __FILE__, - "time-stepping module does not support relaxation"); + arkProcessError(ark_mem, ARK_STEPPER_UNSUPPORTED, __LINE__, __func__, + __FILE__, "time-stepping module does not support relaxation"); return (ARK_STEPPER_UNSUPPORTED); }