summaryrefslogtreecommitdiff
path: root/Examples/test-suite/preproc.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/preproc.i')
-rw-r--r--Examples/test-suite/preproc.i5
1 files changed, 5 insertions, 0 deletions
diff --git a/Examples/test-suite/preproc.i b/Examples/test-suite/preproc.i
index 9491fc1d2..b9f357b90 100644
--- a/Examples/test-suite/preproc.i
+++ b/Examples/test-suite/preproc.i
@@ -313,6 +313,11 @@ int test(int defined)
#define MASK(shift, size) (((1 << (size)) - 1) <<(shift))
#define SOME_MASK_DEF (80*MASK(8, 10))
+/* some constants */
+#define BOLTZMANN (1.380658e-23)
+#define AVOGADRO (6.0221367e23)
+#define RGAS (BOLTZMANN*AVOGADRO)
+#define RGASX (BOLTZMANN*AVOGADRO*BOLTZMANN)
%{
#define TEUCHOS_TYPE_NAME_TRAITS_BUILTIN_TYPE_SPECIALIZATION(TYPE) \