diff options
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\""); } } |