From d5cb73a42d61d3565e6ef52bac69e7ab84a7a821 Mon Sep 17 00:00:00 2001 From: schnetter <> Date: Fri, 3 Jan 2003 14:49:00 +0000 Subject: 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". Renamed "generic_*" to "g*". Propagated these changes to all other places. darcs-hash:20030103144936-07bb3-c4d74d2d94a56a898f9bb735666eefc01e2610e2.gz --- CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'CarpetAttic') diff --git a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc index 176e82f11..ed9392624 100644 --- a/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc +++ b/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc @@ -34,7 +34,7 @@ #include "ioflexio.hh" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.20 2002/10/24 12:00:32 schnetter Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIO/src/ioflexio.cc,v 1.21 2003/01/03 15:49:36 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetIOFlexIO_ioflexio_cc); } @@ -256,12 +256,12 @@ namespace CarpetIOFlexIO { // Traverse all components on this refinement and multigrid level BEGIN_COMPONENT_LOOP(cgh) { - const generic_gf* ff = 0; + const ggf* ff = 0; assert (var < (int)arrdata[group].data.size()); - ff = (generic_gf*)arrdata[group].data[var]; + ff = (ggf*)arrdata[group].data[var]; - const generic_data* const data + const gdata* const data = (*ff) (tl, reflevel, component, mglevel); // Make temporary copy on processor 0 @@ -284,7 +284,7 @@ namespace CarpetIOFlexIO { ext = bbox(lo,hi,str); - generic_data* const tmp = data->make_typed (); + gdata* const tmp = data->make_typed (); tmp->allocate (ext, 0); tmp->copy_from (data, ext); @@ -565,12 +565,12 @@ namespace CarpetIOFlexIO { // level BEGIN_COMPONENT_LOOP(cgh) { - generic_gf* ff = 0; + ggf* ff = 0; assert (var < (int)arrdata[group].data.size()); - ff = (generic_gf*)arrdata[group].data[var]; + ff = (ggf*)arrdata[group].data[var]; - generic_data* const data + gdata* const data = (*ff) (tl, reflevel, component, mglevel); // Create temporary data storage on processor 0 @@ -579,7 +579,7 @@ namespace CarpetIOFlexIO { const vect ub = lb + (vect(amr_dims) - 1) * str; const bbox ext(lb,ub,str); - generic_data* const tmp = data->make_typed (); + gdata* const tmp = data->make_typed (); if (CCTK_MyProc(cgh)==0) { tmp->allocate (ext, 0, amrgrid->data); -- cgit v1.2.3