|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.xal.model.probe.Probe
|
+--gov.sns.xal.model.probe.BeamProbe
|
+--gov.sns.xal.model.probe.EnsembleProbe
Represents an ensemble of particles. This IProbe type maintains an
Ensemble object which is a collection of Particles. Thus,
this probe designed for muli-particle simulation.
| Field Summary | |
static int |
FLDCALC_GRIDFD
use grid finite difference scheme |
static int |
FLDCALC_GRIDFT
use grid Fourier transform method |
static int |
FLDCALC_NONE
no field calculation scheme specified |
static int |
FLDCALC_SUMMATION
use a full potential summation of each particle |
| Fields inherited from class gov.sns.xal.model.probe.Probe |
PROBE_LABEL |
| Fields inherited from interface gov.sns.xal.model.IProbe |
LightSpeed, Permittivity, UnitCharge |
| Constructor Summary | |
EnsembleProbe()
Creates a new (empty) instance of EnsembleProbe |
|
EnsembleProbe(EnsembleProbe probe)
Copy Constructor. |
|
| Method Summary | |
void |
applyState(ProbeState state)
Apply the contents of ProbeState to update my current state. |
ProbeState |
createProbeState()
Creates a state snapshot of this probe's state and returns it as a ProbeState object. |
Trajectory |
createTrajectory()
Creates a trajectory of the proper type for saving the probe's history. |
R3 |
electricField(R3 ptFld)
Get the electric field at a point in R3 from the ensemble. |
Ensemble |
getEnsemble()
Return the Ensemble state object |
int |
getFieldCalculation()
Return the field calculation method |
CorrelationMatrix |
phaseCorrelation()
Return the correlation matrix of the distribution |
PhaseVector |
phaseMean()
Return the coordinates of the ensemble centroid. |
void |
setEnsemble(Ensemble ens)
Set the EnsembleProbe state to the value of the argument NOTE: the copy operation can be expansive for large Ensembles |
void |
setFieldCalculation(int enmFldCalc)
Set the field calculation method |
| Methods inherited from class gov.sns.xal.model.probe.BeamProbe |
beamPerveance, getBeamCharge, getBeamCurrent, phaseCovariance, setBeamCharge, setBeamCurrent |
| Methods inherited from class gov.sns.xal.model.probe.Probe |
computeBetaFromGamma, computeGammaFromBeta, computeGammaFromW, deepCopyProbeBase, getAlgorithm, getArchive, getBeta, getBetaGamma, getComment, getCurrentElement, getGamma, getKineticEnergy, getPosition, getSpeciesCharge, getSpeciesRestEnergy, getTime, getTimestamp, getTrajectory, initialize, load, newProbeInitializedFrom, readFrom, reset, save, setAlgorithm, setComment, setCurrentElement, setKineticEnergy, setPosition, setSpeciesCharge, setSpeciesRestEnergy, setTime, setTimestamp, setTracking, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int FLDCALC_NONE
public static final int FLDCALC_SUMMATION
public static final int FLDCALC_GRIDFD
public static final int FLDCALC_GRIDFT
| Constructor Detail |
public EnsembleProbe()
public EnsembleProbe(EnsembleProbe probe)
EnsembleProbe
which is a deep copy of the argument
NOTE: the copy operation can be expansive for large Ensembles
probe - object to be copied| Method Detail |
public ProbeState createProbeState()
ProbeState object.
createProbeState in class ProbeEnsembleProbeState encapsulating the probe's current statepublic Trajectory createTrajectory()
createTrajectory in class ProbeEnsembleTrajectory for saving the probe's historypublic PhaseVector phaseMean()
phaseMean in class BeamProbepublic CorrelationMatrix phaseCorrelation()
phaseCorrelation in class BeamProbePhaseMatrixpublic void setFieldCalculation(int enmFldCalc)
enmFldCalc - field calculation method enumerationpublic void setEnsemble(Ensemble ens)
Ensembles
ens - Ensemble object to be copiedpublic int getFieldCalculation()
public Ensemble getEnsemble()
public R3 electricField(R3 ptFld)
ptFld - field point to evaluation ensemble field
public void applyState(ProbeState state)
EnsembleProbeState.
applyState in class BeamProbestate - ProbeState object containing new probe state data
java.lang.IllegalArgumentException - wrong ProbeState subtype for this probe
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||