Gromacs
2025-dev-20240913-b871546
|
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.) | |