Package xal.model.elem
Class IdealVerMagSteeringDipole
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThinElement
xal.model.elem.ThinElectromagnet
xal.model.elem.IdealMagSteeringDipole
xal.model.elem.IdealVerMagSteeringDipole
- All Implemented Interfaces:
IElectromagnet
,IComponent
,IElement
Represents an ideal magnetic steering dipole in the vertical direction. All
the functionality occurs in the base class
IdealMagSteeringDipole
. This purpose of this class is to
avoid the use of the enumeration constants in
IElectromagnet
which define the orientation. They are
brittle being of the legacy construction (with int
values) and
the mechanism is problematic when generating a model from the SMF
Accelerator
tree.- Since:
- May 13, 2011
- Author:
- Christopher K. Allen
-
Field Summary
Fields inherited from class xal.model.elem.IdealMagSteeringDipole
PARAM_FIELD, PARAM_LEN_EFF, PARAM_ORIENT, TYPE
Fields inherited from class xal.model.elem.ThinElectromagnet
dblField, enmOrient
Fields inherited from class xal.model.elem.Element
dblNodeLen, dblNodePos
Fields inherited from interface xal.model.elem.sync.IElectromagnet
ORIENT_HOR, ORIENT_NONE, ORIENT_VER
Fields inherited from interface xal.model.IElement
LIGHT_SPEED, PERMEABILITY, PERMITTIVITY, UNIT_CHARGE
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor - creates a new uninitialized instance ofIdealVerMagSteeringDipole
.IdealVerMagSteeringDipole
(String strId) Create a new instance ofIdealVerMagSteeringDipole
and specify its instance identifier.IdealVerMagSteeringDipole
(String strId, double dblLenEff, double dblFld) Creates a new instance ofIdealVerMagSteeringDipole
. -
Method Summary
Methods inherited from class xal.model.elem.IdealMagSteeringDipole
elapsedTime, energyGain, getAngleKick, getEffLength, getPositionKick, initializeFrom, print, setAngleKick, setEffLength, setPositionKick, transferMap
Methods inherited from class xal.model.elem.ThinElectromagnet
getMagField, getOrientation, setMagField, setOrientation
Methods inherited from class xal.model.elem.ThinElement
applyErrors, elapsedTime, energyGain, getLength, longitudinalPhaseAdvance, longitudinalPhaseAdvance, transferMap
Methods inherited from class xal.model.elem.Element
addCloseElements, backPropagate, backPropagate, compDriftingTime, compProbeLocation, getAlignX, getAlignY, getAlignZ, getCloseElements, getHardwareNodeId, getId, getLatticePosition, getNodeLen, getNodePos, getParent, getPhiX, getPhiY, getPhiZ, getPosition, getType, getUID, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setParent, setPhiX, setPhiY, setPhiZ, setPosition, toString
-
Constructor Details
-
IdealVerMagSteeringDipole
public IdealVerMagSteeringDipole()Default constructor - creates a new uninitialized instance ofIdealVerMagSteeringDipole
. Typically used by automatic lattice generation.- Since:
- May 13, 2011
-
IdealVerMagSteeringDipole
Create a new instance ofIdealVerMagSteeringDipole
and specify its instance identifier.- Parameters:
strId
- string instance identifier of element- Since:
- May 13, 2011
-
IdealVerMagSteeringDipole
Creates a new instance ofIdealVerMagSteeringDipole
. The action of the kicker is completely unspecified.- Parameters:
strId
- string identifier of elementdblFld
- field strength (in Tesla)dblLenEff
- effective length of dipole magnet- Since:
- May 13, 2011
-