From 04dff66c4ada038cbb2a6205a4d4b12caa14d309 Mon Sep 17 00:00:00 2001 From: schnetter <> Date: Mon, 17 Dec 2001 12:34:00 +0000 Subject: 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 --- Carpet/CarpetIOASCII/src/ioascii.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Carpet/CarpetIOASCII/src') 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 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 -- cgit v1.2.3