33 const Entry entries[] = {
55 Corrector(), geometry(), field(), active(true)
60 Corrector(right), geometry(right.geometry), field(right.field), active(true)
65 Corrector(name), geometry(), field(), active(true)
79 for(
const Entry *table = entries; table->name != 0; ++table) {
80 if(aKey == table->name) {
virtual void setBx(double Bx)
Set horizontal component.
virtual double getBy() const
Get vertical component.
A geometry representing a straight line.
StraightGeometry geometry
The corrector geometry.
virtual void setBx(double)
Set horizontal field component in Teslas.
Interface for general corrector.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
virtual void setBy(double)
Set vertical field component in Teslas.
virtual double getBx() const
Get horizontal component.
virtual double getBx() const
Get horizontal field component in Teslas.
virtual void setActive(bool flag=true)
Set active flag.
BDipoleField field
The corrector strengths.
set(_SRCS Action.cpp Attribute.cpp AttributeBase.cpp AttributeHandler.cpp BeamSequence.cpp Definition.cpp Directory.cpp Element.cpp Invalidator.cpp OpalData.cpp Object.cpp ObjectFunction.cpp PlaceRep.cpp RangeRep.cpp Table.cpp TableRowRep.cpp ValueDefinition.cpp) include_directories($
bool active
The active/inactive flag.
Abstract interface for read/write access to variable.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
Access to a [b]double[/b] data member.
Corrector is off (inactive).
Corrector acts on both planes.
virtual double getElementLength() const
Get design length.
The field of a magnetic dipole.
virtual StraightGeometry & getGeometry()
Get geometry.
virtual double getBy() const
Get vertical field component in Teslas.
virtual Plane getPlane() const
Get plane(s) of action.
virtual BDipoleField & getField()
Get corrector field.
virtual void setElementLength(double length)
Set design length.
virtual void setBy(double By)
Set vertical component.
virtual ElementBase * clone() const
Return clone.