python-hydro / pyro2

A framework for hydrodynamics explorations and prototyping
https://python-hydro.github.io/pyro2
BSD 3-Clause "New" or "Revised" License
305 stars 124 forks source link

Add units #42

Open zingale opened 6 years ago

zingale commented 6 years ago

We should attach units to quantities using the unyt library

zingale commented 6 years ago

https://github.com/yt-project/unyt/issues/39

harpolea commented 6 years ago

@mojiastonybrook: Looking at https://github.com/python-hydro/pyro2/blob/units/mesh/array_indexer.py in https://github.com/python-hydro/pyro2/commit/35f74c4889d5556eb6bdeee00689ebd6bec7cf33, I've noticed a couple of things: