aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-07-11 16:36:00 -0500
committerErik Schnetter <schnetter@cct.lsu.edu>2008-07-11 16:36:00 -0500
commitfa138ecc424fb48f8039bff8813091282daeab81 (patch)
treea1f367a2ee22d16bd26ebbd5084aa70df7eeacab /Carpet/CarpetIOASCII
parent18c799d6583b2d98b76e89fb534d7c1f4cc4a9c6 (diff)
CarpetIO: Adapt to changes in CactusBase/IOUtil
The CactusBase/IOUtil routine IOUtil_ParseVarsForOutput now accepts an additional parameter out_dt_default.
Diffstat (limited to 'Carpet/CarpetIOASCII')
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc
index f09513c7e..fc46a20ca 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.cc
+++ b/Carpet/CarpetIOASCII/src/ioascii.cc
@@ -205,7 +205,7 @@ namespace CarpetIOASCII {
IOUtil_ParseVarsForOutput (cctkGH, CCTK_THORNSTRING,
parameter_name.str().c_str(),
stop_on_parse_errors, out_vars,
- -1, &requests[0]);
+ -1, -1.0, &requests[0]);
// notify the user about the new setting
if (not CCTK_Equals (verbose, "none")) {
@@ -410,7 +410,7 @@ namespace CarpetIOASCII {
// get the default I/O request for this variable
ioRequest* request = requests[vindex];
if (not request) {
- request = IOUtil_DefaultIORequest (cctkGH, vindex, 1);
+ request = IOUtil_DefaultIORequest (cctkGH, vindex, 1, -1.0);
}
// check if the file has been created already