30 static const Entry entries[] = {
81 for(
const Entry *entry = entries; entry->name != 0; ++entry) {
82 if(aKey == entry->name) {
virtual double getFrequency() const
Get frequency.
A geometry representing a straight line.
virtual void setPhase(double phi)
Set phase.
virtual void setAmplitude(double V)
Set amplitude.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
virtual double getPhase() const
Return the RF phase in rad.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
static bool ignoreCavities
Cavities are ignored (amplitude = 0) when this switch is set.
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 double getEz() const
Get component.
virtual void setEz(double)
Set component.
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 double getAmplitude() const
Get amplitude.
virtual StraightGeometry & getGeometry()
Get geometry.
virtual double getElementLength() const override
Get design length.
virtual ~TravelingWaveRep()
virtual double getFrequency() const
Return the RF frequency in Hz.
virtual void setFrequency(double f)
Assign the RF frequency in Hz.
virtual void setElementLength(double length)
Set design length.
virtual ElementBase * clone() const
Return clone.
virtual void setFrequency(double f)
Set frequency.
static void setIgnore(bool ignore=false)
Set ignore switch.
StraightGeometry geometry
The cavity's geometry.
AcceleratingField field
The cavity's field.
virtual void setPhase(double phi)
Assign the RF phase in rad.
virtual double getPhase() const
Get phase.
virtual AcceleratingField & getField()
Get field.