diff options
author | schnetter <> | 2003-10-14 14:39:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-10-14 14:39:00 +0000 |
commit | fad00e54fbb8c02501d69318ad9a273bd426297a (patch) | |
tree | dec086d7cdf464cbb379c5488b7668c8f9b385f8 /CarpetAttic | |
parent | 4aa9136c5d2e909262f1d8ff84e32e936be97a28 (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 'CarpetAttic')
-rw-r--r-- | CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<int,dim>(lo,hi,str); - gdata<dim>* const tmp = data->make_typed (); + gdata<dim>* const tmp = data->make_typed (n); tmp->allocate (ext, 0); tmp->copy_from (data, ext); @@ -591,7 +591,7 @@ namespace CarpetIOFlexIO { const vect<int,dim> ub = lb + (vect<int,dim>(amr_dims) - 1) * str; const bbox<int,dim> ext(lb,ub,str); - gdata<dim>* const tmp = data->make_typed (); + gdata<dim>* const tmp = data->make_typed (n); if (CCTK_MyProc(cgh)==0) { tmp->allocate (ext, 0, amrgrid->data); |