/* @file CheckParameters.c @date @author Gabrielle Allen @desc Check parameters for the wave equation initial data @enddesc @version $Header$ @@*/ #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION(CactusWave_IDScalarWaveC_CheckParameters_c) void IDScalarWaveC_CheckParameters(CCTK_ARGUMENTS); /*@@ @routine IDScalarWaveC_CheckParameters @date @author Gabrielle Allen @desc Check parameters for the wave equation initial data @enddesc @calls @calledby @history @hdate Mon Oct 11 11:49:21 1999 @hauthor Tom Goodale @hdesc Converted to C++ @hdate Thu Feb 17 09:20:41 2000 @hauthor Tom Goodale @hdesc Converted to C @endhistory @@*/ void IDScalarWaveC_CheckParameters(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS DECLARE_CCTK_PARAMETERS if(CCTK_Equals(initial_data,"box")) { if (!CCTK_Equals(type, "box")) { CCTK_PARAMWARN("Must have a box grid with box initial data"); } } return; }