aboutsummaryrefslogtreecommitdiff
path: root/src/ParamCheck.c
diff options
context:
space:
mode:
authorallen <allen@5301f0c2-dbc4-4cee-b2f5-8d7afba4d129>2002-05-17 00:30:46 +0000
committerallen <allen@5301f0c2-dbc4-4cee-b2f5-8d7afba4d129>2002-05-17 00:30:46 +0000
commite2d3b0c557cfa6ea935b3879704ae5ba06d2e88f (patch)
treeed263122a21dcdf2ad34f7cf579b5d442ab63bc7 /src/ParamCheck.c
parentb210693255c232021d65d99a23cb3e66041f770e (diff)
Work with a physical metric
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/Extract/trunk@54 5301f0c2-dbc4-4cee-b2f5-8d7afba4d129
Diffstat (limited to 'src/ParamCheck.c')
-rw-r--r--src/ParamCheck.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c
index c5a4684..ae68e81 100644
--- a/src/ParamCheck.c
+++ b/src/ParamCheck.c
@@ -37,8 +37,9 @@ void Extract_ParamCheck(CCTK_ARGUMENTS)
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_PARAMETERS
- if(! CCTK_EQUALS(metric_type, "static conformal"))
+ if(! (CCTK_EQUALS(metric_type, "physical") ||
+ CCTK_EQUALS(metric_type, "static conformal")))
{
- CCTK_PARAMWARN("Extract only works currently with metric_type \"static conformal\"");
+ CCTK_PARAMWARN("Extract only works currently with metric_type \"static conformal\" or \"physical\"");
}
}