1. 03 Aug, 2023 1 commit
  2. 02 Aug, 2023 2 commits
    • Emilio Gallicchio's avatar
      Draft integration of the Alchemical Transfer Method (ATM) plugin (#4110) · d8c67699
      Emilio Gallicchio authored
      
      
      * Draft integration of the Alchemical Transfer Method (ATM) plugin
      
      * Attempt to store and retrieve forces--does not compile
      
      * Implement addForce()/getForce() methods
      
      * Throw exception when specifying properties without a Platform (#4130)
      
      * Fixed DOF calculation for NoseHooverIntegrator (#4128)
      
      * Fix variance in documentation of VerletIntegrator (#4138)
      
      * Python API for ATMForce
      
      * Fixed compilation error
      
      * Minor cleanup of formatting and documentation
      
      * Files for ATMForce test cases
      
      * More cleanup
      
      * Removed variable groups
      
      * Test ATMForce with two particles
      
      * More tests for ATMForce plus fixes
      
      * Added missing header
      
      * Rework interface to pass displacements as vector of parameters
      
      * Revert "Rework interface to pass displacements as vector of parameters"
      
      This reverts commit 5e092031f31ded1137b677588f007add1c2d6f82.
      
      * Test with nonbonded force
      
      * Allow energy expression to be customized
      
      * Optional displacements at the initial state
      
      * Fixed compilation error build C wrapper
      
      * Address edge case of default energy expression
      
      * Consistent naming of the variables of the displacement states
      
      * Test of soft core function of the default energy expression
      
      * Mark addForce() as taking ownership
      
      * initial python test for ATMForce
      
      * Test custom expressions
      
      * Expanded C++ API documentation for ATMForce
      
      * Energy parameter derivatives
      
      * Serialization for ATMForce
      
      * Documentation, cleanup, and fixes
      
      * Fixed typos
      
      * getPerturbationEnergy() computes energy
      
      * Another test case
      
      * Minor edits
      
      ---------
      Co-authored-by: default avatarPeter Eastman <peastman@stanford.edu>
      Co-authored-by: default avatarMichael Plainer <plainer@ymail.com>
      d8c67699
    • Peter Eastman's avatar
  3. 05 Jun, 2023 1 commit
  4. 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
  5. 28 Feb, 2023 1 commit
    • Stephen Farr's avatar
      Add support for writing atom subsets to PDBReporter (#3931) · 81271f93
      Stephen Farr authored
      * enable atom subset in PDBReporter
      
      * adds optional atomSubset argument to PDBReporter
      * adds functions in PDBReporter which create a new topology
        and positions with chosen subset of atoms
      * PDBReporter write PDB files with the subset topology and positions.
      
      * refactor PDBReporter
      
      * make _createTopologySubset a method that is called only the first time it is needed
      * more efficient creation of subset positions
      * check that atomSubset is ordered
      
      * refactoring PDBReporter and add PDBx
      
      * move checks on atomSubset to _createSubsetTopology
      * copy periodic box vectors from topology to subsetTopology
      * add atomSubset to PDBx reporter
      
      * add bond subset to createSubsetTopology
      
      * formatting changes to pdbreporter
      
      * loop over atoms cleaned up
      * put file opening inside parameter loop in
        TestPdbReporter::testinvalidSubsets to try and fix failing tests on windows
      
      * add thorough tests to TestPdbReporter
      
      * spelling changes
      * Add tests for atom positions, elements, names etc
      * attempt at fixing PyPy and Windows failing test cases
      
      * fix spellings
      
      * close output file before raising exceptions
      
      * closes output files before raising exception in pdbreporter
      createSubsetTopology
      * changes assertVecAlmostEqual from a method to function to avoid
        repeating
      81271f93
  6. 29 Nov, 2022 1 commit
  7. 08 Nov, 2022 1 commit
    • John Chodera's avatar
      Fix #3790: Collision rate for MTS BAOAB Langevin integrator now correctly... · 28394f50
      John Chodera authored
      
      Fix #3790: Collision rate for MTS BAOAB Langevin integrator now correctly accounts for number of substeps (#3791)
      
      * Fix #3790: Collision rate for MTS BAOAB Langevin integrator now correctly accounts for number of substeps. Fix suggested by Charlie Matthews (@c-matthews)
      
      * Fix computation of total number of substeps
      
      * Add test for MTS friction
      
      * Fix typo
      
      * Fix yet another typo
      
      * Fix typo and check against analytical result
      
      * Fix typo
      
      * Fix typos
      
      * Fix more typos
      
      * Integrate MTSLangevinIntegrator for longer to allow thermalization
      
      * Revert number of integrator steps
      
      * Update TestIntegrators.py
      
      Fixed a failing test case
      Co-authored-by: default avatarPeter Eastman <peter.eastman@gmail.com>
      28394f50
  8. 06 Sep, 2022 1 commit
  9. 28 Jun, 2022 1 commit
    • Alex Izvorski's avatar
      OPC and OPC3 water (#3654) · 583471a6
      Alex Izvorski authored
      * Add benchmarks from Amber20 benchmark suite to standard benchmark script
      
      * Add ensemble option; don't change hydrogen mass in amber input files
      
      * Download and extract .tar.gz using pure python code, no wget/tar dependencies
      
      * Rename amber tests
      
      * add opc and opc3 models
      
      * update to match https://bioinformatics.cs.vt.edu/~izadi/OPC_Gromacs/opc.top
      
      
      
      * opc box, converted from ambertools-22.0-py38h6177452_1/dat/leap/lib/opcbox.off
      
      * change values to make serialized system match one created from prmtop as close as possible
      
      * unit test for opc water
      
      * opc - final values, match frcmod.opc; derivation in comments
      
      * opc3 water - final values, shows derivation
      
      * opc3box made from ambertools 22 dat/leap/lib/opc3box.off
      
      * add opc3 water test
      
      * add opc and opc3 to docs
      
      * move tests to TestForceField.py
      
      * move opc tests out of amoeba tests, oops
      
      * move opcbox and opc3box pdb files
      Co-authored-by: default avatarAlex Izvorski <alex@genesistherapeutics.ai>
      583471a6
  10. 10 Jun, 2022 1 commit
  11. 02 Jun, 2022 1 commit
  12. 31 May, 2022 1 commit
  13. 11 Apr, 2022 1 commit
  14. 30 Mar, 2022 1 commit
  15. 22 Mar, 2022 1 commit
  16. 14 Mar, 2022 1 commit
  17. 11 Mar, 2022 1 commit
  18. 08 Mar, 2022 1 commit
  19. 03 Mar, 2022 1 commit
  20. 27 Feb, 2022 1 commit
  21. 07 Feb, 2022 1 commit
  22. 27 Jan, 2022 1 commit
    • Peter Eastman's avatar
      CustomNonbondedForce supports computed values (#3412) · 33c694d4
      Peter Eastman authored
      * Reference implementation of computed values for CustomNonbondedForce
      
      * CPU implementation of computed values for CustomNonbondedForce
      
      * Common implementation of computed values for CustomNonbondedForce
      
      * Serialization of computed values
      
      * ForceField supports computed values
      33c694d4
  23. 22 Jan, 2022 1 commit
  24. 18 Nov, 2021 1 commit
  25. 11 Nov, 2021 1 commit
  26. 05 Nov, 2021 1 commit
  27. 29 Oct, 2021 1 commit
  28. 26 Oct, 2021 1 commit
    • Peter Eastman's avatar
      Added AMOEBA 2018 force field (#3299) · 06767dde
      Peter Eastman authored
      * Adding support for new AMOEBA features
      
      * Support modern method of specifying in-plane angles
      
      * Implemented stretch-torsions
      
      * Implemented angle-torsions
      
      * More AMOEBA fixes
      
      * Bug fix
      
      * Converted AMOEBA 2018 force field
      
      * Added documentation for AMOEBA 2018
      
      * Added a missing file for tests
      06767dde
  29. 05 Oct, 2021 1 commit
  30. 01 Oct, 2021 1 commit
  31. 20 Sep, 2021 1 commit
  32. 17 Sep, 2021 1 commit
  33. 16 Sep, 2021 1 commit
  34. 09 Sep, 2021 1 commit
  35. 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
  36. 05 Jul, 2021 1 commit
  37. 30 Jun, 2021 1 commit
  38. 21 Jun, 2021 1 commit
  39. 17 Mar, 2021 1 commit