Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add units #42

Open
zingale opened this issue Jul 6, 2018 · 2 comments
Open

Add units #42

zingale opened this issue Jul 6, 2018 · 2 comments

Comments

@zingale
Copy link
Collaborator

zingale commented Jul 6, 2018

We should attach units to quantities using the unyt library

@zingale
Copy link
Collaborator Author

zingale commented Jul 30, 2018

yt-project/unyt#39

@harpolea
Copy link
Collaborator

harpolea commented Aug 10, 2018

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

    F_xt = myg.scratch_array()
    F_yt = myg.scratch_array()
    F_xt[:,:] = u*a_x
    F_yt[:,:] = v*a_y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants