aboutsummaryrefslogtreecommitdiff
path: root/CarpetExtra/FOWaveToyF77/interface.ccl
blob: 8c359e5c91f0e9c3b712dd276cf24200b62f1033 (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
# Interface definition for thorn WaveToyF77
# $Header: /home/eschnett/C/carpet/Carpet/CarpetExtra/FOWaveToyF77/interface.ccl,v 1.4 2003/06/26 20:28:15 shawley Exp $

implements: FOwavetoy
inherits: boundary grid idFOscalarwave

USES INCLUDE: Symmetry.h

public:

CCTK_REAL scalarevolve type=GF timelevels=3
{
  phi
} "The evolved scalar field phi" 


# Maybe these should be protected, but we could manage to get both
# scalarevolve and scalarevolve_derivs passed to IDFOScalarWave
public:

CCTK_REAL scalarevolve_derivs type=GF timelevels=3
{
  pi,
  phix,
  phiy,
  phiz,
} "Time and space derivatives of phi"

CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER IN GH, \
  CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, \
  CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
USES FUNCTION Boundary_SelectVarForBC