Gromacs  2025.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
kernel_common.cpp File Reference
#include "gmxpre.h"
#include "kernel_common.h"
#include "gromacs/gpu_utils/hostallocator.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/utility/gmxassert.h"
+ Include dependency graph for kernel_common.cpp:

Description

Implements utility functions used by all nbnxm CPU kernels.

Author
Berk Hess hess@.nosp@m.kth..nosp@m.se

Functions

void gmx::clear_fshift (real *fshift)
 Clears the shift forces.
 
void gmx::reduce_energies_over_lists (const nbnxn_atomdata_t *nbat, int nlist, real *Vvdw, real *Vc)
 Reduces the collected energy terms over the pair-lists/threads.