aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'interface.ccl')
-rwxr-xr-xinterface.ccl17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index 2806eac..7b892a0 100755
--- a/interface.ccl
+++ b/interface.ccl
@@ -8,6 +8,23 @@ public:
# These variables correspond to the Valencia formulation
+# HydroBase uses the following conventions:
+# M = M_sun
+# c = G = 1
+
+# We also assume the following constants of nature:
+# c = 299792458.0 m/s
+# G = 6.67428e-11 m^3/kg/s^2
+# mu0 = 4 pi 1.0e-7 N/A^2
+# eps0 = 1 / (mu0 c^2)
+# M_sun = 1.98892e+30 kg
+
+# This corresponds to the following units:
+# [M] = M_sun
+# [L] = [M] (G / c^2)
+# [T] = [L] / c
+# [B] = 1 / [L] / sqrt(eps0 G / c^2))
+
CCTK_REAL rho type = GF Timelevels = 3 tags='ProlongationParameter="HydroBase::prolongation_type" tensortypealias="Scalar" interpolator="matter"' "rest mass density"
CCTK_REAL press type = GF Timelevels = 3 tags='ProlongationParameter="HydroBase::prolongation_type" tensortypealias="Scalar" interpolator="matter"' "gas pressure"
CCTK_REAL eps type = GF Timelevels = 3 tags='ProlongationParameter="HydroBase::prolongation_type" tensortypealias="Scalar" interpolator="matter"' "internal energy density"