diff options
author | schnetter <> | 2004-04-18 11:02:00 +0000 |
---|---|---|
committer | schnetter <> | 2004-04-18 11:02:00 +0000 |
commit | ffc85540493a8dd65a89d51081e671608b49a4f8 (patch) | |
tree | b4bf9c8bf7ea8edd1489bd6c4511f4f71713a02e /Carpet/CarpetIOHDF5/src/iohdf5.cc | |
parent | 1f573440eb4740c540d457dd3252c4e8f22d7952 (diff) |
Simplify the code
darcs-hash:20040418110249-07bb3-9384744a507ad05ef10eff9b0c3d9c8343cb678c.gz
Diffstat (limited to 'Carpet/CarpetIOHDF5/src/iohdf5.cc')
-rw-r--r-- | Carpet/CarpetIOHDF5/src/iohdf5.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Carpet/CarpetIOHDF5/src/iohdf5.cc b/Carpet/CarpetIOHDF5/src/iohdf5.cc index 35f0ae08a..213fafe2a 100644 --- a/Carpet/CarpetIOHDF5/src/iohdf5.cc +++ b/Carpet/CarpetIOHDF5/src/iohdf5.cc @@ -17,7 +17,7 @@ #include "cctk_Parameters.h" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOHDF5/src/iohdf5.cc,v 1.27 2004/04/12 22:59:04 cott Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOHDF5/src/iohdf5.cc,v 1.28 2004/04/18 13:02:49 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetIOHDF5_iohdf5_cc); } @@ -326,10 +326,7 @@ namespace CarpetIOHDF5 { assert(ierr==0); // let's get the correct Carpet time level (which is the (-1) * Cactus timelevel): - if (request->timelevel==0) - tl = 0; - else - tl = - request->timelevel; + tl = - request->timelevel; // Traverse all components BEGIN_MAP_LOOP(cctkGH, grouptype) { @@ -539,7 +536,7 @@ namespace CarpetIOHDF5 { // Delete temporary copy delete tmp; - } //if( !((CCTK_DISTRIB_BLAH) + } // if ! CCTK_DISTRIB_BLAH } END_COMPONENT_LOOP; } END_MAP_LOOP; |