Gromacs
2024.3
|
#include <gromacs/listed_forces/listed_internal.h>
struct contain all data for bonded force threading
Public Member Functions | |
bonded_threading_t (int numThreads, int numEnergyGroups, FILE *fplog) | |
Constructor. | |
GMX_DISALLOW_COPY_MOVE_AND_ASSIGN (bonded_threading_t) | |
Public Attributes | |
int | nthreads = 0 |
Number of threads to be used for bondeds. | |
gmx::ThreadedForceBuffer< rvec4 > | threadedForceBuffer |
The thread parallel force and energy buffers. | |
bool | haveBondeds = false |
true if we have and thus need to reduce bonded forces | |
int | max_nthread_uniform = 0 |
Maximum thread count for uniform distribution of bondeds over threads. | |
WorkDivision | workDivision |
The division of work in the t_list over threads. | |
WorkDivision | foreignLambdaWorkDivision |
Work division for free-energy foreign lambda calculations, always uses 1 thread. | |