aboutsummaryrefslogtreecommitdiff
path: root/CarpetExtra/SpaceTimeToy/interface.ccl
blob: b4eb1261e5c646d5ae6f89c909053ac4595fa214 (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
# Interface definition for thorn SpaceTimeToy
# $Header:$

implements: spacetimetoy
inherits: hydrotoy grid



CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, \
  CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, \
  CCTK_STRING IN group_name, CCTK_STRING IN bc_name)
REQUIRES FUNCTION Boundary_SelectGroupForBC



public:

CCTK_REAL spacetimeevolve type=GF timelevels=3
{
  phi psi
} "The evolved spacetime fields"

private:

CCTK_REAL spacetimetemps type=GF
{
  phi_i psi_i
} "Intermediate values for the integrator"

CCTK_REAL hydrotemps type=GF
{
  u_i vx_i vy_i vz_i
} "Intermediate vales for the integrator"



private:

CCTK_INT icn_state type=SCALAR
{
  icn_iteration
  do_iterate
} "Current iteration and termination flag for ICN integrator"