1. 02 May, 2025 1 commit
  2. 28 Apr, 2025 1 commit
    • Peter Eastman's avatar
      Added computeCurrentPressure() to MonteCarloBarostat (#4881) · bce0c133
      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
      bce0c133
  3. 25 Apr, 2025 1 commit
  4. 02 Apr, 2025 1 commit
    • Jinfeng's avatar
      Drude wrapper (#4871) · 1ece5c28
      Jinfeng authored
      * modifiy CMakeLists.txt to generate drude fortran wrapper
      
      * modify doxyfile and wrapper generation wrapper
      1ece5c28
  5. 28 Mar, 2025 1 commit
  6. 10 Mar, 2025 1 commit
  7. 25 Nov, 2024 1 commit
  8. 21 Nov, 2024 1 commit
  9. 20 Nov, 2024 1 commit
    • Michael J. Schnieders's avatar
      Updates to AmoebaVdwForce, AmoebaGeneralizedKirkwoodForce and AmoebaWcaDispersionForce (#4647) · 61a908cd
      Michael J. Schnieders authored
      * Update the AMOEBA OpenMM API for vdW, GK and WCA
      
      * Changes needed for the Corrigan et al Generalized Kirkwood model and minor changes to the vdW force to support CpHMD
      
      * Add casts to real for uses of POW in GK; Pass force by reference within the WCA kernel
      
      * Update swigInputConfig for Amoeba vdW and GK forces
      
      * Update TestAPIUnits.testAmoebaVdwForce
      
      * Set the units for getSolventDielectric and getSoluteDielectric to None
      
      * Update default dispersion offset parameter for the AmoebaWcaDispersionForce
      
      * Remove overloaded getParticleParameters and setParticleParameters from AmoebaGeneralizedKirkwoodForce
      
      * Update the AmoebaWcaDispersionForce TestAPIUnits tests to reflect using the correct units for the C++ parameter default values; Update the alanine-dipeptide-amoeba-forces to reflect the updated GK model
      
      * Move neck descreening constants into AmoebaGeneralizedKirkwoodForceImpl; set the default GK dielecticOffset to 0.09; set the default WCA shctd parameter to 0.82
      
      * Fix Python test cases for WCA and GK
      
      * Load AMOEBA/GK parameters into an array of float4
      
      * Cleaned up the AmoebaGeneralizedKirkwoodForce based on feedback from Peter; the one case where backwards compatibility remains a challenge is application of the dielectric offset parameter - in the prior code this was only applied to the nonpolar cavity term, but not to calculation of Born radii; in this revision the dielectric offset is applied to BOTH the nonpolar cavity term and to calculation of Born radii. At this point I can't think of elegant way to maintain backwards compatibility that isn't confusing, nor does it make sense (at least to me) to only apply the concept of the dieletric offset to one aspect (i.e. only to nonpolar cavity or only to Born radii calculation) but not to both.
      
      * Remove 'using std::vector' from AmoebaGeneralizedKirkwoodForceImpl.h; divide by 10 instead of multiplying by 0.1f in amoebaGk.cc
      
      * Added a parameter called descreenOffset, which is applied during calculation of effective Born radii for GK. The parameter dielectricOffset is only used for the nonpolar cavity term consistent with its prior use. All tests in TestAmoebaGeneralizedKirkwoodForce.h are now backwards compatible with their behavior prior to this PR.
      
      * Change two constants in amoebaGk.cc to single precision; Improved the documentation for getNeckConstants in AmoebaGeneralizedKirkwoodForceImpl.h
      
      * Fix comment for setTanhRescaling in AmoebaGeneralizedKirkwoodForce.h, Fix comment for setTanhParameters in AmoebaReferenceGeneralizedKirkwoodForce.h; set the type of parameter GeneralizedKirkwoodTanhRescaling to bool in AmoebaGeneralizedKirkwoodForceProxy.cpp; In ReferenceCalcAmoebaGeneralizedKirkwoodForceKernel return references of per particle parameters instead of copies; update AmoebaReferenceKernels.h method signatures for per particle parameters to return const vector references
      
      * Minor tweaks to the documentation for the tanh rescaling flag
      
      * Improve the comments for the get and setTanhParameters in AmoebaGeneralizedKirkwoodForce.h and AmoebaReferenceGeneralizedKirkwoodForce.h
      61a908cd
  10. 01 Nov, 2024 1 commit
  11. 23 Sep, 2024 1 commit
    • Anton Gorenko's avatar
      Optimize PME spread charge kernel (#4633) · 8ea42950
      Anton Gorenko authored
      * PME_ORDER threads process one atom;
      * PME_ORDER threads access consecutive addresses;
      * No need to permute z indices with zindexTable;
      * finishSpreadCharge is needed only with fixed point charge spreading;
      8ea42950
  12. 05 Sep, 2024 3 commits
  13. 01 Sep, 2024 2 commits
    • Anton Gorenko's avatar
      Cleanup Cmake scripts for HIP platform · aca24d5f
      Anton Gorenko authored
      * Remove setting of link libraries, include and link dirs and compile
        flags for each target, instead let Cmake deal with them by linking the
        main library to hip::host hiprtc::hiprtc hip::hipfft;
      * Fix: custom command without ADD_CUSTOM_TARGET and ADD_DEPENDENCIES is
        executed for both static and shared targets;
      * Remove IF(APPLE) parts.
      aca24d5f
    • Anton Gorenko's avatar
      Add hipification of Amoeba, Drude, RPMD plugins · 6c0f3fbd
      Anton Gorenko authored
      Fix SegFault in HipCalcHippoNonbondedForceKernel
      
          HipSort was created using a temporary ref. Adding `HipContext& cu`
          field to HipCalcHippoNonbondedForceKernel fixes the issue;
      6c0f3fbd
  14. 29 Apr, 2024 1 commit
  15. 28 Mar, 2024 1 commit
  16. 02 Feb, 2024 1 commit
  17. 17 Dec, 2023 1 commit
  18. 15 Dec, 2023 1 commit
  19. 18 Aug, 2023 1 commit
    • bdenhollander's avatar
      Amoeba and ATM Force minor cleanup (#4195) · f2bdcc75
      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
      f2bdcc75
  20. 13 Aug, 2023 1 commit
  21. 20 Jul, 2023 1 commit
  22. 04 Jul, 2023 1 commit
  23. 12 Jun, 2023 1 commit
  24. 07 Jun, 2023 1 commit
  25. 31 May, 2023 2 commits
  26. 27 Apr, 2023 1 commit
  27. 15 Dec, 2022 1 commit
  28. 13 Dec, 2022 1 commit
  29. 12 Dec, 2022 1 commit
  30. 17 Aug, 2022 1 commit
  31. 22 Jul, 2022 1 commit
    • Adel Johar's avatar
      Final HIP Platform implementation for AMD GPUs on ROCm (#3338) · a39fa14a
      Adel Johar authored
      
      
      * Support kernel files with extensions of any length (like .hip)
      
      * Do not allow to replace symbols in single-line comments
      
      * Add OPENMM_BUILD_COMMON CMake option
      
      It allows to build and install common platform files even if
      CUDA or OpenCL platforms are not built.
      This is required for HIP platform (openmm-hip) if ROCm OpenCL
      packages are not installed.
      
      * Add an option for Python wrapper to install into user packages
      
      OPENMM_PYTHON_USER_INSTALL is OFF be default.
      
      * Support FFT backends in Amoeba plugin
      
      The HIP platform supports FFT backends, this commit moves
      findLegalFFTDimension to ComputeContext, so platforms can have their own
      implementations.
      
      * Compatibility for common platform w/ new HIP platform
      
      * Do not use volatile with private and local AtomData parameters on HIP
      
      The generated code is not optimal, for example, the compiler generates
      flat_load instructions instead of ds_read.
      
      * Tune launch bounds for PME grid-related kernels and add WA for RDNA
      
      Force the compiler to use all registers for gridSpreadCharge and
      gridInterpolateForce by limiting max waves per EU to 1 on CDNA GPUs,
      RDNA GPUs work better without it.
      
      * Optimize atom data structs in GBSA and Amoeba on HIP
      
      Manually rearrange fields, add paddings and force alignments to
      have faster accesses to shared memory: ds_read and ds_write may
      work slower if addresses are not aligned by 16 bytes.
      Co-authored-by: default avatarAnton Gorenko <anton@streamhpc.com>
      Co-authored-by: default avatarNick Curtis <nicholas.curtis@amd.com>
      a39fa14a
  32. 30 Jun, 2022 1 commit
    • Peter Eastman's avatar
      Use PocketFFT (#3667) · 1dac981a
      Peter Eastman authored
      * Use PocketFFT instead of FFTW
      
      * Minor cleanup
      
      * Use PocketFFT instead of fftpack for reference platform
      
      * Remove FFTW as a dependency
      
      * Converted a test case to use PocketFFT
      
      * Fixed an incorrect comment
      1dac981a
  33. 11 May, 2022 1 commit
  34. 15 Mar, 2022 1 commit
  35. 11 Mar, 2022 1 commit
  36. 07 Mar, 2022 1 commit