Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
WorkDivision Class Reference

#include <gromacs/listed_forces/listed_internal.h>

Description

The division of bonded interactions of the threads.

Public Member Functions

 WorkDivision (int numThreads)
 Constructor.
 
void setBound (int functionType, int boundIndex, int count)
 Sets the bound between threads boundIndex-1 and boundIndex to count.
 
int bound (int functionType, int boundIndex) const
 Returns the bound between threads boundIndex-1 and boundIndex.
 
int end (int ftype) const
 Returns the last bound.
 

The documentation for this class was generated from the following file: