casa
5.7.0-16
|
#include <DistSIIterBot.h>
Public Member Functions | |
ControlRecord (int niter, int cycleNiter, float threshold, float cycleThreshold, float loopGain, bool stopFlag) | |
ControlRecord (const casacore::Record &rec) | |
casacore::Record | asRecord () |
Static Public Member Functions | |
static MPI_Datatype | datatype () |
It might be nice to have static class members to hold the MPI datatype and reduction op, but since they can only be computed at run-time, that would require a mutex and lock, since the computation would have to be in a critical section. More... | |
Public Attributes | |
float | threshold |
Don't modify the following fields, including their order, without a corresponding change in the computation of datatype()! More... | |
float | cycleThreshold |
float | loopGain |
int | niter |
int | cycleNiter |
MPI_BOOL_TYPE | stopFlag |
Definition at line 206 of file DistSIIterBot.h.
casa::ControlRecord::ControlRecord | ( | int | niter, |
int | cycleNiter, | ||
float | threshold, | ||
float | cycleThreshold, | ||
float | loopGain, | ||
bool | stopFlag | ||
) |
casa::ControlRecord::ControlRecord | ( | const casacore::Record & | rec | ) |
casacore::Record casa::ControlRecord::asRecord | ( | ) |
|
inlinestatic |
It might be nice to have static class members to hold the MPI datatype and reduction op, but since they can only be computed at run-time, that would require a mutex and lock, since the computation would have to be in a critical section.
In turn that would require acquiring the lock every time the datatype is accessed, which is something that we'd like to avoid.
to capture padding for alignment of structures, we resize dt
Definition at line 230 of file DistSIIterBot.h.
References MPI_BOOL, MPI_FLOAT, MPI_INT, MPI_Type_create_resized, MPI_Type_create_struct, MPI_Type_free, and UNUSED_WITHOUT_MPI.
int casa::ControlRecord::cycleNiter |
Definition at line 221 of file DistSIIterBot.h.
float casa::ControlRecord::cycleThreshold |
Definition at line 218 of file DistSIIterBot.h.
float casa::ControlRecord::loopGain |
Definition at line 219 of file DistSIIterBot.h.
int casa::ControlRecord::niter |
Definition at line 220 of file DistSIIterBot.h.
MPI_BOOL_TYPE casa::ControlRecord::stopFlag |
Definition at line 222 of file DistSIIterBot.h.
float casa::ControlRecord::threshold |
Don't modify the following fields, including their order, without a corresponding change in the computation of datatype()!
Definition at line 217 of file DistSIIterBot.h.