aboutsummaryrefslogtreecommitdiff
path: root/src/ParamCheck.c
blob: ae68e81ba77cb96e209776bd9d86339382b2a994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 /*@@
   @file      ParamCheck.c
   @date      April 26 2002
   @author    Gabrielle Allen
   @desc 
      Check parameters for Extract
   @enddesc 
 @@*/

#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"

static const char *rcsid = "$Header$";

CCTK_FILEVERSION(CactusEinstein_Extract_ParamCheck_c)

void Extract_ParamCheck(CCTK_ARGUMENTS);

 /*@@
   @routine    Extract_ParamCheck
   @date       April 26 2002
   @author     Gabrielle Allen
   @desc 
      Check parameters for Extract
   @enddesc 
   @calls     
   @history  
 
   @endhistory 

@@*/

void Extract_ParamCheck(CCTK_ARGUMENTS)
{

  DECLARE_CCTK_ARGUMENTS
  DECLARE_CCTK_PARAMETERS

  if(! (CCTK_EQUALS(metric_type, "physical") || 
	CCTK_EQUALS(metric_type, "static conformal")))
  {
    CCTK_PARAMWARN("Extract only works currently with metric_type \"static conformal\" or \"physical\"");
  }
}