OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <StepSizeConfig.h>
Public Member Functions | |
StepSizeConfig () | |
StepSizeConfig (const StepSizeConfig &right) | |
void | operator= (const StepSizeConfig &)=delete |
void | push_back (double dt, double zstop, unsigned long numSteps) |
void | sortAscendingZStop () |
void | resetIterator () |
bool | reachedStart () const |
bool | reachedEnd () const |
void | clear () |
void | reverseDirection () |
StepSizeConfig & | advanceToPos (double spos) |
StepSizeConfig & | operator++ () |
StepSizeConfig & | operator-- () |
void | shiftZStopRight (double front) |
void | shiftZStopLeft (double back) |
double | getdT () const |
double | getZStop () const |
unsigned long | getNumSteps () const |
unsigned long long | getMaxSteps () const |
unsigned long long | getNumStepsFinestResolution () const |
double | getMinTimeStep () const |
double | getFinalZStop () const |
void | print (Inform &out) const |
Private Types | |
typedef std::tuple< double, double, unsigned long > | entry_t |
typedef std::list< entry_t > | container_t |
Private Attributes | |
container_t | configurations_m |
container_t::iterator | it_m |
Definition at line 9 of file StepSizeConfig.h.
|
private |
Definition at line 60 of file StepSizeConfig.h.
|
private |
Definition at line 59 of file StepSizeConfig.h.
|
inline |
Definition at line 67 of file StepSizeConfig.h.
|
inline |
Definition at line 73 of file StepSizeConfig.h.
StepSizeConfig & StepSizeConfig::advanceToPos | ( | double | spos | ) |
Definition at line 24 of file StepSizeConfig.cpp.
References configurations_m, getZStop(), and it_m.
Referenced by ParallelTTracker::execute().
|
inline |
Definition at line 101 of file StepSizeConfig.h.
References configurations_m, and it_m.
double StepSizeConfig::getdT | ( | ) | const |
Definition at line 90 of file StepSizeConfig.cpp.
References it_m, and reachedEnd().
Referenced by OrbitThreader::checkElementLengths(), ParallelTTracker::execute(), and ParallelTTracker::findStartPosition().
double StepSizeConfig::getFinalZStop | ( | ) | const |
Definition at line 156 of file StepSizeConfig.cpp.
References configurations_m.
Referenced by ParallelTTracker::writePhaseSpace().
unsigned long long StepSizeConfig::getMaxSteps | ( | ) | const |
Definition at line 117 of file StepSizeConfig.cpp.
References configurations_m.
Referenced by ParallelTTracker::execute().
double StepSizeConfig::getMinTimeStep | ( | ) | const |
Definition at line 145 of file StepSizeConfig.cpp.
References configurations_m.
Referenced by ParallelTTracker::execute().
unsigned long StepSizeConfig::getNumSteps | ( | ) | const |
Definition at line 108 of file StepSizeConfig.cpp.
References it_m, and reachedEnd().
Referenced by ParallelTTracker::execute().
unsigned long long StepSizeConfig::getNumStepsFinestResolution | ( | ) | const |
Definition at line 126 of file StepSizeConfig.cpp.
References ceil(), and configurations_m.
double StepSizeConfig::getZStop | ( | ) | const |
Definition at line 99 of file StepSizeConfig.cpp.
References it_m, and reachedEnd().
Referenced by advanceToPos(), OrbitThreader::checkElementLengths(), ParallelTTracker::execute(), and ParallelTTracker::findStartPosition().
StepSizeConfig & StepSizeConfig::operator++ | ( | ) |
Definition at line 32 of file StepSizeConfig.cpp.
References it_m, and reachedEnd().
StepSizeConfig & StepSizeConfig::operator-- | ( | ) |
Definition at line 43 of file StepSizeConfig.cpp.
References it_m, and reachedStart().
|
delete |
void StepSizeConfig::print | ( | Inform & | out | ) | const |
Definition at line 160 of file StepSizeConfig.cpp.
References configurations_m, endl(), and it_m.
|
inline |
Definition at line 79 of file StepSizeConfig.h.
References configurations_m.
Referenced by ParallelTTracker::ParallelTTracker().
|
inline |
Definition at line 96 of file StepSizeConfig.h.
References configurations_m, and it_m.
Referenced by OrbitThreader::checkElementLengths(), ParallelTTracker::execute(), ParallelTTracker::findStartPosition(), getdT(), getNumSteps(), getZStop(), and operator++().
|
inline |
Definition at line 91 of file StepSizeConfig.h.
References configurations_m, and it_m.
Referenced by operator--().
|
inline |
Definition at line 86 of file StepSizeConfig.h.
References configurations_m, and it_m.
Referenced by ParallelTTracker::ParallelTTracker().
void StepSizeConfig::reverseDirection | ( | ) |
Definition at line 17 of file StepSizeConfig.cpp.
References configurations_m, and it_m.
Referenced by ParallelTTracker::execute().
void StepSizeConfig::shiftZStopLeft | ( | double | back | ) |
Definition at line 72 of file StepSizeConfig.cpp.
References configurations_m.
Referenced by ParallelTTracker::findStartPosition().
void StepSizeConfig::shiftZStopRight | ( | double | front | ) |
Definition at line 54 of file StepSizeConfig.cpp.
References configurations_m.
void StepSizeConfig::sortAscendingZStop | ( | ) |
Definition at line 9 of file StepSizeConfig.cpp.
References a, and configurations_m.
Referenced by ParallelTTracker::ParallelTTracker().
|
private |
Definition at line 62 of file StepSizeConfig.h.
Referenced by advanceToPos(), clear(), getFinalZStop(), getMaxSteps(), getMinTimeStep(), getNumStepsFinestResolution(), print(), push_back(), reachedEnd(), reachedStart(), resetIterator(), reverseDirection(), shiftZStopLeft(), shiftZStopRight(), and sortAscendingZStop().
|
private |
Definition at line 63 of file StepSizeConfig.h.
Referenced by advanceToPos(), clear(), getdT(), getNumSteps(), getZStop(), operator++(), operator--(), print(), reachedEnd(), reachedStart(), resetIterator(), and reverseDirection().