aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Cartoon2D_tensors.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Cartoon2D_tensors.h b/src/Cartoon2D_tensors.h
new file mode 100644
index 0000000..4d0092b
--- /dev/null
+++ b/src/Cartoon2D_tensors.h
@@ -0,0 +1,12 @@
+/* Number of tensor types defined */
+#define N_TENSORTYPES 3
+
+/* Tensor types */
+#define TENSORTYPE_SCALAR 0
+#define TENSORTYPE_U 1
+#define TENSORTYPE_DDSYM 2
+
+/* Number of components */
+#define N_TENSORTYPE_SCALAR 1
+#define N_TENSORTYPE_U 3
+#define N_TENSORTYPE_DDSYM 6