summaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'interface.ccl')
-rwxr-xr-xinterface.ccl23
1 files changed, 23 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
new file mode 100755
index 0000000..8d165df
--- /dev/null
+++ b/interface.ccl
@@ -0,0 +1,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
+
+