|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.NISTMonte.MonteCarloSS.GaussianBeam
public class MonteCarloSS.GaussianBeam
| Constructor Summary | |
|---|---|
MonteCarloSS.GaussianBeam(double width)
GaussianBeam - Create a instance of the ElectronGun interface modeling a GaussianBeam with the specified gaussian width parameter. |
|
| 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. |
double |
getWidth()
getWidth - Returns the width of the Gaussian beam. |
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. |
void |
setWidth(double width)
setWidth - Set the width of the Gaussian beam. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MonteCarloSS.GaussianBeam(double width)
width - double - The Gaussian width paramter in meters.| Method Detail |
|---|
public void setWidth(double width)
width - doublepublic double getWidth()
public void setBeamEnergy(double beamEnergy)
MonteCarloSS.ElectronGun
setBeamEnergy in interface MonteCarloSS.ElectronGunbeamEnergy - double - in Joulespublic double getBeamEnergy()
MonteCarloSS.ElectronGun
getBeamEnergy in interface MonteCarloSS.ElectronGunpublic void setCenter(double[] center)
MonteCarloSS.ElectronGun
setCenter in interface MonteCarloSS.ElectronGuncenter - double[]public double[] getCenter()
MonteCarloSS.ElectronGun
getCenter in interface MonteCarloSS.ElectronGunpublic MonteCarloSS.Electron createElectron()
MonteCarloSS.ElectronGun
createElectron in interface MonteCarloSS.ElectronGun
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||