OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
VariableRFCavity Class Reference

#include <VariableRFCavity.h>

Inheritance diagram for VariableRFCavity:
Inheritance graph
[legend]
Collaboration diagram for VariableRFCavity:
Collaboration graph
[legend]

Public Member Functions

 VariableRFCavity (const std::string &name)
 Constructor with given name. More...
 
 VariableRFCavity (const VariableRFCavity &)
 
 VariableRFCavity ()
 
VariableRFCavityoperator= (const VariableRFCavity &)
 
virtual ~VariableRFCavity ()
 
virtual void accept (BeamlineVisitor &) const override
 
virtual ElementBaseclone () const override
 
virtual bool apply (const size_t &i, const double &t, Vector_t &E, Vector_t &B) override
 
virtual bool apply (const Vector_t &R, const Vector_t &P, const double &t, Vector_t &E, Vector_t &B) override
 
virtual bool applyToReferenceParticle (const Vector_t &R, const Vector_t &P, const double &t, Vector_t &E, Vector_t &B) override
 
virtual void initialise (PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
 
virtual void finalise () override
 
virtual bool bends () const override
 
virtual void getDimensions (double &zBegin, double &zEnd) const override
 
virtual double getAmplitude (double time) const
 
virtual double getFrequency (double time) const
 
virtual double getPhase (double time) const
 
virtual double getHeight () const
 
virtual double getWidth () const
 
virtual double getLength () const
 
virtual void setHeight (double fullHeight)
 
virtual void setWidth (double fullWidth)
 
virtual void setLength (double length)
 
virtual std::shared_ptr
< AbstractTimeDependence
getAmplitudeModel () const
 
virtual std::shared_ptr
< AbstractTimeDependence
getPhaseModel () const
 
virtual std::shared_ptr
< AbstractTimeDependence
getFrequencyModel () const
 
virtual void setAmplitudeModel (std::shared_ptr< AbstractTimeDependence > time_dep)
 
virtual void setPhaseModel (std::shared_ptr< AbstractTimeDependence > time_dep)
 
virtual void setFrequencyModel (std::shared_ptr< AbstractTimeDependence > time_dep)
 
virtual void setAmplitudeName (std::string amplitude)
 
virtual void setPhaseName (std::string phase)
 
virtual void setFrequencyName (std::string frequency)
 
virtual StraightGeometrygetGeometry () override
 
virtual const StraightGeometrygetGeometry () const override
 
virtual EMFieldgetField () override
 Not implemented. More...
 
virtual const EMFieldgetField () const override
 Not implemented. More...
 
- Public Member Functions inherited from Component
 Component (const std::string &name)
 Constructor with given name. More...
 
 Component ()
 
 Component (const Component &right)
 
virtual ~Component ()
 
EVector Efield (const Point3D &P) const
 Return the field in a point. More...
 
BVector Bfield (const Point3D &P) const
 Return the field in a point. More...
 
EVector Efield (const Point3D &P, double t) const
 Return the field in a point. More...
 
BVector Bfield (const Point3D &P, double t) const
 Return the field in a point. More...
 
EBVectors EBfield (const Point3D &P) const
 Return the field in a point. More...
 
EBVectors EBfield (const Point3D &P, double t) const
 Return the field in a point. More...
 
virtual void addKR (int i, double t, Vector_t &K)
 
virtual void addKT (int i, double t, Vector_t &K)
 
virtual bool getPotential (const Vector_t &R, const double &t, Vector_t &A, double &phi)
 
virtual double getDesignEnergy () const
 
virtual void setDesignEnergy (const double &energy, bool changeable)
 
virtual void goOnline (const double &kineticEnergy)
 
virtual void goOffline ()
 
virtual bool Online ()
 
virtual ElementBase::ElementType getType () const
 Get element type std::string. More...
 
virtual void setComponentType (std::string)
 
virtual std::string getComponentType () const
 
virtual const ElementBasegetDesign () const
 Return design element. More...
 
virtual void trackBunch (PartBunchBase< double, 3 > *bunch, const PartData &, bool revBeam, bool revTrack) const
 Track particle bunch. More...
 
virtual void trackMap (FVps< double, 6 > &map, const PartData &, bool revBeam, bool revTrack) const
 Track a map. More...
 
void setExitFaceSlope (const double &)
 
- Public Member Functions inherited from ElementBase
 ElementBase (const std::string &name)
 Constructor with given name. More...
 
 ElementBase ()
 
 ElementBase (const ElementBase &)
 
virtual ~ElementBase ()
 
virtual const std::string & getName () const
 Get element name. More...
 
virtual void setName (const std::string &name)
 Set element name. More...
 
std::string getTypeString () const
 
virtual double getArcLength () const
 Get arc length. More...
 
virtual double getElementLength () const
 Get design length. More...
 
virtual void setElementLength (double length)
 Set design length. More...
 
virtual void getElementDimensions (double &begin, double &end) const
 
virtual double getOrigin () const
 Get origin position. More...
 
virtual double getEntrance () const
 Get entrance position. More...
 
virtual double getExit () const
 Get exit position. More...
 
virtual Euclid3D getTransform (double fromS, double toS) const
 Get transform. More...
 
virtual Euclid3D getTransform (double s) const
 Get transform. More...
 
virtual Euclid3D getTotalTransform () const
 Get transform. More...
 
virtual Euclid3D getEntranceFrame () const
 Get transform. More...
 
virtual Euclid3D getExitFrame () const
 Get transform. More...
 
virtual Euclid3D getEntrancePatch () const
 Get patch. More...
 
virtual Euclid3D getExitPatch () const
 Get patch. More...
 
virtual double getAttribute (const std::string &aKey) const
 Get attribute value. More...
 
virtual bool hasAttribute (const std::string &aKey) const
 Test for existence of an attribute. More...
 
virtual void removeAttribute (const std::string &aKey)
 Remove an existing attribute. More...
 
virtual void setAttribute (const std::string &aKey, double val)
 Set value of an attribute. More...
 
virtual ChannelgetChannel (const std::string &aKey, bool create=false)
 Construct a read/write channel. More...
 
virtual const ConstChannelgetConstChannel (const std::string &aKey) const
 Construct a read-only channel. More...
 
virtual ElementImagegetImage () const
 Construct an image. More...
 
virtual ElementBasecopyStructure ()
 Make a structural copy. More...
 
bool isSharable () const
 Test if the element can be shared. More...
 
virtual void makeSharable ()
 Set sharable flag. More...
 
virtual ElementBasemakeAlignWrapper ()
 Allow misalignment. More...
 
virtual ElementBasemakeFieldWrapper ()
 Allow field errors. More...
 
virtual ElementBasemakeWrappers ()
 Allow errors. More...
 
virtual ElementBaseremoveAlignWrapper ()
 Remove align wrapper. More...
 
virtual const ElementBaseremoveAlignWrapper () const
 Remove align wrapper. More...
 
virtual ElementBaseremoveFieldWrapper ()
 Remove field wrapper. More...
 
virtual const ElementBaseremoveFieldWrapper () const
 Remove field wrapper. More...
 
virtual ElementBaseremoveWrappers ()
 Return the design element. More...
 
virtual const ElementBaseremoveWrappers () const
 Return the design element. More...
 
bool update (const AttributeSet &)
 Update element. More...
 
virtual void setBoundaryGeometry (BoundaryGeometry *geo)
 
virtual BoundaryGeometrygetBoundaryGeometry () const
 return the attached boundary geometrt object if there is any More...
 
virtual bool hasBoundaryGeometry () const
 
virtual void setWake (WakeFunction *wf)
 attach a wake field to the element More...
 
virtual WakeFunctiongetWake () const
 return the attached wake object if there is any More...
 
virtual bool hasWake () const
 
virtual void setParticleMatterInteraction (ParticleMatterInteractionHandler *spys)
 
virtual
ParticleMatterInteractionHandler
getParticleMatterInteraction () const
 
virtual bool hasParticleMatterInteraction () const
 
ElemType getElType () const
 returns element type as enumeration needed in the envelope tracker More...
 
void setElType (ElemType elt)
 set the element type as enumeration needed in the envelope tracker More...
 
void setCSTrafoGlobal2Local (const CoordinateSystemTrafo &ori)
 
CoordinateSystemTrafo getCSTrafoGlobal2Local () const
 
void releasePosition ()
 
void fixPosition ()
 
bool isPositioned () const
 
virtual CoordinateSystemTrafo getEdgeToBegin () const
 
virtual CoordinateSystemTrafo getEdgeToEnd () const
 
void setAperture (const ApertureType &type, const std::vector< double > &args)
 
std::pair
< ElementBase::ApertureType,
std::vector< double > > 
getAperture () const
 
virtual bool isInside (const Vector_t &r) const
 
void setMisalignment (double x, double y, double s)
 
void setMisalignment (const CoordinateSystemTrafo &cst)
 
void getMisalignment (double &x, double &y, double &s) const
 
CoordinateSystemTrafo getMisalignment () const
 
void setActionRange (const std::queue< std::pair< double, double > > &range)
 
void setCurrentSCoordinate (double s)
 
void setRotationAboutZ (double rotation)
 Set rotation about z axis in bend frame. More...
 
double getRotationAboutZ () const
 
void setElementPosition (double elemedge)
 Access to ELEMEDGE attribute. More...
 
double getElementPosition () const
 
bool isElementPositionSet () const
 
- Public Member Functions inherited from RCObject
int addReference () const
 Increment reference count. More...
 
int removeReference () const
 Decrement the reference count. More...
 
bool isShared () const
 Test for sharing. More...
 

Protected Member Functions

void initNull ()
 
void initialise () const
 
- Protected Member Functions inherited from ElementBase
bool isInsideTransverse (const Vector_t &r, double f=1) const
 
- Protected Member Functions inherited from RCObject
 RCObject ()
 Default constructor. More...
 
 RCObject (const RCObject &)
 Copy constructor. More...
 
virtual ~RCObject ()=0
 
RCObjectoperator= (const RCObject &right)
 

Protected Attributes

std::shared_ptr
< AbstractTimeDependence
phaseTD_m
 
std::shared_ptr
< AbstractTimeDependence
amplitudeTD_m
 
std::shared_ptr
< AbstractTimeDependence
frequencyTD_m
 
std::string phaseName_m
 
std::string amplitudeName_m
 
std::string frequencyName_m
 
double halfWidth_m
 
double halfHeight_m
 
double _length
 
StraightGeometry geometry
 The cavity's geometry. More...
 
- Protected Attributes inherited from Component
double exit_face_slope_m
 
PartBunchBase< double, 3 > * RefPartBunch_m
 
bool online_m
 
- Protected Attributes inherited from ElementBase
bool shareFlag
 
CoordinateSystemTrafo csTrafoGlobal2Local_m
 
CoordinateSystemTrafo misalignment_m
 
std::pair< ApertureType,
std::vector< double > > 
aperture_m
 
double elementEdge_m
 
double rotationZAxis_m
 

Static Protected Attributes

static const double lengthUnit_m = 1e3
 
- Static Protected Attributes inherited from Component
static const std::vector< double > defaultAperture_m
 

Additional Inherited Members

- Public Types inherited from ElementBase
enum  ApertureType { RECTANGULAR, ELLIPTICAL, CONIC_RECTANGULAR, CONIC_ELLIPTICAL }
 
enum  ElementType {
  ALIGNWRAPPER, BEAMBEAM, BEAMBEAM3D, BEAMLINE,
  BEAMSTRIPPING, CCOLLIMATOR, CORRECTOR, CORRECTORWRAPPER,
  CYCLOTRON, CYCLOTRONWRAPPER, CYCLOTRONVALLEY, DEGRADER,
  DIAGNOSTIC, DRIFT, FLEXIBLECOLLIMATOR, INTEGRATOR,
  LAMBERTSON, MARKER, MONITOR, MPSPLITINTEGRATOR,
  MULTIPOLE, MULTIPOLET, MULTIPOLEWRAPPER, OFFSET,
  PARALLELPLATE, PATCH, PROBE, RBEND,
  RBEND3D, RBENDWRAPPER, RFCAVITY, RFQUADRUPOLE,
  RING, SBEND3D, SBEND, SBENDWRAPPER,
  SEPARATOR, SEPTUM, SOLENOID, SOURCE,
  STRIPPER, TRAVELINGWAVE, VARIABLERFCAVITY, ANY
}
 
- Static Public Member Functions inherited from ElementBase
static std::string getTypeString (ElementType type)
 

Detailed Description

Generates a field like E = E0*a(t)*sin{f(t)*t-q(t)} B = 0 where E0, B0 are user defined fields, a(t), f(t), q(t) are time dependent amplitude, frequency, phase respectively; it is assumed that these quantities vary sufficiently slowly that Maxwell is satisfied.

The time dependent quantities are

Definition at line 49 of file VariableRFCavity.h.

Constructor & Destructor Documentation

VariableRFCavity::VariableRFCavity ( const std::string &  name)
explicit

Constructor with given name.

Definition at line 37 of file VariableRFCavity.cpp.

References initNull().

Here is the call graph for this function:

VariableRFCavity::VariableRFCavity ( const VariableRFCavity var)

Copy Constructor; performs deepcopy on time-dependence models

Definition at line 45 of file VariableRFCavity.cpp.

References initNull().

Here is the call graph for this function:

VariableRFCavity::VariableRFCavity ( )

Default constructor

Definition at line 41 of file VariableRFCavity.cpp.

References initNull().

Referenced by clone().

Here is the call graph for this function:

VariableRFCavity::~VariableRFCavity ( )
virtual

Destructor does nothing

The shared_ptrs will self-destruct when reference count goes to 0

Definition at line 74 of file VariableRFCavity.cpp.

Member Function Documentation

void VariableRFCavity::accept ( BeamlineVisitor visitor) const
overridevirtual

Apply visitor to RFCavity.

The RF cavity finds the "time dependence" models by doing a string lookup against a list held by AbstractTimeDependence at accept time.

Implements ElementBase.

Reimplemented in VariableRFCavityFringeField.

Definition at line 175 of file VariableRFCavity.cpp.

References initialise(), and BeamlineVisitor::visitVariableRFCavity().

Here is the call graph for this function:

bool VariableRFCavity::apply ( const size_t &  i,
const double &  t,
Vector_t E,
Vector_t B 
)
overridevirtual

Calculate the field at the position of the i^th particle

Parameters
iindexes the particle whose field we need
tthe time at which the field is calculated
Ereturn value with electric field strength
Breturn value with magnetic field strength
Returns
True if particle is outside the boundaries; else False

Reimplemented from Component.

Reimplemented in VariableRFCavityFringeField.

Definition at line 131 of file VariableRFCavity.cpp.

References PartBunchBase< T, Dim >::P, PartBunchBase< T, Dim >::R, and Component::RefPartBunch_m.

Referenced by applyToReferenceParticle().

bool VariableRFCavity::apply ( const Vector_t R,
const Vector_t P,
const double &  t,
Vector_t E,
Vector_t B 
)
overridevirtual

Calculate the field at a given position

Parameters
Rthe position at which the field is calculated
Pthe momentum (not used)
tthe time at which the field is calculated
Ereturn value; filled with electric field strength
Breturn value; filled with magnetic field strength
Returns
True if particle is outside the boundaries; else False

Reimplemented from Component.

Reimplemented in VariableRFCavityFringeField.

Definition at line 142 of file VariableRFCavity.cpp.

References _length, abs(), amplitudeTD_m, frequencyTD_m, halfHeight_m, halfWidth_m, phaseTD_m, sin(), and Physics::two_pi.

Here is the call graph for this function:

bool VariableRFCavity::applyToReferenceParticle ( const Vector_t R,
const Vector_t P,
const double &  t,
Vector_t E,
Vector_t B 
)
overridevirtual

Calculate the field at a given position. This is identical to "apply".

Parameters
Rthe position at which the field is calculated
Pthe momentum (not used)
tthe time at which the field is calculated
Ereturn value; filled with electric field strength
Breturn value; filled with magnetic field strength
Returns
True if particle is outside the boundaries; else False

Reimplemented from Component.

Reimplemented in VariableRFCavityFringeField.

Definition at line 158 of file VariableRFCavity.cpp.

References apply().

Here is the call graph for this function:

virtual bool VariableRFCavity::bends ( ) const
inlineoverridevirtual
Returns
false (cavity does not bend the trajectory)

Implements Component.

Definition at line 124 of file VariableRFCavity.h.

ElementBase * VariableRFCavity::clone ( ) const
overridevirtual

Inheritable deepcopy method

Implements ElementBase.

Reimplemented in VariableRFCavityFringeField.

Definition at line 171 of file VariableRFCavity.cpp.

References VariableRFCavity().

Here is the call graph for this function:

void VariableRFCavity::finalise ( )
overridevirtual

Finalise following tracking

Just sets RefPartBunch_m to NULL

Implements Component.

Definition at line 167 of file VariableRFCavity.cpp.

References Component::RefPartBunch_m.

double VariableRFCavity::getAmplitude ( double  time) const
inlinevirtual

Get the amplitude at a given time

Parameters
time,:the time at which the amplitude is calculated
Returns
the RF field gradient.

Definition at line 229 of file VariableRFCavity.h.

References amplitudeTD_m.

std::shared_ptr< AbstractTimeDependence > VariableRFCavity::getAmplitudeModel ( ) const
virtual
Returns
shared_ptr to the amplitude (field gradient) time dependence

Definition at line 88 of file VariableRFCavity.cpp.

References amplitudeTD_m.

Referenced by OpalVariableRFCavity::fillRegisteredAttributes(), and OpalVariableRFCavityFringeField::fillRegisteredAttributes().

virtual void VariableRFCavity::getDimensions ( double &  zBegin,
double &  zEnd 
) const
inlineoverridevirtual

Not used (does nothing)

Implements Component.

Definition at line 127 of file VariableRFCavity.h.

EMField & VariableRFCavity::getField ( )
overridevirtual

Not implemented.

Implements Component.

Definition at line 120 of file VariableRFCavity.cpp.

const EMField & VariableRFCavity::getField ( ) const
overridevirtual

Not implemented.

Implements Component.

Definition at line 125 of file VariableRFCavity.cpp.

double VariableRFCavity::getFrequency ( double  time) const
inlinevirtual

Get the frequency at a given time

Parameters
time,:the time at which the frequency is calculated
Returns
the RF cavity frequency.

Definition at line 237 of file VariableRFCavity.h.

References frequencyTD_m.

std::shared_ptr< AbstractTimeDependence > VariableRFCavity::getFrequencyModel ( ) const
virtual
Returns
shared_ptr to the frequency

Definition at line 96 of file VariableRFCavity.cpp.

References frequencyTD_m.

Referenced by OpalVariableRFCavity::fillRegisteredAttributes(), and OpalVariableRFCavityFringeField::fillRegisteredAttributes().

StraightGeometry & VariableRFCavity::getGeometry ( )
overridevirtual

Set the cavity geometry

Implements ElementBase.

Definition at line 112 of file VariableRFCavity.cpp.

References geometry.

const StraightGeometry & VariableRFCavity::getGeometry ( ) const
overridevirtual
Returns
the cavity geometry

Implements ElementBase.

Definition at line 116 of file VariableRFCavity.cpp.

References geometry.

double VariableRFCavity::getHeight ( ) const
inlinevirtual
Returns
the full height of the cavity

Definition at line 241 of file VariableRFCavity.h.

References halfHeight_m, and lengthUnit_m.

Referenced by OpalVariableRFCavity::fillRegisteredAttributes(), and OpalVariableRFCavityFringeField::fillRegisteredAttributes().

double VariableRFCavity::getLength ( ) const
inlinevirtual
Returns
the length of the cavity

Definition at line 249 of file VariableRFCavity.h.

References _length, and lengthUnit_m.

Referenced by OpalVariableRFCavity::fillRegisteredAttributes(), and OpalVariableRFCavityFringeField::fillRegisteredAttributes().

double VariableRFCavity::getPhase ( double  time) const
inlinevirtual

Get the phase at a given time

Parameters
phase,:the time at which the phase is calculated
Returns
the RF cavity phase.

Definition at line 233 of file VariableRFCavity.h.

References phaseTD_m.

std::shared_ptr< AbstractTimeDependence > VariableRFCavity::getPhaseModel ( ) const
virtual
Returns
shared_ptr to the phase time dependence

Definition at line 92 of file VariableRFCavity.cpp.

References phaseTD_m.

Referenced by OpalVariableRFCavity::fillRegisteredAttributes(), and OpalVariableRFCavityFringeField::fillRegisteredAttributes().

double VariableRFCavity::getWidth ( ) const
inlinevirtual
Returns
the full width of the cavity

Definition at line 245 of file VariableRFCavity.h.

References halfWidth_m, and lengthUnit_m.

Referenced by OpalVariableRFCavity::fillRegisteredAttributes(), and OpalVariableRFCavityFringeField::fillRegisteredAttributes().

void VariableRFCavity::initialise ( PartBunchBase< double, 3 > *  bunch,
double &  startField,
double &  endField 
)
overridevirtual

Initialise ready for tracking

Just sets RefPartBunch_m

Implements Component.

Reimplemented in VariableRFCavityFringeField.

Definition at line 163 of file VariableRFCavity.cpp.

References Component::RefPartBunch_m.

void VariableRFCavity::initialise ( ) const
protected
void VariableRFCavity::initNull ( )
protected
VariableRFCavity & VariableRFCavity::operator= ( const VariableRFCavity rhs)

Assignment operator; performs deepcopy on time-dependence models

Definition at line 50 of file VariableRFCavity.cpp.

References _length, amplitudeName_m, amplitudeTD_m, frequencyName_m, frequencyTD_m, ElementBase::getName(), halfHeight_m, halfWidth_m, lengthUnit_m, phaseName_m, phaseTD_m, setAmplitudeModel(), setFrequencyModel(), setLength(), ElementBase::setName(), and setPhaseModel().

Referenced by VariableRFCavityFringeField::operator=().

Here is the call graph for this function:

void VariableRFCavity::setAmplitudeModel ( std::shared_ptr< AbstractTimeDependence time_dep)
virtual

Set the amplitude (field gradient) time dependence

Definition at line 100 of file VariableRFCavity.cpp.

References amplitudeTD_m.

Referenced by initialise(), and operator=().

virtual void VariableRFCavity::setAmplitudeName ( std::string  amplitude)
inlinevirtual

Set the amplitude time dependence name

The name is used to find the amplitude model at accept time

Definition at line 184 of file VariableRFCavity.h.

References amplitudeName_m.

Referenced by OpalVariableRFCavity::update(), and OpalVariableRFCavityFringeField::update().

void VariableRFCavity::setFrequencyModel ( std::shared_ptr< AbstractTimeDependence time_dep)
virtual

Set the frequency time dependence

Definition at line 108 of file VariableRFCavity.cpp.

References frequencyTD_m.

Referenced by initialise(), and operator=().

virtual void VariableRFCavity::setFrequencyName ( std::string  frequency)
inlinevirtual

Set the frequency time dependence name

The name is used to find the frequency model at accept time

Definition at line 198 of file VariableRFCavity.h.

References frequencyName_m.

Referenced by OpalVariableRFCavity::update(), and OpalVariableRFCavityFringeField::update().

void VariableRFCavity::setHeight ( double  fullHeight)
inlinevirtual

Set the full height of the cavity

Definition at line 253 of file VariableRFCavity.h.

References halfHeight_m, and lengthUnit_m.

Referenced by OpalVariableRFCavity::update(), and OpalVariableRFCavityFringeField::update().

void VariableRFCavity::setLength ( double  length)
virtual

Set the length of the cavity

Definition at line 197 of file VariableRFCavity.cpp.

References _length, geometry, lengthUnit_m, and StraightGeometry::setElementLength().

Referenced by operator=(), OpalVariableRFCavity::update(), and OpalVariableRFCavityFringeField::update().

Here is the call graph for this function:

void VariableRFCavity::setPhaseModel ( std::shared_ptr< AbstractTimeDependence time_dep)
virtual

Set the phase time dependence

Definition at line 104 of file VariableRFCavity.cpp.

References phaseTD_m.

Referenced by initialise(), and operator=().

virtual void VariableRFCavity::setPhaseName ( std::string  phase)
inlinevirtual

Set the phase time dependence name

The name is used to find the phase model at accept time

Definition at line 191 of file VariableRFCavity.h.

References phaseName_m.

Referenced by OpalVariableRFCavity::update(), and OpalVariableRFCavityFringeField::update().

void VariableRFCavity::setWidth ( double  fullWidth)
inlinevirtual

Set the full width of the cavity

Definition at line 257 of file VariableRFCavity.h.

References halfWidth_m, and lengthUnit_m.

Referenced by OpalVariableRFCavity::update(), and OpalVariableRFCavityFringeField::update().

Member Data Documentation

double VariableRFCavity::_length
protected
std::string VariableRFCavity::amplitudeName_m
protected

Definition at line 217 of file VariableRFCavity.h.

Referenced by initialise(), initNull(), operator=(), and setAmplitudeName().

std::shared_ptr<AbstractTimeDependence> VariableRFCavity::amplitudeTD_m
protected
std::string VariableRFCavity::frequencyName_m
protected

Definition at line 218 of file VariableRFCavity.h.

Referenced by initialise(), initNull(), operator=(), and setFrequencyName().

std::shared_ptr<AbstractTimeDependence> VariableRFCavity::frequencyTD_m
protected
StraightGeometry VariableRFCavity::geometry
protected

The cavity's geometry.

Definition at line 223 of file VariableRFCavity.h.

Referenced by getGeometry(), and setLength().

double VariableRFCavity::halfHeight_m
protected
double VariableRFCavity::halfWidth_m
protected
const double VariableRFCavity::lengthUnit_m = 1e3
staticprotected
std::string VariableRFCavity::phaseName_m
protected

Definition at line 216 of file VariableRFCavity.h.

Referenced by initialise(), initNull(), operator=(), and setPhaseName().

std::shared_ptr<AbstractTimeDependence> VariableRFCavity::phaseTD_m
protected

The documentation for this class was generated from the following files: