aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/CarpetParamCheck.cc
diff options
context:
space:
mode:
authorschnetter <>2002-03-23 19:20:00 +0000
committerschnetter <>2002-03-23 19:20:00 +0000
commit6597a97dd2dbee2fec4a83dc831af3a0db072017 (patch)
tree41181e663b74665734ae7aa6a3e35866998545c7 /Carpet/Carpet/src/CarpetParamCheck.cc
parent136d17b0877cc8d9522b6e69785fcab1e6d5cb5e (diff)
Fixed a bug in CarpetSlab; was using the local instead of the global
Fixed a bug in CarpetSlab; was using the local instead of the global extent. Added a more comfortable way to specify the refined region. The new method has no restrictions. Added a way to specify the location of the outer boundary explicitely. Added dummy parameter "periodic*" so that Carpet can be used as drop-in replacement of PUGH (at least when running without refinement). darcs-hash:20020323192054-07bb3-2b9208c8a6b54a55c98d4035095cd4ff6ebcd447.gz
Diffstat (limited to 'Carpet/Carpet/src/CarpetParamCheck.cc')
-rw-r--r--Carpet/Carpet/src/CarpetParamCheck.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/CarpetParamCheck.cc b/Carpet/Carpet/src/CarpetParamCheck.cc
index c948e79ab..82bbac64f 100644
--- a/Carpet/Carpet/src/CarpetParamCheck.cc
+++ b/Carpet/Carpet/src/CarpetParamCheck.cc
@@ -8,7 +8,7 @@
#include "carpet.hh"
-static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/CarpetParamCheck.cc,v 1.2 2001/12/09 16:41:52 schnetter Exp $";
+static const char* rcsid = "$Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/CarpetParamCheck.cc,v 1.3 2002/03/23 20:20:54 schnetter Exp $";
@@ -21,6 +21,13 @@ namespace Carpet {
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
+ if (CCTK_ParameterQueryTimesSet ("periodic", "Carpet")
+ || CCTK_ParameterQueryTimesSet ("periodic_x", "Carpet")
+ || CCTK_ParameterQueryTimesSet ("periodic_y", "Carpet")
+ || CCTK_ParameterQueryTimesSet ("periodic_z", "Carpet")) {
+ CCTK_PARAMWARN ("Some of the parameters \"Carpet::periodic*\" have been set. These parameters are there for compatibility reasons only and must not be used.");
+ }
+
return 0;
}