Gromacs  2025-dev-20241002-88a4191
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::ThreadingInfo Class Reference

Description

Information on how the virtual site work is divided over thread tasks.

Public Member Functions

 ThreadingInfo ()
 Constructor, retrieves the number of threads to use from gmx_omp_nthreads.h.
 
int numThreads () const
 Returns the number of threads to use for vsite operations.
 
const VsiteThreadthreadData (int threadIndex) const
 Returns the thread data for the given thread.
 
VsiteThreadthreadData (int threadIndex)
 Returns the thread data for the given thread.
 
const VsiteThreadthreadDataNonLocalDependent () const
 Returns the thread data for vsites that depend on non-local vsites.
 
VsiteThreadthreadDataNonLocalDependent ()
 Returns the thread data for vsites that depend on non-local vsites.
 
void setVirtualSites (ArrayRef< const InteractionList > ilist, ArrayRef< const t_iparams > iparams, int numAtoms, int homenr, ArrayRef< const ParticleType > ptype, bool useDomdec)
 Set VSites and distribute VSite work over threads, should be called after DD partitioning.
 

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