aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjthorn <jthorn@e296648e-0e4f-0410-bd07-d597d9acff87>2002-06-16 20:23:07 +0000
committerjthorn <jthorn@e296648e-0e4f-0410-bd07-d597d9acff87>2002-06-16 20:23:07 +0000
commit1074808bc9e92a731f2aeccd59b6e56f71e5142f (patch)
treea3295bef4c914a88f1cee896f4f0d87ef6422968 /src
parentcec58c914b1b3a7baad3acabfbdf6c211615c416 (diff)
expand/clarify warning text:
" You set ADMBase::shift_evolution_method = \"exact\" , which means\n" " this thorn (Exact) should set the shift vector from the exact solution.\n" " But you also set ADMBase::initial_shift = \"none\" , which means\n" " storage for the shift vector is turned off! You need to either specify\n" " a different ADMBase::shift_evolution_method , and/or turn on storage\n" " for the shift vector by setting ADMBase::initial_shift to something\n" " other than \"none\".\n" git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Exact/trunk@105 e296648e-0e4f-0410-bd07-d597d9acff87
Diffstat (limited to 'src')
-rw-r--r--src/ParamCheck.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c
index 27c10a4..ed19b5b 100644
--- a/src/ParamCheck.c
+++ b/src/ParamCheck.c
@@ -73,7 +73,16 @@ void Exact_ParamCheck(CCTK_ARGUMENTS)
if ( CCTK_EQUALS(shift_evolution_method, "exact")
&& CCTK_EQUALS(initial_shift, "none") )
{
- CCTK_PARAMWARN("can't set the shift if there's no storage for it!");
+ CCTK_PARAMWARN(
+"\n"
+" You set ADMBase::shift_evolution_method = \"exact\" , which means\n"
+" this thorn (Exact) should set the shift vector from the exact solution.\n"
+" But you also set ADMBase::initial_shift = \"none\" , which means\n"
+" storage for the shift vector is turned off! You need to either specify\n"
+" a different ADMBase::shift_evolution_method , and/or turn on storage\n"
+" for the shift vector by setting ADMBase::initial_shift to something\n"
+" other than \"none\".\n"
+ );
}
}