- 06 Apr, 2026 1 commit
-
-
Peter Eastman authored
* PythonForce can be restricted to a subset of particles * Fix exception with CUDA
-
- 30 Mar, 2026 1 commit
-
-
Peter Eastman authored
-
- 11 Dec, 2025 1 commit
-
-
Evan Pretti authored
* Basic LCPO support * Add basic test for LCPO from a prmtop file * API for LCPOForce * Started LCPO reference implementation * Finished reference forces & test cases * Use other test for finite difference since grid might have discontinuous forces * Reference platform formatting * Initial implementation of CPU platform * Bugfixes * More vectorization and improve neighbor list query speed * Parallelize part of neighbor search * Check box size for LCPO with periodic boundary conditions * Fixes for updating parameters in context * GBSAOBCForce doesn't use first & last indices for updates, so no need for this optimization here * Changes to neighbor checking and optimization * Fixes and minor changes * Add global surface tension parameter * Only process half of the pairs in the neighbor list * Remove unnecessary checks * Initial version of common platform implementation * Asynchronously download neighbor list size * Debugging * Do pair precomputation in copyPairsToNeighborList * Recompute interactions instead of scanning neighbor list in inner loop * Condense position array before computations * Also make neighbor count download asynchronous on device * Fixes for kernel launching * Topology-based LCPO parameter assignment * Fixes, and use test system for LCPO with nucleic acids * Always raise instead of warn when LCPO parameters can't be assigned * Use Amber convention for phosphates
-
- 12 Nov, 2025 1 commit
-
-
Peter Eastman authored
* Initial implementation of PythonForce * Continuing implementation of PythonForce * Tests for PythonForce * Fix memory leaks * Documentation for PythonForce * Fixed incorrect return type * Fix compilation error on Python older than 3.12 * Handle all dtypes * Optimizations to PythonForce * Optimized getPositions() * Test all platforms * Fix test failures
-
- 23 Sep, 2025 1 commit
-
-
Evan Pretti authored
* Replace SimTK-containing file headers * Update file headers for new Tinker reader files added
-
- 02 Sep, 2025 1 commit
-
-
Emilio Gallicchio authored
-
- 26 Aug, 2025 1 commit
-
-
Peter Eastman authored
* Created OrientationRestraintForce * Python API * Documentation * Serialization * GPU implementation of OrientationRestraintForce * Bug fix * Remove unused code
-
- 14 Aug, 2025 1 commit
-
-
Peter Eastman authored
* Reference implementation of RGForce * GPU implementation of RGForce * Serialization * Documentation * Fix compilation error * Fixed error building API docs
-
- 12 Aug, 2025 1 commit
-
-
Emilio Gallicchio authored
* Variable displacements based on particle positions * set variable displacements when adding particles * update documentation * address compilation error in OpenMMFortranWrapper * update python API tests * fix stray 'and' * addParticle() without arguments add a particle that is not displaced * pack displacement particles into int4 * put back default displacement removed in error * ATMForce interface with coordinate transformation objects * revise variable displacement API * documentation, formatting, serialization * Fixed C and Fortran wrappers * Fixed Python wrappers * Fixed factory * Sort files to ensure classes are listed in the correct order * Converted APIUnits test to new ATMForce API * write class name * skip the documentation for forward declarations * undo 9e91d0b since it does not fix the doc build * remove temporary doc files for nested classes * Clean away tabs --------- Co-authored-by:Peter Eastman <peastman@stanford.edu>
-
- 09 Jul, 2025 1 commit
-
-
Peter Eastman authored
* Unified storage of global parameters * Fixes to CUDA and HIP * Store global parameters as real instead of float
-
- 02 Jun, 2025 1 commit
-
-
Peter Eastman authored
-
- 24 May, 2025 1 commit
-
-
Emilio Gallicchio authored
* set box vectors of the inner contexts before atom reordering * test for changing box vectors
-
- 23 May, 2025 1 commit
-
-
Peter Eastman authored
* Optimized setPositions() and setVelocities() * Fix test failures
-
- 28 Apr, 2025 1 commit
-
-
Peter Eastman authored
* Added computeCurrentPressure() to MonteCarloBarostat * Use instantaneous temperature to compute pressure * Added computeCurrentPressure() to MonteCarloAnisotropicBarostat * Added computeCurrentPressure() to MonteCarloMembraneBarostat * Fixed compilation error * Fixed error in typemap * Added documentation on computing pressure * Fixed CUDA compilation errors * Made test case more robust * Made a test case more robust * Added computeCurrentPressure() to MonteCarloFlexibleBarostat * Fixed compilation error * More documentation on computing pressure
-
- 14 Apr, 2025 1 commit
-
-
Peter Eastman authored
* Created DPDIntegrator class * Reference implementation of DPDIntegrator * Build neighbor list for DPDIntegrator * Minor fixes * Documentation for DPDIntegrator * Python API for DPDIntegrator * Preliminary OpenCL implementation of DPDIntegrator * Enable USE_PERIODIC * Use updated positions in DPD thermostat * Working on neighbor list for OpenCL DPDIntegrator * ReorderListener for particle types * Serialization for DPDIntegrator * CUDA implementation of DPDIntegrator * HIP implementation of DPDIntegrator * Fixed compile error in Python wrapper * Fixed compile error in wrappers * Fixed uninitialized memory in reference neighbor list * Added DPDIntegrator to C++ API docs * Fixed incorrect launch size * Fixed nan in DPD random number generator * Minor optimizations * Improved load balancing * Fixed an indexing error * Neighbor list uses the maximum cutoff of any force * Fixed HIP compilation error * Fixed access to invalid memory * Added test case for diffusion coefficient * Try to debug segfaults on CI * Debugging * Debugging * Debugging * Debugging * Debugging * Debugging * Possible fix * Debugging * Debugging * Debugging * Use correct block size on CPU OpenCL * Workaround for bug in Intel's OpenCL for CPUs * Removed an unnecessary define * Removed debugging code * Include Dart * More Intel workarounds * Workaround for error in NVIDIA OpenCL
-
- 14 Mar, 2025 1 commit
-
-
Peter Eastman authored
* Began splitting CommonKernels into multiple files * Moved two more kernels into separate files * Moved two integrators into separate files * Fix compilation error on Windows
-
- 16 Dec, 2024 1 commit
-
-
Peter Eastman authored
-
- 26 Nov, 2024 1 commit
-
-
Peter Eastman authored
* Use Intel OpenCL for CI * Set environment variables * Try to get CI to run * Debugging * Debugging * Fixes for Intel OpenCL
-
- 06 Sep, 2024 1 commit
-
-
Peter Eastman authored
* Optimize CustomNonbondedForce.updateParametersInContext() * Optimized uploading changed values to GPU * Optimized updateParametersInContext() for lots of bonded forces * Optimized updateParametersInContext() for CustomExternalForce * Optimized updateParametersInContext() for NonbondedForce * Code changes for HIP platform
-
- 05 Sep, 2024 1 commit
-
-
Peter Eastman authored
-
- 19 Aug, 2024 1 commit
-
-
Peter Eastman authored
-
- 06 Apr, 2024 1 commit
-
-
Peter Eastman authored
* ATMForce reorders inner contexts for better performance * Fixed obsolete comments
-
- 23 Feb, 2024 1 commit
-
-
Peter Eastman authored
* Improved performance of CustomHbondForce on large systems * Fixed CUDA compilation errors
-
- 17 Feb, 2024 1 commit
-
-
Peter Eastman authored
* Made LangevinIntegrator identical to LangevinMiddleIntegrator * Removed unused code * VariableLangevinIntegrator uses LFMiddle
-
- 18 Jan, 2024 1 commit
-
-
Peter Eastman authored
-
- 20 Dec, 2023 1 commit
-
-
Peter Eastman authored
-
- 12 Dec, 2023 1 commit
-
-
Peter Eastman authored
* Common implementation of BondedUtilities * Common implementation of UpdateStateDataKernel
-
- 24 Oct, 2023 1 commit
-
-
Peter Eastman authored
-
- 16 Oct, 2023 1 commit
-
-
Christopher Woods authored
WIP - looking for a way to optimise performance of creating contexts by removing temporary arrays (and their associated mallocs/frees) (#4261) * Suggesting a "haveSameParameters" function for CustomNonbondedForce which could be used to avoid creating temporary copies of arrays when testing if particles are the same. Also updating "getParticleParameters" so that it re-uses the memory of the passed vector argument, rather than deallocating and reallocating it via a copy. * Revert "Suggesting a "haveSameParameters" function for CustomNonbondedForce which could be" This reverts commit e80ec2d2e9981abb90711636bf3a78d0c49e43fc. * Moved to `thread_local static` as suggested to prevent new vector allocations on each function call. Updated `getParameters` and `getBondParameters` to re-use the memory from the argument rather than re-allocating via the copy. * Forgot to reuse the memory for the groups... * Reverted back the manual copies via memcpy as they aren't needed. Looking at the header file and benchmarking shows that std::vector does the right thing. * Confined `thread_local static` only to ForceInfo methods, and have also put declarations for multiple variables back onto a single line * Removed `thread_local static` from the constructor * Moved constructor declarations back into the for loop
-
- 28 Sep, 2023 1 commit
-
-
Peter Eastman authored
-
- 16 Sep, 2023 1 commit
-
-
Peter Eastman authored
* Implemented CustomCPPForceImpl * Documentation for CustomCPPForceImpl * Attempt at fixing Windows compilation error * Improved documentation
-
- 02 Sep, 2023 1 commit
-
-
Peter Eastman authored
-
- 28 Aug, 2023 1 commit
-
-
Peter Eastman authored
-
- 18 Aug, 2023 1 commit
-
-
bdenhollander authored
* Amoeba minor cleanup - Fix variable name in string - Remove odd space between variable and period that is inconsistently styled * Replaces random tabs with spaces in ATM Force
-
- 02 Aug, 2023 1 commit
-
-
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 custom...
-
- 23 Jun, 2023 1 commit
-
-
Stephen Farr authored
* save atomIndex order in MCBarostat kernel * Update device indices * Only setAtomIndex if there was a reorder
-
- 12 Jun, 2023 1 commit
-
-
Peter Eastman authored
* Attempt at fixing errors with barostat * Missing ContextSelector
-
- 31 May, 2023 1 commit
-
-
Peter Eastman authored
-
- 23 May, 2023 1 commit
-
-
Peter Eastman authored
* Skip neighbor list for very small systems * Fixed typos * Don't skip box size check when not using neighbor list * Made test larger to ensure it uses neighbor list
-
- 18 May, 2023 1 commit
-
-
Peter Eastman authored
* Faster implementation of CustomHbondForce * Minor optimization * Optimized writing forces, which are often zero * Fix test failure on CPU OpenCL * Bug fix
-