virtual void setElementLength(double length)
Set design length.
ElementBase * getElement() const
Get the element pointer.
FlaggedElmPtr(const ElmPtr &, bool reflected=false, bool selected=false)
Constructor.
MemberType itsType
Type word.
std::shared_ptr< Element > OpalElement
void setLength(double drift)
Store the drift length for a generated drift.
double itsPosition
The position attribute ("AT" or "DRIFT").
PositionType itsFlag
Flag word.