Package xal.model.elem
Class IdealHorMagSteeringDipole
java.lang.Object
xal.model.elem.Element
xal.model.elem.ThinElement
xal.model.elem.ThinElectromagnet
xal.model.elem.IdealMagSteeringDipole
xal.model.elem.IdealHorMagSteeringDipole
- All Implemented Interfaces:
IElectromagnet,IComponent,IElement
Represents an ideal magnetic steering dipole in the horizontal 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, TYPEFields inherited from class xal.model.elem.ThinElectromagnet
dblField, enmOrientFields inherited from class xal.model.elem.Element
dblNodeLen, dblNodePosFields inherited from interface xal.model.elem.sync.IElectromagnet
ORIENT_HOR, ORIENT_NONE, ORIENT_VERFields inherited from interface xal.model.IElement
LIGHT_SPEED, PERMEABILITY, PERMITTIVITY, UNIT_CHARGE -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor - creates a new uninitialized instance ofIdealHorMagSteeringDipole.IdealHorMagSteeringDipole(String strId) Create a new instance ofIdealHorMagSteeringDipoleand specify its instance identifier.IdealHorMagSteeringDipole(String strId, double dblLenEff, double dblFld) Creates a new instance ofIdealHorMagSteeringDipole. -
Method Summary
Methods inherited from class xal.model.elem.IdealMagSteeringDipole
elapsedTime, energyGain, getAngleKick, getEffLength, getPositionKick, initializeFrom, print, setAngleKick, setEffLength, setPositionKick, transferMapMethods inherited from class xal.model.elem.ThinElectromagnet
getMagField, getOrientation, setMagField, setOrientationMethods inherited from class xal.model.elem.ThinElement
applyErrors, elapsedTime, energyGain, getLength, longitudinalPhaseAdvance, longitudinalPhaseAdvance, transferMapMethods 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
-
IdealHorMagSteeringDipole
public IdealHorMagSteeringDipole()Default constructor - creates a new uninitialized instance ofIdealHorMagSteeringDipole. Typically used by automatic lattice generation.- Since:
- May 13, 2011
-
IdealHorMagSteeringDipole
Create a new instance ofIdealHorMagSteeringDipoleand specify its instance identifier.- Parameters:
strId- string instance identifier of element- Since:
- May 13, 2011
-
IdealHorMagSteeringDipole
Creates a new instance ofIdealHorMagSteeringDipole. 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
-