|
Gromacs
2026.0-dev-20251111-8c1ac59
|
#include <gromacs/nbnxm/simd_energy_accumulator.h>
Specialized energy accumulator class for energy accumulation without energy groups.
Note that this specialization accumulates over each j-list to internal buffers with an entry per i-particle and then reduces to the final buffers. This is done as to mimimize the rounding errors in the reductions.
Public Member Functions | |
| void | clearEnergies () |
| Clears all energy buffers and sets the energy group indices for the j-clusters. | |
| void | getEnergies (ArrayRef< real > coulombEnergies, ArrayRef< real > vdwEnergies) const |
| Returns the internally stored energies in the output buffers. More... | |
| void gmx::EnergyAccumulator< false, true >::getEnergies | ( | ArrayRef< real > | coulombEnergies, |
| ArrayRef< real > | vdwEnergies | ||
| ) | const |
Returns the internally stored energies in the output buffers.
| coulombEnergies | Buffer of Coulomb energies to accumulate to, should have size 1 |
| vdwEnergies | Buffer of VdW energies to accumulate to, should have size 1 |
1.8.5