Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Attributes
gmx::DomainLifetimeWorkload Class Reference

#include <gromacs/mdtypes/simulation_workload.h>

Description

Describes work done on this domain on every step of its lifetime, but which might change after the next domain partitioning.

This work description is based on the SimulationWorkload in the context of the current particle interactions assigned to this domain. The latter might change after the next domain partitioning.

An object of this type is updated every domain decomposition / neighbour search step and reflects what work is required during the lifetime of a domain; e.g. whether there are bonded interactions in this PP task.

Public Attributes

bool haveGpuBondedWork = false
 Whether the current nstlist step-range has bonded work to run on a GPU.
 
bool haveCpuBondedWork = false
 Whether the current nstlist step-range has bonded work to run on the CPU.
 
bool haveCpuListedForceWork = false
 Whether the current nstlist step-range has listed (bonded + restraints) forces work to run on the CPU.
 
bool haveSpecialForces = false
 Whether the current nstlist step-range has special forces on the CPU.
 
bool haveCpuLocalForceWork = false
 Whether there are currently any local forces to be computed on the CPU.
 
bool haveCpuNonLocalForceWork = false
 Whether there are currently any non-local forces to be computed on the CPU and, with GPU update and DD, later reduced on the GPU.
 
bool haveFreeEnergyWork = false
 Whether the current nstlist step-range Free energy work on the CPU.
 
bool haveLocalForceContribInCpuBuffer = false
 Whether the CPU force buffer has contributions to local atoms that need to be reduced on the GPU (with DD).
 

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