diff options
author | knarf <knarf@0a999221-0efe-4d2d-b270-2ec6803ffb49> | 2009-12-02 22:22:52 +0000 |
---|---|---|
committer | knarf <knarf@0a999221-0efe-4d2d-b270-2ec6803ffb49> | 2009-12-02 22:22:52 +0000 |
commit | 009e6b85882170b646ee8ef895b82d77c5ca2505 (patch) | |
tree | e4ddc81c8871e16a00368ceb1952e1fc4b37f68f /interface.ccl | |
parent | 04d9e2af959e28cad9f8fea508e35c393228a265 (diff) |
thorns for general eos interface (moved from Whisky_Dev repositories)
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEOS/EOSG_Hybrid/trunk@2 0a999221-0efe-4d2d-b270-2ec6803ffb49
Diffstat (limited to 'interface.ccl')
-rwxr-xr-x | interface.ccl | 23 |
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 + + |