aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@0b95e693-0e4f-0410-b80e-c7e9d0d71539>2004-06-22 12:25:32 +0000
committerschnetter <schnetter@0b95e693-0e4f-0410-b80e-c7e9d0d71539>2004-06-22 12:25:32 +0000
commita4ed801041fecbd4b89aaad943c5059297e4b5ab (patch)
tree3086f0d1d6284c372498bab669ff1ea83d26132b /src
parent679c69d87682f22d1c453839eb652fa473692115 (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
Diffstat (limited to 'src')
-rw-r--r--src/IDFileADM_ParamCheck.c8
1 files changed, 4 insertions, 4 deletions
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.");
}
}