aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/SetupGH.cc
diff options
context:
space:
mode:
authorRoland Haas <rhaas@caltech.edu>2012-06-11 11:25:43 -0700
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:25 +0100
commit9e1aef72fb3e82ec80bb0757e5364cbd5818181f (patch)
tree70791970968ee1f8fc595c4304f872252bf52ad7 /Carpet/Carpet/src/SetupGH.cc
parentc2a8823dcc315814d90705b8839b4b2c3374c4dd (diff)
Carpet: output grid structures to file in Initialize instead of in SetupGH
This is so that IOUtils has had time to initialize itself and we can query IO_TruncateOutputFiles with confidence.
Diffstat (limited to 'Carpet/Carpet/src/SetupGH.cc')
-rw-r--r--Carpet/Carpet/src/SetupGH.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc
index c4515edb0..36e7d97cb 100644
--- a/Carpet/Carpet/src/SetupGH.cc
+++ b/Carpet/Carpet/src/SetupGH.cc
@@ -909,10 +909,9 @@ namespace Carpet {
vhh.AT(m)->recompose (rl, false);
vhh.AT(m)->regrid_free (false);
- // Output grid structure
+ // Output grid structure to screen but not to files since
+ // IO_TruncateFiles might not be present yet
OutputGrids (cctkGH, m, * vhh.AT(m), * vdd.AT(m));
- OutputGridStructure (cctkGH, m, regssss.AT(m));
- OutputGridCoordinates (cctkGH, m, regssss.AT(m));
} // for m