OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Functions of arc length. More...
#include <SFunction.h>
Public Member Functions | |
SFunction () | |
Default constructor. More... | |
~SFunction () | |
Destructor. More... | |
void | reset () |
Reset the arc length to zero. More... | |
void | update (double length) |
Advance position by element length. More... | |
Static Public Member Functions | |
static double | arcIn () |
Return arc length at entrance SI(). More... | |
static double | arcCtr () |
Return arc length at center SC(). More... | |
static double | arcOut () |
Return arc length at exit SO(). More... | |
Private Member Functions | |
SFunction (const SFunction &) | |
void | operator= (const SFunction &) |
double | position (double flag) const |
Private Attributes | |
double | elementLength |
double | exitArc |
Static Private Attributes | |
static const SFunction * | sfun = 0 |
Functions of arc length.
Definition at line 31 of file SFunction.h.
SFunction::SFunction | ( | ) |
Default constructor.
Definition at line 32 of file SFunction.cpp.
SFunction::~SFunction | ( | ) |
|
private |
|
static |
Return arc length at center SC().
Definition at line 54 of file SFunction.cpp.
References position(), and sfun.
|
static |
Return arc length at entrance SI().
Definition at line 43 of file SFunction.cpp.
References position(), and sfun.
|
static |
Return arc length at exit SO().
Definition at line 65 of file SFunction.cpp.
References position(), and sfun.
|
private |
|
private |
Definition at line 88 of file SFunction.cpp.
References elementLength, and exitArc.
void SFunction::reset | ( | ) |
Reset the arc length to zero.
Definition at line 76 of file SFunction.cpp.
References elementLength, and exitArc.
Referenced by SFunction().
void SFunction::update | ( | double | length | ) |
Advance position by element length.
Definition at line 82 of file SFunction.cpp.
References elementLength, and exitArc.
|
private |
Definition at line 70 of file SFunction.h.
Referenced by position(), reset(), and update().
|
private |
Definition at line 73 of file SFunction.h.
Referenced by position(), reset(), and update().
|
staticprivate |
Definition at line 77 of file SFunction.h.
Referenced by arcCtr(), arcIn(), arcOut(), SFunction(), and ~SFunction().