Gromacs  2025-dev-20240913-b871546
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
anonymous_namespace{resourcedivision.cpp}::SingleRankChecker Class Reference

Description

Handles checks for algorithms that must use a single rank.

Public Member Functions

void applyConstraint (bool condition, const char *description)
 Call this function for each possible condition under which a single rank is required, along with a string describing the constraint when it is applied.
 
bool mustUseOneRank () const
 After applying any conditions, is a single rank required?
 
std::string getMessage () const
 Return a formatted string to use when writing a message when a single rank is required, (or empty if no constraint exists.)
 

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