[Commits] [svn:einsteintoolkit] EOS_Omni/trunk/src/nuc_eos_cxx/ (Rev. 98)
rhaas at tapir.caltech.edu
rhaas at tapir.caltech.edu
Wed Mar 12 22:01:46 CDT 2014
User: rhaas
Date: 2014/03/12 10:01 PM
Modified:
/trunk/src/nuc_eos_cxx/
nuc_eos.hh
Log:
EOS_Omni: add comments and TODOs
From: Roland Haas <rhaas at tapir.caltech.edu>
File Changes:
Directory: /trunk/src/nuc_eos_cxx/
==================================
File [modified]: nuc_eos.hh
Delta lines: +5 -1
===================================================================
--- trunk/src/nuc_eos_cxx/nuc_eos.hh 2014-03-13 03:01:42 UTC (rev 97)
+++ trunk/src/nuc_eos_cxx/nuc_eos.hh 2014-03-13 03:01:46 UTC (rev 98)
@@ -3,6 +3,8 @@
#include "cctk.h"
+// TODO: remove hard coded constants
+// TODO: introduce defines for table index of variables
#define HAVEGR 1
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
@@ -70,7 +72,9 @@
// 16 Abar
// 17 Zbar
// 18 Gamma
-
+ enum eos_var {i_logpress=0, i_logenergy, i_entropy, i_munu, i_cs2, i_dedt,
+ i_dpdrhoe, i_dpderho, i_muhat, i_mu_e, i_mu_p, i_mu_n, i_Xa,
+ i_Xh, i_Xn, i_Xp, i_Abar, i_Zbar, i_Gamma};
}
#endif // NUC_EOS_HH
More information about the Commits
mailing list