diff options
author | schnetter <> | 2001-12-17 12:34:00 +0000 |
---|---|---|
committer | schnetter <> | 2001-12-17 12:34:00 +0000 |
commit | 04dff66c4ada038cbb2a6205a4d4b12caa14d309 (patch) | |
tree | b75cb72dcf6520b1143e7c19f21d168fe33cdaa6 /Carpet/CarpetIOASCII/src | |
parent | 0aba64d1198104490116ee2196ddd381337ba586 (diff) |
Fixed test cases for axial symmetry (changed parameter files.)
Fixed test cases for axial symmetry (changed parameter files.)
Extented Carpet to handle multiple grid components per processor.
Currently works on one processor only.
darcs-hash:20011217123400-07bb3-47796190d04061ea23798717f6714978bf7e1f55.gz
Diffstat (limited to 'Carpet/CarpetIOASCII/src')
-rw-r--r-- | Carpet/CarpetIOASCII/src/ioascii.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc index ce063b4f2..6db6e7f05 100644 --- a/Carpet/CarpetIOASCII/src/ioascii.cc +++ b/Carpet/CarpetIOASCII/src/ioascii.cc @@ -25,7 +25,7 @@ #include "ioascii.hh" -static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.24 2001/12/14 17:59:54 schnetter Exp $"; +static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.25 2001/12/17 13:34:03 schnetter Exp $"; @@ -337,6 +337,15 @@ int CarpetIOASCII<outdim> data->write_ascii (file, cgh->cctk_iteration, offset1, dirs, tl, reflevel, component, mglevel); + // Append EOL after every component + if (CCTK_MyProc(cgh)==0) { + if (separate_components) { + assert (file.good()); + file << endl; + } + } + assert (file.good()); + } END_COMPONENT_LOOP(cgh); // Append EOL after every complete set of components |