iliekturtles / uom

Units of measurement -- type-safe zero-cost dimensional analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit for moving mass over distance

leontoeides opened this issue · comments

Good morning! I was looking into implementing this request myself but it seems like getting myself up-to-speed (how the macros work, etc.) might require more time than I have, I'm sorry. This might be a relatively short exercise for someone who already knows what they're doing, though?

I'm looking for the SI equivalent of a ton-mile. For example, moving 1 ton 300 miles would be 300 ton-miles - or - moving 300 tons 1 mile would be 300 ton-miles. i.e. Mass * Length. And of course the mass over distance variations megagram-kilometres, kilogram-metres, kilogram-kilometres, tonne-kilometres, etc.