OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
SequenceMember.cpp
Go to the documentation of this file.
1// ------------------------------------------------------------------------
2// $RCSfile: SequenceMember.cpp,v $
3// ------------------------------------------------------------------------
4// $Revision: 1.2 $
5// ------------------------------------------------------------------------
6// Copyright: see Copyright.readme
7// ------------------------------------------------------------------------
8//
9// Class: SequenceMember
10// A SequenceMember includes the special data required for OPAL sequences.
11//
12// ------------------------------------------------------------------------
13//
14// $Date: 2001/08/13 15:16:16 $
15// $Author: jowett $
16//
17// ------------------------------------------------------------------------
18
21
22// Class SequenceMember
23// ------------------------------------------------------------------------
24
26 : FlaggedElmPtr(), itsPosition(0.0), itsFlag(ABSOLUTE), itsType(UNKNOWN), OpalElement() {}
27
29 : FlaggedElmPtr(rhs),
30 itsPosition(rhs.itsPosition),
31 itsFlag(rhs.itsFlag),
32 itsType(rhs.itsType),
34
36
37void SequenceMember::setLength(double drift) {
39}
@ UNKNOWN
Definition Fieldmap.h:15
virtual void setElementLength(double length)
Set design length.
ElementBase * getElement() const
Get the element pointer.
Definition ElmPtr.h:56
A section of a beam line.
A member of a SEQUENCE.
MemberType itsType
Type word.
void setLength(double drift)
Store the drift length for a generated drift.