summaryrefslogtreecommitdiff
path: root/src/main/resources/dimensionfile.txt
diff options
context:
space:
mode:
authorAdrien Hopkins <ahopk127@my.yorku.ca>2021-06-12 07:37:14 -0500
committerAdrien Hopkins <ahopk127@my.yorku.ca>2021-06-12 07:37:14 -0500
commit360b4261ebb9b65dcf91a6e49c5d23784e592945 (patch)
treef4b35e7dbf6ddd0b89bc46e2e34f2b84bdf161d7 /src/main/resources/dimensionfile.txt
parent910b2f1b448ec56e6a66f4aa4f72e71c39de40a1 (diff)
parent41b0eda07403db9b09184b79060bcc323dcdc753 (diff)
Merge branch 'release-0.3.0'
Diffstat (limited to 'src/main/resources/dimensionfile.txt')
-rw-r--r--src/main/resources/dimensionfile.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/resources/dimensionfile.txt b/src/main/resources/dimensionfile.txt
new file mode 100644
index 0000000..3485de5
--- /dev/null
+++ b/src/main/resources/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