|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface MonteCarloSS.ElectronGun
This interface allows the user to modify the properties of the electron
gun. By implementing this interface, the user can create guns with a beam
width, guns that raster or a variety of different gun properties. Use
MonteCarloSS.setElectronGun to specify the implementation of this
interface.
Note: The electron is rastered by moving the initial point rather than
varying the beam angle. This is not realistic but is better numerically as
the angles are otherwise tiny and subject to rounding errors.
Copyright: Not subject to copyright 2004
Company: National Institute of Standards and Technology
| Method Summary | |
|---|---|
MonteCarloSS.Electron |
createElectron()
createElectron - Called by MonteCarloSS at the beginning of each trajectory to get a fresh Electron. |
double |
getBeamEnergy()
getBeamEnergy - Returns the beam energy |
double[] |
getCenter()
getCenter - Returns the location of the center of the gun. |
void |
setBeamEnergy(double beamEnergy)
setBeamEnergy - Called by MonteCarloSS.setBeamEnergy to modify the acceleration potential. |
void |
setCenter(double[] center)
setCenter - Called by MonteCarloSS to set the location of the electron source. |
| Method Detail |
|---|
void setBeamEnergy(double beamEnergy)
beamEnergy - double - in Joulesdouble getBeamEnergy()
void setCenter(double[] center)
center - double[]double[] getCenter()
MonteCarloSS.Electron createElectron()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||