Gromacs  2025-dev-20240614-602a366
 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/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 clear_fshift (real *fshift)
 Clears the shift forces.
 
void 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.