preCICE v3.1.2
|
Represents a ParticipantState in a test. More...
#include <TestContext.hpp>
Public Member Functions | |
ParticipantState (std::string n) | |
Constructs a serial participant with a given name. | |
ParticipantState & | operator() (Ranks rsize) |
ParticipantState & | setupIntraComm () |
Public Attributes | |
std::string | name |
the name of the participant | |
int | size = 1 |
the amount of ranks this participant runs on | |
bool | initIntraComm = false |
whether to initialize an intra-participant communication for this participant | |
Represents a ParticipantState in a test.
Definition at line 46 of file TestContext.hpp.
|
inlineexplicit |
Constructs a serial participant with a given name.
Definition at line 57 of file TestContext.hpp.
|
inline |
Injects the amount of ranks this participant should run on.
This call operator allows to write "Fluid"_on(3_ranks)
[in] | rsize | the amount of Ranks to run on. |
Definition at line 68 of file TestContext.hpp.
|
inline |
Marks that this ParticipantState should initialize an intra-participant connection.
Definition at line 78 of file TestContext.hpp.
bool precice::testing::ParticipantState::initIntraComm = false |
whether to initialize an intra-participant communication for this participant
Definition at line 54 of file TestContext.hpp.
std::string precice::testing::ParticipantState::name |
the name of the participant
Definition at line 48 of file TestContext.hpp.
int precice::testing::ParticipantState::size = 1 |
the amount of ranks this participant runs on
Definition at line 51 of file TestContext.hpp.