summaryrefslogtreecommitdiff
path: root/dimensionfile.txt
diff options
context:
space:
mode:
authorAdrien Hopkins <adrien.p.hopkins@gmail.com>2019-04-13 12:17:14 -0400
committerAdrien Hopkins <adrien.p.hopkins@gmail.com>2019-04-13 12:17:14 -0400
commite0c5021a9ba85debf0c0722d78f75a0dbcc8376b (patch)
treefff7da15995839b099f1e5b66111e94da9b9b3b2 /dimensionfile.txt
parent8e613844ae19a4dea2089ac34c1f0ae650eaeae7 (diff)
Implemented the dimension-based converter.
Also added a search box list, and fixed a bug with dimension exponentiation.
Diffstat (limited to 'dimensionfile.txt')
-rw-r--r--dimensionfile.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/dimensionfile.txt b/dimensionfile.txt
index d3c068c..7a1da10 100644
--- a/dimensionfile.txt
+++ b/dimensionfile.txt
@@ -4,10 +4,14 @@
# ! 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 and quantity since their units are exclusively SI.
+
LENGTH !
MASS !
TIME !
-ELECTRIC_CURRENT !
TEMPERATURE !
-QUANTITY !
-LUMINOUS_INTENSITY ! \ No newline at end of file
+LUMINOUS_INTENSITY !
+
+# Derived Dimensions
+VELOCITY LENGTH / TIME
+ENERGY MASS * VELOCITY^2 \ No newline at end of file