diff options
author | gundlach <gundlach@e296648e-0e4f-0410-bd07-d597d9acff87> | 2003-02-07 17:49:34 +0000 |
---|---|---|
committer | gundlach <gundlach@e296648e-0e4f-0410-bd07-d597d9acff87> | 2003-02-07 17:49:34 +0000 |
commit | 827f01e7e559a2e5af52a4823fea881bdebf846b (patch) | |
tree | 40878cd3c9038c895de3974c35e337e798b5eb3d /src/ParamCheck.c | |
parent | a084efeaad141719181a11c9dfc5079e55670a28 (diff) |
initial_data="slice" and evolution_method="slice" were broken:
They need storage for shift, and storage for slicetempx1 and slicetempx2.
Carsten 7.2.03
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/Exact/trunk@156 e296648e-0e4f-0410-bd07-d597d9acff87
Diffstat (limited to 'src/ParamCheck.c')
-rw-r--r-- | src/ParamCheck.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c index c66125e..d8c838d 100644 --- a/src/ParamCheck.c +++ b/src/ParamCheck.c @@ -70,7 +70,9 @@ void Exact_ParamCheck(CCTK_ARGUMENTS) CCTK_PARAMWARN("Unknown ADMBase::metric_type - known types are \"physical\""); } */ - if ( CCTK_EQUALS(shift_evolution_method, "exact") + if ( (CCTK_EQUALS(shift_evolution_method, "exact") + || CCTK_EQUALS(shift_evolution_method, "slice") + || CCTK_EQUALS(initial_data, "slice")) && CCTK_EQUALS(initial_shift, "none") ) { CCTK_PARAMWARN( |