blob: daa938b7522a5558c46111e527f252e01899752f (
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
46
47
48
49
50
51
|
c -*-Fortran-*-
c $Header:$
/*@@
@file CheckParameters.F77
@date
@author Gabrielle Allen
@desc
Check parameters for the wave equation initial data
@enddesc
@@*/
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"
/*@@
@routine IDScalarWave_CheckParameters
@date
@author Gabrielle Allen
@desc
Check parameters for the wave equation initial data
@enddesc
@calls
@calledby
@history
@endhistory
@@*/
subroutine IDScalarWave_CheckParameters(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_FUNCTIONS
DECLARE_CCTK_PARAMETERS
if (CCTK_EQUALS(initial_data,"box")) then
if (kx.eq.0 .or. ky.eq.0 .or. kz.eq.0) then
call CCTK_PARAMWARN("Cannot have zero kx,ky,kz for box initial data")
end if
end if
return
end
|