Skip to content

Commit

Permalink
Revert "Merge branch 'develop' into feature/rk_defaults"
Browse files Browse the repository at this point in the history
This reverts commit a097c51, reversing
changes made to 2600884.
  • Loading branch information
Steven-Roberts committed Jan 31, 2025
1 parent e8a0375 commit aebf685
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 22 deletions.
9 changes: 0 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ Improved the efficiency of default ARKODE methods with the following changes:

### Bug Fixes

Fixed bug in `ARKodeSetFixedStep` where it could return `ARK_SUCCESS` despite
an error occurring.

Removed error floors from the `SUNAdaptController` implementations which could
unnecessarily limit the time size growth, particularly after the first step.

On the first two time steps, the Soderlind controller uses an I controller
instead of omitting unavailable terms.

Fixed the behavior of `SUNDIALS_ENABLE_ERROR_CHECKS` so additional runtime error
checks are disabled by default with all release build types. Previously,
`MinSizeRel` builds enabled additional error checking by default.
Expand Down
11 changes: 0 additions & 11 deletions doc/shared/RecentChanges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,6 @@ Improved the efficiency of default ARKODE methods with the following changes:

**Bug Fixes**

Fixed bug in :c:func:`ARKodeSetFixedStep` where it could return ``ARK_SUCCESS``
despite an error occurring.

Removed error floors from the :c:type:`SUNAdaptController`` implementations
which could unnecessarily limit the time size growth, particularly after the
first step.

On the first two time steps, the
:ref:`Soderlind controller <SUNAdaptController.Soderlind>` uses an I controller
instead of omitting unavailable terms.

Fixed the behavior of :cmakeop:`SUNDIALS_ENABLE_ERROR_CHECKS` so additional
runtime error checks are disabled by default with all release build types.
Previously, ``MinSizeRel`` builds enabled additional error checking by default.
Expand Down
2 changes: 1 addition & 1 deletion examples/arkode/C_serial/ark_analytic_partitioned.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ int main(int argc, char* argv[])
}

flag = SplittingStepSetCoefficients(arkode_mem, coefficients);
if (check_flag(&flag, "SplittingStepSetCoefficients", 1)) { return 1; }
if (check_flag(&flag, "ARKodeSetFixedStep", 1)) { return 1; }

SplittingStepCoefficients_Destroy(&coefficients);
}
Expand Down
4 changes: 3 additions & 1 deletion src/arkode/arkode_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,9 @@ int ARKodeSetFixedStep(void* arkode_mem, sunrealtype hfixed)
else { ark_mem->fixedstep = SUNFALSE; }

/* Notify ARKODE to use hfixed as the initial step size, and return */
return ARKodeSetInitStep(arkode_mem, hfixed);
retval = ARKodeSetInitStep(arkode_mem, hfixed);

return (ARK_SUCCESS);
}

/*---------------------------------------------------------------
Expand Down

0 comments on commit aebf685

Please sign in to comment.