1. 26 Jun, 2015 1 commit
  2. 23 Jun, 2015 4 commits
  3. 19 Jun, 2015 5 commits
  4. 12 Jun, 2015 1 commit
  5. 05 Jun, 2015 1 commit
  6. 04 Jun, 2015 2 commits
  7. 03 Jun, 2015 1 commit
  8. 30 May, 2015 1 commit
  9. 27 May, 2015 3 commits
    • peastman's avatar
      GBn now uses Discrete2DFunctions · dafd0f97
      peastman authored
      dafd0f97
    • Jason Swails's avatar
      support gen-pairs=no in Gromacs · deb6d66c
      Jason Swails authored
      This was actually fully supported already, since it parsed pairtypes and
      assigned the exception parameters correctly from there. All this does is throw
      an exception when pair parameters are not defined and gen-pairs=no.
      deb6d66c
    • Jason Swails's avatar
      Eliminate scipy RuntimeWarning when reading NetCDF restart files · 8908f33b
      Jason Swails authored
      Due to a bug that was uncovered in mdtraj with scipy's NetCDF implementation
      regarding mmapping, scipy started issuing the following warning if any NetCDF
      variable objects had references remaining after closing the file:
      
      /.../lib/python2.7/site-packages/scipy/io/netcdf.py:287:
      RuntimeWarning: Cannot close a netcdf_file opened with mmap=True, when
      netcdf_variables or arrays referring to its data still exist. All data arrays
      obtained from such files refer directly to data on disk, and must be copied
      before the file can be cleanly closed. (See netcdf_file docstring for more
      information on mmap.)
      
      We were already copying data to avoid segfaults on some scipy versions, but
      there were still references to variables that went out of scope shortly after
      the NetCDF file was closed.  Simply deleting these references gets rid of the
      warning.
      8908f33b
  10. 26 May, 2015 3 commits
  11. 19 May, 2015 1 commit
  12. 18 May, 2015 2 commits
    • Jason Swails's avatar
      Add a test for the previous commit. · 3e84be61
      Jason Swails authored
      3e84be61
    • Jason Swails's avatar
      Fix Gromacs #define replacement and add support for Gromacs 5 · a1483ec5
      Jason Swails authored
      Gromacs uses the preprocessor to replace previously #define'd tokens in strings.
      This is used, for instance, to override certain parameters without having to
      introduce new file types.  This is how Gromacs implemented ff99SB-ILDN (i.e., by
      simply replacing the chi torsion for isoleucine, leucine, aspartate, and
      asparagine with a define token).  So OpenMM *was* missing some in-line
      parameters that were defined.
      
      The immediate consequence I see is that whenever someone tried to run
      ff99SB-ILDN with OpenMM, what they were *really* getting was ff99SB. Not sure
      where else, if anywhere, this kind of thing was happening.
      a1483ec5
  13. 14 May, 2015 1 commit
  14. 13 May, 2015 1 commit
  15. 12 May, 2015 1 commit
  16. 06 May, 2015 1 commit
  17. 05 May, 2015 1 commit
  18. 04 May, 2015 3 commits
  19. 02 May, 2015 2 commits
  20. 22 Apr, 2015 5 commits
    • Jason Swails's avatar
      Add tests and fix up getByMass · f97f8685
      Jason Swails authored
      This also removes assert statements, since those can't be relied upon to *not*
      be optimized away -- they should never be used to check user input sanity.
      f97f8685
    • Jason Swails's avatar
      Work around a bug in chemistry · c03aa301
      Jason Swails authored
      Masses do not increase monotonically with atomic number
      c03aa301
    • Jason Swails's avatar
      Fix up Residue assignment in CharmmPsfFile Topology · 7f802839
      Jason Swails authored
      Also fixes the test case.  Everything should pass now.
      7f802839
    • Jason Swails's avatar
      More getElementByMass performance improvements · 84691dc4
      Jason Swails authored
      Reduces time taken from 15.7 seconds (last commit) to 2.2 seconds by avoiding
      Quantity comparisons altogether.
      84691dc4
    • Jason Swails's avatar
      Drastically improve performance of getElementByMass · 8bcff367
      Jason Swails authored
      The old approach iterated through the entire periodic table by atomic number and
      subtracted the provided mass by the element's mass and kept track of the
      smallest difference. The new approach steps through the elements in order of
      atomic number and bails once it hits an element with a higher mass than the
      target mass (assuming masses are monotonically increasing).
      
      On my desktop, processing 4TVP-dmj_wat-ion.psf dropped from 297 s to 15.4 s. But
      15.4 s is still a bit too long...
      8bcff367