"platforms/cuda2/tests/TestCudaCustomNonbondedForce.cpp" did not exist on "84d482e28ac5539c004b40a13aa9eaeda6728405"
  • Jason Swails's avatar
    A large number of unit cleanups and fix numpy wart · 4ae68749
    Jason Swails authored
    The main thing that's done here is that numpy arrays can be given units via the
    * operator, rather than relying on the Quantity constructor
    
    e.g.,
    
    >>> import numpy as np
    >>> np.zeros(10) * u.angstroms
    Quantity(value=array([ 0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.,  0.]), unit=angstrom)
    
    yay!
    4ae68749
baseunit.py 6.77 KB