Gromacs  2025-dev-20240906-b7d3419
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Static Public Member Functions | Static Public Attributes
gmx::test::RequireMinimumRankCount< minimumNumRanks > Class Template Reference

#include <testutils/include/testutils/mpitest.h>

Description

template<int minimumNumRanks>
class gmx::test::RequireMinimumRankCount< minimumNumRanks >

Helper for GMX_MPI_TEST to permit only a specific rank count.

Static Public Member Functions

static bool conditionSatisfied (const int numRanks)
 Function to require at least the minimum number of ranks.
 

Static Public Attributes

static const std::string s_skipReason
 Text to echo when skipping a test that does not satisfy the requirement. More...
 

Member Data Documentation

template<int minimumNumRanks>
const std::string gmx::test::RequireMinimumRankCount< minimumNumRanks >::s_skipReason
inlinestatic
Initial value:
=
std::to_string(minimumNumRanks) + " or more ranks are required"

Text to echo when skipping a test that does not satisfy the requirement.


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