Gromacs  2026.0-dev-20250207-8469bad
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{threaded_force_buffer.cpp} Namespace Reference

Functions

template<typename ForceBufferElementType >
void reduceThreadForceBuffers (ArrayRef< gmx::RVec > force, ArrayRef< std::unique_ptr< ThreadForceBuffer< ForceBufferElementType >>> threadForceBuffers, ArrayRef< const gmx_bitmask_t > masks, ArrayRef< const int > usedBlockIndices)
 Reduce thread-local force buffers into force (does not reduce shift forces)
 
template<typename ForceBufferElementType >
void reduceVirialData (ForceWithShiftForces *forceWithShiftForces, ArrayRef< const std::unique_ptr< ThreadForceBuffer< ForceBufferElementType >>> threadForceBuffers)
 Reduces the shift forces in threadForceBuffers to forceWithShiftForces.
 
template<typename ForceBufferElementType >
void reduceVirialData (ForceWithVirial *forceWithVirial, ArrayRef< const std::unique_ptr< ThreadForceBuffer< ForceBufferElementType >>> threadForceBuffers)
 Reduces the virial contributions in threadForceBuffers to forceWithVirial.