1. 02 May, 2025 1 commit
  2. 23 Oct, 2024 1 commit
  3. 18 Sep, 2024 1 commit
  4. 27 Sep, 2023 1 commit
  5. 22 Apr, 2023 1 commit
    • Raul's avatar
      Adding an XTC reporter (#4001) · eda091f2
      Raul authored
      * Preliminary work on XTC reporter
      1. Move and adapt xtc writer/reader from moleculekit (explicit permission
      granted by the authors to do so)
      2. Create XTCTrajectoryFile
      3. Create XTCReporter
      
      * Add licence and attribution to c++ xtc library
      Apply clang-format to it
      Remove some unused functions and document the rest
      
      * Add attribution and licence to cython wrappers for the xtc library
      Remove some unused functions
      
      * Change XTCTrajectoryFile to XTCFile
      Simplify the interface and document the class
      
      * Add test for the xtc file parser
      
      * Update XTC reporter with new parser name
      
      * Fix incorrect function name in XTCReporter
      
      * XTCFile:
      	* Add function to get number of frames
      	* Add function to read a group of frames from a file
      	* Add tests for the above
      
      * Ensure data is passed as float32 in XTC file
      
      * Add XTCReporter and tests
      
      * Add more tests to XTCReporter
      
      * Remove unnecessary pdb reporter in XTC tests
      
      * Copy test xtc file in python/tests/systems to build directory for testing
      
      * Remove XTC file reading from the interface
      Make XTCFile mimic DCDFile more closely
      
      * Use xtc_read to test the correctness of the XTC reporter
      
      * Add a test for reporting triclinic boxes
      
      * Make XTC library compatible with triclinic boxes.
      Adapt XTCFile to triclinic boxes
      
      * Change XTCFile to take a file as argument instead of a filename
      
      * Match DCDFile handling of the box
      
      * Fix comment
      
      * Revert "Change XTCFile to take a file as argument instead of a filename"
      
      This reverts commit 9815d4790b3886cc8a741586792268e80a227ba0.
      
      * Fix dangling file name issue
      
      * Remove index file functionality from XTC parser.
      Remove unused define switch PLATFORM_Linux
      
      * Fix formatting
      
      * Remove inconsistent variable naming in xtcfile.py
      
      * Change file argument name to match other reporters
      
      * Do not turn off error checking in cython wrappers
      
      * Fix leftover fileName in reporter
      
      * Rewrite wrapper to xtclib in C++
      
      * Small changes to wrapper code
      
      * Small changes to wrapper code
      
      * Small changes to wrapper code
      
      * XTCFile: Get number of atoms directly from topology
      
      * DCDFile: Get number of atoms directly from topology
      
      * Change constexpr to const
      
      * Check precision in XTC file matches the written one
      
      * Add a write function to XTCFrame.
      Make write check for errors C++ side.
      
      * Rewrite large trajectory files without loading the whole file to memory
      
      * Remove unused code in XTC test
      
      * Avoid spurious copy of the positions array when calling xtc_write_frame
      
      * Pass box as reference
      
      * Remove unnecessary imports and definitions
      
      * Fix formatting
      
      * Use std::string instead of char*
      
      * Use .c_str()  instead of .data()
      
      * Fix crash in Mac by correctly checking precision
      
      * Use TemporaryDirectory for tests instead of NamedTemporaryFile (Fixes windows ci)
      
      * Remove unnecessary file creation
      
      * Propagate exceptions via cython
      
      * Switch to TemporaryDirectory in xtcfile.py
      
      * Remove unnecessary include
      
      * Update some comments and document functions
      
      * Add XTC reporter to the docs
      eda091f2
  6. 08 Sep, 2021 1 commit
    • Peter Eastman's avatar
      Implicit solvent for modern force fields (#3214) · 654c6c9c
      Peter Eastman authored
      * Created OBC2 that works with current force fields
      
      * Created HCT, OBC1, GBn, and GBn2 that works with current force fields
      
      * Added documentation for GB models
      
      * Updates to documentation and tests based on comments
      
      * Added formula for screening parameter
      654c6c9c
  7. 01 Feb, 2021 1 commit
  8. 11 Jan, 2021 1 commit
  9. 04 Jan, 2021 1 commit
  10. 29 Mar, 2020 1 commit
    • Rasmus Wriedt Larsen's avatar
      Minor Python tweaks (#2616) · c87b96fb
      Rasmus Wriedt Larsen authored
      * Use list-comprehension in Python code
      
      A minor change, but slighly easier to understand the initialization of
      `parent_exclude_list` in my opinion.
      
      * Implement __ne__ in Python classes that has __eq__
      
      In Python 3, `__ne__` is automatically implemented as `not __eq__`.
      
      However, in Python 2 it seems to be implemented as `not is` (so based on object
      identity).
      
      Based on setup.py [0] which says that "OpenMM requires Python 2.7 or better", it
      should be useful to have better support for Python 2 :)
      
      This was already done in 4 of the 12 classes that implements `__eq__`
      
      ```
      >>> class WildCard(object):
      ...     def __eq__(self, other): return True
      
      >>> w = WildCard()
      
      >>> w == 42
      True
      
      >>> w != 42
      True
      
      >>> w != w
      False
      ```
      
      [0]: https://github.com/openmm/openmm/blob/5cef29ce8d4e17b6d0f9fd8a3c6cc1669ca0ba2b/wrappers/python/setup.py#L237
      
      * Use umambiguous floor division for index calculations in Python
      
      This makes the code work as intended if run...
      c87b96fb
  11. 04 Nov, 2019 1 commit
  12. 24 Oct, 2019 1 commit
  13. 08 Oct, 2018 1 commit
  14. 28 Nov, 2017 1 commit
  15. 22 Feb, 2017 1 commit
  16. 11 Nov, 2016 1 commit
  17. 30 Sep, 2015 1 commit
    • Jason Swails's avatar
      Fix very irritating behavior on some Mac systems. · 9570ab9c
      Jason Swails authored
      Hard-code CC and CXX to clang for Macs, since gcc/g++ will *not* work with
      Anaconda, despite the fact that distutils will try to use them.  System Python,
      homebrew, and MacPorts on Macs will always use clang, so this hack should always
      work and fix issues with users that have GCC installed from MacPorts or homebrew
      *and* Anaconda.
      9570ab9c
  18. 27 Aug, 2015 1 commit
  19. 14 Jul, 2015 1 commit
  20. 13 Jul, 2015 1 commit
  21. 11 Jul, 2015 1 commit
  22. 08 Jul, 2015 1 commit
  23. 12 May, 2015 1 commit
  24. 06 Nov, 2014 1 commit
  25. 05 Nov, 2014 1 commit
  26. 01 Aug, 2014 1 commit
  27. 10 Apr, 2014 1 commit
  28. 09 Apr, 2014 1 commit
  29. 10 Dec, 2013 1 commit
  30. 26 Nov, 2013 1 commit
  31. 02 Oct, 2013 1 commit
  32. 02 Aug, 2013 1 commit
  33. 01 Aug, 2013 1 commit
  34. 17 May, 2013 1 commit
  35. 16 Apr, 2013 1 commit
  36. 18 Dec, 2012 1 commit
  37. 21 Nov, 2012 1 commit
  38. 12 Apr, 2012 1 commit
  39. 22 Mar, 2012 1 commit
  40. 21 Mar, 2012 1 commit