diff options
author | schnetter <schnetter@0994f19a-7e1f-4f5a-9787-1e7a3bb7f33f> | 2009-11-24 21:52:23 +0000 |
---|---|---|
committer | schnetter <schnetter@0994f19a-7e1f-4f5a-9787-1e7a3bb7f33f> | 2009-11-24 21:52:23 +0000 |
commit | 2d52ce734e4775c90f0ad3e85c819ecc0dea2738 (patch) | |
tree | 64d3208f0230dc5015110b818b449dc5dc5c647d /src/check_parameters.cc | |
parent | b1825e55f722264f9e54dfd783deca2addc76130 (diff) |
Add three thorns ID_Bin_BH, ID_Bin_NS, and ID_Mag_NS that import
LORENE initial data.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Meudon_Bin_BH/trunk@2 0994f19a-7e1f-4f5a-9787-1e7a3bb7f33f
Diffstat (limited to 'src/check_parameters.cc')
-rw-r--r-- | src/check_parameters.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/check_parameters.cc b/src/check_parameters.cc new file mode 100644 index 0000000..1709d8d --- /dev/null +++ b/src/check_parameters.cc @@ -0,0 +1,19 @@ +#include <cctk.h> +#include <cctk_Arguments.h> +#include <cctk_Parameters.h> + + + +extern "C" +void ID_Bin_BH_check_parameters (CCTK_ARGUMENTS) +{ + DECLARE_CCTK_ARGUMENTS; + DECLARE_CCTK_PARAMETERS; + + if (not CCTK_EQUALS (initial_data , "ID_Bin_BH") or + not CCTK_EQUALS (initial_lapse, "ID_Bin_BH") or + not CCTK_EQUALS (initial_shift, "ID_Bin_BH")) + { + CCTK_PARAMWARN ("The parameters ADMBase::initial_data, ADMBase::initial_lapse, and ADMBase::initial_shift must all be set to the value \"ID_Bin_BH\""); + } +} |