Skip to content

Commit

Permalink
Added placeholder for ARKStep command-line processing (needs to be fi…
Browse files Browse the repository at this point in the history
…lled in), along with comments to myself on next steps
  • Loading branch information
drreynolds committed Feb 27, 2025
1 parent d65c219 commit 60e3287
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/arkode/arkode_arkstep_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,19 @@ int ARKStepGetTimestepperStats(void* arkode_mem, long int* expsteps,
Private functions attached to ARKODE
===============================================================*/

/*---------------------------------------------------------------
arkStep_SetFromCommandLine:
Provides command-line control over ARKStep-specific "set" routines.
---------------------------------------------------------------*/
int arkStep_SetFromCommandLine(ARKodeMem ark_mem, int* i, char* argv[],
const size_t offset, sunbooleantype* arg_used)
{

return (ARK_SUCCESS);
}


/*---------------------------------------------------------------
arkStep_SetRelaxFn:
Expand Down
2 changes: 1 addition & 1 deletion src/arkode/arkode_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "arkode_impl.h"

/*===============================================================
Command-line input utility routines
Command-line input utility routines -- create more of these: TwoInt, TwoReal, String, TwoString. Remove direct calls to arkProcessError, and instead have the calling routine return a slightly more generic error message that omits the extra arguments. Propagate both this set of routines and the function types to the SUNDIALS level, so that they can be used across all integrators.
===============================================================*/

int arkCheckAndSetIntArg(ARKodeMem ark_mem, int* i, char* argv[],
Expand Down

0 comments on commit 60e3287

Please sign in to comment.