diff options
author | schnetter <schnetter@9a8dfbc3-8997-403f-b745-98a780c092cc> | 2009-12-09 19:37:50 +0000 |
---|---|---|
committer | schnetter <schnetter@9a8dfbc3-8997-403f-b745-98a780c092cc> | 2009-12-09 19:37:50 +0000 |
commit | 1868a0bbd2157744830bec00bc3bee79a88804b0 (patch) | |
tree | a157d3fe54ae24c8e80339db30b95e58dca9203f /src/check_parameters.cc | |
parent | 8ae846323f2616ef21303f472b86cf6fa32e955d (diff) |
Initialise the time derivatives of lapse and shift only if they have
storage
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Meudon_Mag_NS/trunk@7 9a8dfbc3-8997-403f-b745-98a780c092cc
Diffstat (limited to 'src/check_parameters.cc')
-rw-r--r-- | src/check_parameters.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/check_parameters.cc b/src/check_parameters.cc index fe0680c..bb085cd 100644 --- a/src/check_parameters.cc +++ b/src/check_parameters.cc @@ -13,11 +13,13 @@ void ID_Mag_NS_check_parameters (CCTK_ARGUMENTS) if (not CCTK_EQUALS (initial_data, "ID_Mag_NS") or not CCTK_EQUALS (initial_lapse, "ID_Mag_NS") or not CCTK_EQUALS (initial_shift, "ID_Mag_NS") or - not CCTK_EQUALS (initial_dtlapse, "ID_Mag_NS") or - not CCTK_EQUALS (initial_dtshift, "ID_Mag_NS") or + not (CCTK_EQUALS (initial_dtlapse, "ID_Mag_NS") or + CCTK_EQUALS (initial_dtlapse, "none")) or + not (CCTK_EQUALS (initial_dtshift, "ID_Mag_NS") or + CCTK_EQUALS (initial_dtshift, "none")) or not CCTK_EQUALS (initial_hydro, "ID_Mag_NS") or not CCTK_EQUALS (initial_Bvec, "ID_Mag_NS")) { - CCTK_PARAMWARN ("The parameters ADMBase::initial_data, ADMBase::initial_lapse, ADMBase::initial_shift, ADMBase::initial_dtlapse, ADMBase::initial_dtshift, HydroBase::initial_hydro, and HydroBase::initial_Bvec must all be set to the value \"ID_Mag_NS\""); + CCTK_PARAMWARN ("The parameters ADMBase::initial_data, ADMBase::initial_lapse, ADMBase::initial_shift, ADMBase::initial_dtlapse, ADMBase::initial_dtshift, HydroBase::initial_hydro, and HydroBase::initial_Bvec must all be set to the value \"ID_Mag_NS\" or \"none\""); } } |