From cb07f5cdb6970ef555bc6738788f881e2ea7c63f Mon Sep 17 00:00:00 2001 From: schnetter <> Date: Wed, 18 Jun 2003 16:28:00 +0000 Subject: Do not include header files from other Carpet thorns directly. Do not include header files from other Carpet thorns directly. Instead, use the "INCLUDES HEADER" and "USES INCLUDE HEADER" mechanism. darcs-hash:20030618162807-07bb3-a81444cde6c76e6a24516d108861fc1b5541c643.gz --- CarpetAttic/CarpetIOFlexIOCheckpoint/interface.ccl | 10 +++++++++- .../CarpetIOFlexIOCheckpoint/src/checkpointrestart.cc | 15 +++++++-------- CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexio.cc | 12 ++++++------ 3 files changed, 22 insertions(+), 15 deletions(-) (limited to 'CarpetAttic/CarpetIOFlexIOCheckpoint') diff --git a/CarpetAttic/CarpetIOFlexIOCheckpoint/interface.ccl b/CarpetAttic/CarpetIOFlexIOCheckpoint/interface.ccl index 6944ca62a..48f2fee82 100644 --- a/CarpetAttic/CarpetIOFlexIOCheckpoint/interface.ccl +++ b/CarpetAttic/CarpetIOFlexIOCheckpoint/interface.ccl @@ -1,8 +1,16 @@ # Interface definition for thorn CarpetIOFlexIO -# $Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIOCheckpoint/interface.ccl,v 1.1 2003/05/16 14:02:18 hawke Exp $ +# $Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIOCheckpoint/interface.ccl,v 1.2 2003/06/18 18:28:07 schnetter Exp $ implements: IOFlexIO inherits: CarpetLib driver Hyperslab uses include header: carpet.hh + +uses include header: bbox.hh +uses include header: vect.hh + +uses include header: data.hh +uses include header: gdata.hh + +uses include header: ggf.hh diff --git a/CarpetAttic/CarpetIOFlexIOCheckpoint/src/checkpointrestart.cc b/CarpetAttic/CarpetIOFlexIOCheckpoint/src/checkpointrestart.cc index 3c928787f..93b08ef47 100644 --- a/CarpetAttic/CarpetIOFlexIOCheckpoint/src/checkpointrestart.cc +++ b/CarpetAttic/CarpetIOFlexIOCheckpoint/src/checkpointrestart.cc @@ -31,24 +31,23 @@ #include "cctk_Version.h" -#include "CactusBase/IOUtil/src/ioGH.h" - -#include "Carpet/CarpetLib/src/bbox.hh" -#include "Carpet/CarpetLib/src/data.hh" -#include "Carpet/CarpetLib/src/gdata.hh" -#include "Carpet/CarpetLib/src/ggf.hh" -#include "Carpet/CarpetLib/src/vect.hh" #include "CactusBase/IOUtil/src/ioGH.h" #include "CactusBase/IOUtil/src/ioutil_CheckpointRecovery.h" #include "CactusBase/IOUtil/src/ioutil_Utils.h" +#include "bbox.hh" +#include "data.hh" +#include "gdata.hh" +#include "ggf.hh" +#include "vect.hh" + //#include "StoreNamedData.h" #include "carpet.hh" #include "ioflexio.hh" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIOCheckpoint/src/checkpointrestart.cc,v 1.3 2003/06/18 18:24:28 schnetter Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIOCheckpoint/src/checkpointrestart.cc,v 1.4 2003/06/18 18:28:07 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetIOFlexIO_checkpointrestart_cc); } diff --git a/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexio.cc b/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexio.cc index 0806e1ea0..fa572180d 100644 --- a/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexio.cc +++ b/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexio.cc @@ -32,18 +32,18 @@ #include "CactusBase/IOUtil/src/ioGH.h" -#include "Carpet/CarpetLib/src/bbox.hh" -#include "Carpet/CarpetLib/src/data.hh" -#include "Carpet/CarpetLib/src/gdata.hh" -#include "Carpet/CarpetLib/src/ggf.hh" -#include "Carpet/CarpetLib/src/vect.hh" +#include "bbox.hh" +#include "data.hh" +#include "gdata.hh" +#include "ggf.hh" +#include "vect.hh" #include "carpet.hh" #include "ioflexio.hh" extern "C" { - static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexio.cc,v 1.2 2003/06/18 18:24:28 schnetter Exp $"; + static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/CarpetAttic/CarpetIOFlexIOCheckpoint/src/ioflexio.cc,v 1.3 2003/06/18 18:28:07 schnetter Exp $"; CCTK_FILEVERSION(Carpet_CarpetIOFlexIO_ioflexio_cc); } -- cgit v1.2.3