|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Per-container slot of mutable flags. One per registered ParticleContainer. Lifetime is tied to the owning container (see registerContainer() for details). More...
#include <BunchStateHandler.h>

Public Member Functions | |
| void | setUnitlessPositions (bool v) |
| void | markMomentsDirty () |
| void | markMomentsClean () |
Public Attributes | |
| bool | unitlessPositions = false |
| bool | momentsDirty = true |
Per-container slot of mutable flags. One per registered ParticleContainer. Lifetime is tied to the owning container (see registerContainer() for details).
Setters here own the MPI consistency logic directly; there is no need to route back through the handler, because Options::aggressiveStateSync is a namespace flag and ippl::Comm is a singleton - i.e. the allreduce helper is stateless, so the struct can call it without holding any handler reference.
Definition at line 69 of file BunchStateHandler.h.
| void BunchStateHandler::ContainerState::markMomentsClean | ( | ) |
Definition at line 30 of file BunchStateHandler.cpp.
References Options::aggressiveStateSync.
| void BunchStateHandler::ContainerState::markMomentsDirty | ( | ) |
Definition at line 26 of file BunchStateHandler.cpp.
References Options::aggressiveStateSync.
| void BunchStateHandler::ContainerState::setUnitlessPositions | ( | bool | v | ) |
Definition at line 22 of file BunchStateHandler.cpp.
References Options::aggressiveStateSync, and unitlessPositions.
| bool BunchStateHandler::ContainerState::momentsDirty = true |
Definition at line 71 of file BunchStateHandler.h.
| bool BunchStateHandler::ContainerState::unitlessPositions = false |
Definition at line 70 of file BunchStateHandler.h.
Referenced by setUnitlessPositions().