public class Dipole extends Element
Element.SECTION
fmt, handleAsThick
Constructor and Description |
---|
Dipole(double position,
double len)
Creates a new instance of Dipole
|
Dipole(java.lang.Double position,
java.lang.Double len)
Creates a new instance of Dipole
|
Dipole(double position,
double len,
java.lang.String name)
Creates a new instance of Dipole
|
Dipole(java.lang.Double position,
java.lang.Double len,
java.lang.String name)
Creates a new instance of Dipole
|
Dipole(Element.SECTION secHware,
double position,
double len,
java.lang.String name)
Create a new, initialized
Dipole object. |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
When called with a Visitor reference the implementor can either
reject to be visited (empty method body) or call the Visitor by
passing its own object reference.
|
java.lang.String |
getType()
Return the element type.
|
clone, getAcceleratorNode, getBase, getEndPosition, getFam, getHardwareSection, getLength, getName, getPosition, getStartPosition, isThick, setAcceleratorNode, setBase, setHardwareSection, setLength, setPosition, split, toAbsolutePosition, toCoutString, version
public Dipole(Element.SECTION secHware, double position, double len, java.lang.String name)
Dipole
object.secHware
- element's corresponding hardware componentposition
- element position within the latticelen
- element lengthname
- string identifier for elementpublic Dipole(double position, double len, java.lang.String name)
public Dipole(java.lang.Double position, java.lang.Double len, java.lang.String name)
public Dipole(double position, double len)
public Dipole(java.lang.Double position, java.lang.Double len)
public java.lang.String getType()
Element
public void accept(Visitor v)
accept
in interface VisitorListener
accept
in class Element
v
- the Visitor which wants to visit this object.