diff options
Diffstat (limited to 'src/ioutil_Utils.h')
-rw-r--r-- | src/ioutil_Utils.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ioutil_Utils.h b/src/ioutil_Utils.h index 3840e65..59db60e 100644 --- a/src/ioutil_Utils.h +++ b/src/ioutil_Utils.h @@ -22,6 +22,7 @@ typedef struct { /* output frequency */ CCTK_INT out_every; + CCTK_REAL out_dt; /* index and timelevel of the variable */ int vindex, timelevel; @@ -67,19 +68,23 @@ typedef struct void IOUtil_ParseVarsForOutput (const cGH *GH, const char *method_name, const char *parameter_name, int stop_on_parse_errors, - const char *out_vars, int out_every_default, + const char *out_vars, + int out_every_default, CCTK_REAL out_dt_default, ioRequest *request_list[]); -/* parse a given I/O parameter option string for the 'out_every' option */ +/* parse a given I/O parameter option string for the 'out_every' and + 'out_dt' options */ void IOUtil_ParseOutputFrequency (const char *method_name, const char *parameter_name, int stop_on_parse_errors, int vindex, const char *optstring, - CCTK_INT *out_every); + CCTK_INT *out_every, + CCTK_REAL *out_dt); /* return the default I/O request description structure for a variable */ ioRequest *IOUtil_DefaultIORequest (const cGH *GH, int vindex, - int out_every_default); + int out_every_default, + CCTK_REAL out_dt_default); /* free an I/O request description */ void IOUtil_FreeIORequest (ioRequest **request); |