From fad00e54fbb8c02501d69318ad9a273bd426297a Mon Sep 17 00:00:00 2001 From: schnetter <> Date: Tue, 14 Oct 2003 14:39:00 +0000 Subject: 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 --- Carpet/CarpetIOASCII/src/ioascii.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Carpet/CarpetIOASCII/src') 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* const tmp = gfdata->make_typed(); + gdata* 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, -- cgit v1.2.3