aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-26 12:20:05 +0100
committerThomas White <taw@physics.org>2009-11-26 12:20:14 +0100
commit3d22f28223ee6dcef7e8d0cba247ac112942e344 (patch)
tree8dd47d46eb78bc52ce284ec833af46342320e86a /src/utils.h
parentfe9063f6c7b353d6ab983052d55fe63b093a5335 (diff)
Move constants around
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index c89466c3..b4b5a58e 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -36,8 +36,17 @@
/* Thomson scattering length (m) */
#define THOMSON_LENGTH (2.81794e-15)
+/* Density of water in kg/m^3 */
+#define WATER_DENSITY (1.0e6)
-/* --------------------------- Useful datatypes ----------------------------- */
+/* Molar mass of water, in kg/mol */
+#define WATER_MOLAR_MASS (18.01528e3)
+
+/* Avogadro's number */
+#define AVOGADRO (6.022e23)
+
+
+/* ------------------------------ Quaternions ------------------------------- */
struct quaternion
{