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_VERLightSpeed, 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, transferMapaddCloseElements, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVoltage, setVoltageprotected 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 IElectrostaticpublic double getMagField()
public void setOrientation(int enmOrient)
setOrientation in interface IElectrostaticenmOrient - magnet orientation enumeration codegetOrientation()public void setMagField(double dblField)
dblField - magnetic field (in public void initializeFrom(LatticeElement latticeElement)
initializeFrom in interface IComponentinitializeFrom in class ThickElementlatticeElement - the SMF node to convert