summaryrefslogtreecommitdiff
path: root/src/main/resources/dimensionfile.txt
diff options
context:
space:
mode:
authorAdrien Hopkins <ahopk127@my.yorku.ca>2021-03-27 18:00:14 -0500
committerAdrien Hopkins <ahopk127@my.yorku.ca>2021-03-27 18:00:14 -0500
commit3e6fee9561a00e5d9958c5685336c9d68c8629e1 (patch)
tree61ce842d1e982f41c32a87adfcabe2b2a4c1bde2 /src/main/resources/dimensionfile.txt
parentc767cfda66e22f6e6b2f87b3a4ded850352e909d (diff)
Used resources instead of Paths to make the generated jar work
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