summaryrefslogtreecommitdiff
path: root/interface.ccl
blob: 8d165dfbfb61b3fd0572ffcadb13ccf442d826ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Interface definition for thorn EOS_GeneralHybrid
# $Header$

implements: EOS_GeneralHybrid
inherits: HydroBase
friend: EOS_GeneralPolytrope

real pressure_contributions type = GF tags='Prolongation="None"'
{
  pressure_poly, pressure_th
} "Polytropic and thermal contributions to the pressure"


CCTK_INT FUNCTION EOS_RegisterCall(CCTK_INT IN table_handle, \
                                   CCTK_INT IN CCTK_FPOINTER \
                                     EOS_fn(CCTK_INT IN param_table, \
                                            CCTK_INT IN n_elems, \
                                            CCTK_POINTER ARRAY IN indeps, \
                                            CCTK_INT ARRAY IN which_deps, \
                                            CCTK_POINTER ARRAY OUT deps))
USES FUNCTION EOS_RegisterCall