diff options
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetIOASCII/src/ioascii.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc index 9f841d4f2..e7046542a 100644 --- a/Carpet/CarpetIOASCII/src/ioascii.cc +++ b/Carpet/CarpetIOASCII/src/ioascii.cc @@ -644,10 +644,11 @@ namespace CarpetIOASCII { // Invent a file name ostringstream filenamebuf; - filenamebuf << my_out_dir << "/" << alias << "."; - if (maps > 1) { - filenamebuf << Carpet::map << "."; + filenamebuf << my_out_dir << "/" << alias; + if (maps > 1 and grouptype == CCTK_GF) { + filenamebuf << "." << Carpet::map; } + filenamebuf << "."; if (new_filename_scheme) { for (int d=0; d<outdim; ++d) { const char* const coords = "xyzd"; |