22 void init(
size_t i_size);
31 void setAt(
size_t i_pos);
37 recursive_mutex theMutex;
38 vector<bool> isDoneVec;
56 static const int all = 0;
59 groupSize(1), groupCount(0), activeRank(0), groupOne(0), isRootActive(
true), subPerProcess(1), selfSubCount(1)
62 ProcessGroupDef(
int i_subValueCount,
int i_threadCount,
bool i_isRootIdle,
int i_worldSize,
int i_worldRank);
78 vector<ModelRunState> childState;
84 void nextRun(
int i_runId,
int i_setId,
ModelStatus i_status);
90 int rankBySubValueId(
int i_subId)
const;
123 valueSize(i_valueSize),
125 senderRank(i_senderRank),
126 msgTag(
accMsgTag(i_subId, i_subValueCount, i_accIndex))
130 static int accMsgTag(
int i_subId,
int i_subValueCount,
int i_accIndex)
Definition: modelHelper.h:17
model run state: thread safe
Definition: modelRunState.h:24
openM++ namespace
Definition: log.h:32
@ outSubValueBase
input parameter
ModelStatus
modeling job status
Definition: omModelRunState.h:43
Definition: modelHelper.h:99
static int accMsgTag(int i_subId, int i_subValueCount, int i_accIndex)
return accumulator message tag
Definition: modelHelper.h:130
Definition: modelHelper.h:47
Definition: modelHelper.h:67