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 --- CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CarpetAttic') diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc index a4964f0ed..7456091de 100644 --- a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc +++ b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc @@ -303,7 +303,7 @@ namespace CarpetIOFlexIO { ext = bbox(lo,hi,str); - gdata* const tmp = data->make_typed (); + gdata* const tmp = data->make_typed (n); tmp->allocate (ext, 0); tmp->copy_from (data, ext); @@ -591,7 +591,7 @@ namespace CarpetIOFlexIO { const vect ub = lb + (vect(amr_dims) - 1) * str; const bbox ext(lb,ub,str); - gdata* const tmp = data->make_typed (); + gdata* const tmp = data->make_typed (n); if (CCTK_MyProc(cgh)==0) { tmp->allocate (ext, 0, amrgrid->data); -- cgit v1.2.3