diff options
author | schnetter <schnetter@0b95e693-0e4f-0410-b80e-c7e9d0d71539> | 2004-06-22 12:25:32 +0000 |
---|---|---|
committer | schnetter <schnetter@0b95e693-0e4f-0410-b80e-c7e9d0d71539> | 2004-06-22 12:25:32 +0000 |
commit | a4ed801041fecbd4b89aaad943c5059297e4b5ab (patch) | |
tree | 3086f0d1d6284c372498bab669ff1ea83d26132b | |
parent | 679c69d87682f22d1c453839eb652fa473692115 (diff) |
Check the variables instead of the file names.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/IDFileADM/trunk@4 0b95e693-0e4f-0410-b80e-c7e9d0d71539
-rw-r--r-- | param.ccl | 2 | ||||
-rw-r--r-- | src/IDFileADM_ParamCheck.c | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -20,4 +20,4 @@ EXTENDS KEYWORD initial_data shares: IO -USES STRING filereader_ID_files +USES STRING filereader_ID_vars diff --git a/src/IDFileADM_ParamCheck.c b/src/IDFileADM_ParamCheck.c index c5a1df7..40f9bab 100644 --- a/src/IDFileADM_ParamCheck.c +++ b/src/IDFileADM_ParamCheck.c @@ -27,14 +27,14 @@ void IDFileADM_ParamCheck (CCTK_ARGUMENTS) } nvars = CCTK_TraverseString - (filereader_ID_files, callback, variable_is_read, CCTK_GROUP_OR_VAR); + (filereader_ID_vars, callback, variable_is_read, CCTK_GROUP_OR_VAR); assert (nvars >= 0); if (CCTK_EQUALS(initial_lapse, "read from file")) { int const ialp = CCTK_VarIndex ("ADMBase::alp"); assert (ialp >= 0); if (! variable_is_read[ialp]) { - CCTK_PARAMWARN ("The lapse is initialised using the file reader, but the group ADMBase::lapse has not been scheduled to be read. Please set the parameter \"IO::filereader_ID_files\" accordingly."); + CCTK_PARAMWARN ("The lapse is initialised using the file reader, but the group ADMBase::lapse has not been scheduled to be read. Please set the parameter \"IO::filereader_ID_vars\" accordingly."); } } @@ -48,7 +48,7 @@ void IDFileADM_ParamCheck (CCTK_ARGUMENTS) if (! variable_is_read[ibetax] || ! variable_is_read[ibetay] || ! variable_is_read[ibetaz]) { - CCTK_PARAMWARN ("The shift is initialised using the file reader, but the group ADMBase::shift has not been scheduled to be read. Please set the parameter \"IO::filereader_ID_files\" accordingly."); + CCTK_PARAMWARN ("The shift is initialised using the file reader, but the group ADMBase::shift has not been scheduled to be read. Please set the parameter \"IO::filereader_ID_vars\" accordingly."); } } @@ -71,7 +71,7 @@ void IDFileADM_ParamCheck (CCTK_ARGUMENTS) || ! variable_is_read[igyy] || ! variable_is_read[igyz] || ! variable_is_read[igzz]) { - CCTK_PARAMWARN ("The metric is initialised using the file reader, but the group ADMBase::metric has not been scheduled to be read. Please set the parameter \"IO::filereader_ID_files\" accordingly."); + CCTK_PARAMWARN ("The metric is initialised using the file reader, but the group ADMBase::metric has not been scheduled to be read. Please set the parameter \"IO::filereader_ID_vars\" accordingly."); } } |