1. 22 Apr, 2015 4 commits
    • 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
    • Jason Swails's avatar
      Merge branch 'master' into psfinscode · 5e7370c0
      Jason Swails authored
      5e7370c0
    • peastman's avatar
      Merge pull request #882 from swails/swig3 · d4964400
      peastman authored
      Fix SWIG 3 support for the Python wrappers.
      d4964400
    • Jason Swails's avatar
      Fix SWIG 3 support for the Python wrappers. · 51e892fe
      Jason Swails authored
      See swig/swig#387 for a discussion.  It would actually be nice to *not* set the
      "compactdefaultargs" feature globally, since that would allow us to actually see
      the real API at the Python level the same as you would see by looking at the C++
      header files. But this is the only way to support both SWIG 2 and SWIG 3 easily
      and avoid a lot of retooling for the SWIG input code generator.
      51e892fe
  2. 20 Apr, 2015 2 commits
  3. 16 Apr, 2015 8 commits
  4. 15 Apr, 2015 6 commits
  5. 14 Apr, 2015 2 commits
  6. 13 Apr, 2015 1 commit
  7. 10 Apr, 2015 3 commits
    • peastman's avatar
      Optimizations to neighbor list construction · 95423468
      peastman authored
      95423468
    • peastman's avatar
      Optimizations to CpuNonbondedForce · 3a415486
      peastman authored
      3a415486
    • Jason Swails's avatar
      Improve CHARMM parsing when resnums have inscodes · 7b30da6e
      Jason Swails authored
      Apparently CHARMM PSF files (particularly those printed by VMD's psfgen) can
      have an insertion code tacked on to the end of the residue number, meaning that
      casting to an integer will invariably fail.  We can't just ignore the insertion
      code, though, since it will differentiate from the residues that came before and
      after (which will likely have the same number -- same general idea as insertion
      codes from PDB files). So instead we pull the insertion code off of the residue
      number and extend the Residue object to accommodate that.
      
      This is the port of the fix from ParmEd: ParmEd/ParmEd#98
      
      I added a test for this case.
      7b30da6e
  8. 09 Apr, 2015 1 commit
  9. 08 Apr, 2015 3 commits
  10. 06 Apr, 2015 2 commits
  11. 03 Apr, 2015 3 commits
  12. 02 Apr, 2015 1 commit
  13. 01 Apr, 2015 2 commits
  14. 30 Mar, 2015 2 commits