summaryrefslogtreecommitdiff
path: root/dimensionfile.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dimensionfile.txt')
-rw-r--r--dimensionfile.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/dimensionfile.txt b/dimensionfile.txt
new file mode 100644
index 0000000..3485de5
--- /dev/null
+++ b/dimensionfile.txt
@@ -0,0 +1,18 @@
+# A file for the unit dimensions in my unit converter program
+
+# SI Base Dimensions
+# ! means "look for an existing dimension which I will load at the start"
+# This is necessary because every dimension must be defined by others, and I need somewhere to start.
+
+# I have excluded electric current, quantity and luminous intensity since their units are exclusively SI.
+
+LENGTH !
+MASS !
+TIME !
+TEMPERATURE !
+
+# Derived Dimensions
+AREA LENGTH^2
+VOLUME LENGTH^3
+VELOCITY LENGTH / TIME
+ENERGY MASS * VELOCITY^2 \ No newline at end of file