32 static const Entry entries[] = {
78 geometry(rhs.geometry),
105 if(aKey[0] ==
'a' || aKey[0] ==
'b') {
108 for(std::string::size_type k = 1; k < aKey.length(); k++) {
109 if(isdigit(aKey[k])) {
110 n = 10 * n + aKey[k] -
'0';
126 for(
const Entry *table = entries; table->name != 0; ++table) {
127 if(aKey == table->name) {
virtual void setSlices(double sl)
Set number of slices.
virtual double getEntryFaceCurvature() const
Get entry pole face curvature.
double getNormalComponent(int) const
Get normal component.
virtual void setEntryFaceCurvature(double h1)
Set entry pole face curvature.
virtual PlanarArcGeometry & getGeometry()
Get geometry.
virtual void setEntryFaceRotation(double e1)
Set pole entry face rotation.
virtual double getSlices() const
Get number of slices.
A simple arc in the XZ plane.
void setNormalComponent(int n, double Bn)
Set component.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
virtual void setExitFaceCurvature(double h2)
Set exit pole face curvature.
double getNormalComponent(int n) const
Get component.
virtual void setB(double By)
Set vertical component.
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
void setSkewComponent(int, double)
Set skew component.
virtual void setField(const BMultipoleField &field)
Set field.
virtual double getStepsize() const
Get stepsize.
virtual double getExitFaceRotation() const
Get exit pole face rotation.
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($
Abstract interface for read/write access to variable.
Access to a [b]double[/b] data member.
virtual void setStepsize(double ds)
Set stepsize.
double getSkewComponent(int) const
Get skew component.
virtual double getElementLength() const
Get design length.
virtual double getExitFaceCurvature() const
Get exit pole face curvature.
virtual ElementBase * clone() const
Return clone.
virtual double getB() const
Get field.
virtual void setElementLength(double length)
Set design length.
virtual double getEntryFaceRotation() const
Get pole entry face rotation.
BMultipoleField field
The multipole expansion.
virtual void setExitFaceRotation(double e2)
Set exit pole face rotation.
void setNormalComponent(int, double)
Set normal component.
virtual BMultipoleField & getField()
Get field.
The magnetic field of a multipole.
Access to an indexed [b]double[/b] data member.
PlanarArcGeometry geometry
The bend geometry.