diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-08-21 20:54:57 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:33 +0100 |
commit | b7b2779a8ffedb11bec21b64c086d4f772651332 (patch) | |
tree | 6e163543470917410f1635205bb973b6b75175d3 | |
parent | 206898017f0a40bb4b0c97697c401279e324e243 (diff) |
CarpetIOHDF5: Increase array size for last_output_iteration_slice
-rw-r--r-- | Carpet/CarpetIOHDF5/interface.ccl | 6 | ||||
-rw-r--r-- | Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetIOHDF5/interface.ccl b/Carpet/CarpetIOHDF5/interface.ccl index 55d092e85..471ef0ed0 100644 --- a/Carpet/CarpetIOHDF5/interface.ccl +++ b/Carpet/CarpetIOHDF5/interface.ccl @@ -27,9 +27,9 @@ CCTK_INT next_output_iteration TYPE=scalar CCTK_REAL next_output_time TYPE=scalar CCTK_INT this_iteration TYPE=scalar -CCTK_INT last_output_iteration_slice[3] TYPE=scalar -CCTK_REAL last_output_time_slice[3] TYPE=scalar -CCTK_INT this_iteration_slice[3] TYPE=scalar +CCTK_INT last_output_iteration_slice[4] TYPE=scalar +CCTK_REAL last_output_time_slice[4] TYPE=scalar +CCTK_INT this_iteration_slice[4] TYPE=scalar CCTK_INT FUNCTION Coord_GroupSystem \ diff --git a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc index 8c2298263..9d3403d91 100644 --- a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc +++ b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc @@ -116,7 +116,7 @@ void CarpetIOHDF5_Init (CCTK_ARGUMENTS) *next_output_iteration = 0; *next_output_time = cctk_time; - for (int d=0; d<3; ++d) { + for (int d=0; d<4; ++d) { this_iteration_slice[d] = 0; last_output_iteration_slice[d] = 0; last_output_time_slice[d] = cctk_time; |