diff options
author | schnetter <> | 2003-01-03 14:49:00 +0000 |
---|---|---|
committer | schnetter <> | 2003-01-03 14:49:00 +0000 |
commit | d5cb73a42d61d3565e6ef52bac69e7ab84a7a821 (patch) | |
tree | e6ca1fea7027d660f952c5611d8caa6941723f0f /Carpet/CarpetSlab/src/slab.cc | |
parent | 58469c24e957c469d88961e2fe3029f9e4891f3a (diff) |
Removed the "dimgeneric_*" data types from CarpetLib. They were never
Removed the "dimgeneric_*" data types from CarpetLib. They were never
really used anyway.
Changed "th" into "th<D>".
Renamed "generic_*" to "g*".
Propagated these changes to all other places.
darcs-hash:20030103144936-07bb3-c4d74d2d94a56a898f9bb735666eefc01e2610e2.gz
Diffstat (limited to 'Carpet/CarpetSlab/src/slab.cc')
-rw-r--r-- | Carpet/CarpetSlab/src/slab.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Carpet/CarpetSlab/src/slab.cc b/Carpet/CarpetSlab/src/slab.cc index 3f3983e2f..f11cfa4f0 100644 --- a/Carpet/CarpetSlab/src/slab.cc +++ b/Carpet/CarpetSlab/src/slab.cc @@ -1,4 +1,4 @@ -// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.1 2002/10/24 10:53:48 schnetter Exp $ +// $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.2 2003/01/03 15:49:36 schnetter Exp $ #include <alloca.h> #include <assert.h> @@ -20,7 +20,7 @@ #include "slab.hh" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.1 2002/10/24 10:53:48 schnetter Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetSlab/src/slab.cc,v 1.2 2003/01/03 15:49:36 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetSlab_slab_cc); } @@ -111,7 +111,7 @@ namespace CarpetSlab { // Get insider information about variable const gh<dim>* myhh; const dh<dim>* mydd; - const generic_gf<dim>* myff; + const ggf<dim>* myff; assert (group < (int)arrdata.size()); myhh = arrdata[group].hh; assert (myhh); @@ -147,7 +147,7 @@ namespace CarpetSlab { component = 0; // Get sample data - const generic_data<dim>* mydata; + const gdata<dim>* mydata; mydata = (*myff)(tl, reflevel, component, mglevel); // Stride of data in memory @@ -177,7 +177,7 @@ namespace CarpetSlab { // Create collector data object void* myhdata = rank==collect_proc ? hdata : 0; - generic_data<dim>* const alldata = mydata->make_typed(); + gdata<dim>* const alldata = mydata->make_typed(); alldata->allocate (hextent, collect_proc, myhdata); // Done with the temporary stuff @@ -216,7 +216,7 @@ namespace CarpetSlab { if (proc != collect_proc) { void* myhdata = rank==proc ? hdata : 0; - generic_data<dim>* const tmpdata = mydata->make_typed(); + gdata<dim>* const tmpdata = mydata->make_typed(); tmpdata->allocate (alldata->extent(), proc, myhdata); tmpdata->copy_from (alldata, alldata->extent()); delete tmpdata; |