public abstract class ThickElectrostatic extends ThickElement implements IElectrostatic
Modifier and Type | Field and Description |
---|---|
protected double |
dblField
Field strength of the dipole magnet
|
protected int |
enmOrient
bending plane of dipole
|
ORIENT_HOR, ORIENT_NONE, ORIENT_VER
LightSpeed, Permeability, Permittivity, UnitCharge
Constructor and Description |
---|
ThickElectrostatic(java.lang.String strType) |
ThickElectrostatic(java.lang.String strType,
java.lang.String strId) |
ThickElectrostatic(java.lang.String strType,
java.lang.String strId,
double dblLen) |
Modifier and Type | Method and Description |
---|---|
double |
getMagField()
Get the magnetic field strength of the associated dipole
|
int |
getOrientation()
Return the orientation enumeration code for the bending plane of the
associated dipole magnet.
|
void |
initializeFrom(LatticeElement latticeElement)
Conversion method to be provided by the user
|
void |
setMagField(double dblField)
Set the magnetic field strength of the dipole electromagnet.
|
void |
setOrientation(int enmOrient)
Set the dipole bending plane orientation
|
energyGain, getLength, setLength, transferMap
addCloseElements, applyAlignError, backPropagate, backPropagate, compDriftingTime, compProbeLocation, elapsedTime, getAlignX, getAlignY, getAlignZ, getCloseElements, getHardwareNodeId, getId, getPosition, getType, getUID, print, propagate, propagate, setAlign, setAlignX, setAlignY, setAlignZ, setHardwareNodeId, setId, setPosition, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVoltage, setVoltage
protected int enmOrient
protected double dblField
public ThickElectrostatic(java.lang.String strType, java.lang.String strId, double dblLen)
public ThickElectrostatic(java.lang.String strType, java.lang.String strId)
public ThickElectrostatic(java.lang.String strType)
public int getOrientation()
getOrientation
in interface IElectrostatic
public double getMagField()
public void setOrientation(int enmOrient)
setOrientation
in interface IElectrostatic
enmOrient
- magnet orientation enumeration codegetOrientation()
public void setMagField(double dblField)
dblField
- magnetic field (in public void initializeFrom(LatticeElement latticeElement)
initializeFrom
in interface IComponent
initializeFrom
in class ThickElement
latticeElement
- the SMF node to convert