Skip to content

Add units #42

Open
Open

Description

@zingale

We should attach units to quantities using the unyt library

Activity

  1. zingale commented on Jul 30, 2018

    @zingale
    CollaboratorAuthor
  2. harpolea commented on Aug 10, 2018

    @harpolea
    Collaborator

    @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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions