Gromacs  2024.2
 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::RequireRankCount< requiredNumRanks > Class Template Reference

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

Description

template<int requiredNumRanks>
class gmx::test::RequireRankCount< requiredNumRanks >

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 a specific 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 requiredNumRanks>
const std::string gmx::test::RequireRankCount< requiredNumRanks >::s_skipReason
inlinestatic
Initial value:
=
std::to_string(requiredNumRanks) + " 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: