aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOASCII/src
diff options
context:
space:
mode:
authorschnetter <>2003-10-14 14:39:00 +0000
committerschnetter <>2003-10-14 14:39:00 +0000
commitfad00e54fbb8c02501d69318ad9a273bd426297a (patch)
treedec086d7cdf464cbb379c5488b7668c8f9b385f8 /Carpet/CarpetIOASCII/src
parent4aa9136c5d2e909262f1d8ff84e32e936be97a28 (diff)
Make gf and data objects store a Cactus variable index that this
Make gf and data objects store a Cactus variable index that this object is associated with. This can be used to access various kinds of information, e.g. variable names. darcs-hash:20031014143916-07bb3-678d114393008db7790b5ed72d6462673414c06a.gz
Diffstat (limited to 'Carpet/CarpetIOASCII/src')
-rw-r--r--Carpet/CarpetIOASCII/src/ioascii.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetIOASCII/src/ioascii.cc b/Carpet/CarpetIOASCII/src/ioascii.cc
index e5ff80eed..896fcce42 100644
--- a/Carpet/CarpetIOASCII/src/ioascii.cc
+++ b/Carpet/CarpetIOASCII/src/ioascii.cc
@@ -30,7 +30,7 @@
#include "ioascii.hh"
extern "C" {
- static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.52 2003/08/08 14:35:48 tradke Exp $";
+ static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetIOASCII/src/ioascii.cc,v 1.53 2003/10/14 16:39:16 schnetter Exp $";
CCTK_FILEVERSION(Carpet_CarpetIOASCII_ioascii_cc);
}
@@ -827,7 +827,7 @@ namespace CarpetIOASCII {
} else {
// copy to processor 0 and output there
- gdata<D>* const tmp = gfdata->make_typed();
+ gdata<D>* const tmp = gfdata->make_typed(vi);
tmp->allocate(gfdata->extent(), 0);
tmp->copy_from (gfdata, gfdata->extent());
WriteASCII (os, tmp, gfext, vi, time, org, dirs, tl, rl, c, ml,