diff options
author | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2004-07-07 17:12:11 +0000 |
---|---|---|
committer | tradke <tradke@ff385933-4943-42dc-877b-ffc776028de6> | 2004-07-07 17:12:11 +0000 |
commit | bd01e0c5de962bd8b27a9fa3a93b81cb6fa19952 (patch) | |
tree | a2af12496e7f981ec42a9ac3eb2c482b6eb15e64 | |
parent | 59c89d5fd2d1c71587e9f39a6dc95a896393cf16 (diff) |
Now that CarpetIOHDF5 also accepts option strings in group/variable names,
switch back to the old scheme of always outputting the NaNmask with the
"{downsample={1 1 1}" options string.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/NaNChecker/trunk@71 ff385933-4943-42dc-877b-ffc776028de6
-rw-r--r-- | src/NaNCheck.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/NaNCheck.c b/src/NaNCheck.c index 7500518..1c8b87b 100644 --- a/src/NaNCheck.c +++ b/src/NaNCheck.c @@ -222,19 +222,9 @@ void NaNChecker_TakeAction (CCTK_ARGUMENTS) { CCTK_INFO ("Write out NaN mask using the 'IOHDF5' I/O method"); } - if (CCTK_IsThornActive("PUGH")) - { - /* prevent downsampling -- only if PUGH is active, because this is - a non-standard option */ - CCTK_OutputVarAsByMethod (cctkGH, - "NaNChecker::NaNmask{downsample={1 1 1}}", - "IOHDF5", "NaNmask"); - } - else - { - CCTK_OutputVarAsByMethod (cctkGH, "NaNChecker::NaNmask", - "IOHDF5", "NaNmask"); - } + CCTK_OutputVarAsByMethod (cctkGH, + "NaNChecker::NaNmask{downsample={1 1 1}}", + "IOHDF5", "NaNmask"); /* save the iteration of the last NaNmask output */ last_iteration_output = cctk_iteration; |