pub struct ResolvedElectron {Show 17 fields
pub input: ElectronInput,
pub stack: Stack,
pub layers: Vec<ResolvedLayer>,
pub layer_material: Vec<usize>,
pub materials: Vec<ResolvedElectronMaterial>,
pub config: TransportConfig,
pub primary: Primary,
pub beam: BeamSpread,
pub elastic: ElasticChoice,
pub inelastic: PennAlgorithm,
pub inelastic_fermi_ev: f64,
pub table_energy_ev: Vec<f64>,
pub tally: ElectronTallyConfig,
pub voxel_grid: Option<VoxelTallyGrid>,
pub psf_fits: Vec<PsfModel>,
pub psf_normalization: PsfNormalization,
pub warnings: Vec<String>,
}Expand description
A validated electron input, in the engine’s types.
Fields§
§input: ElectronInputThe input as echoed: defaults filled in, run.threads removed.
stack: StackThe target.
layers: Vec<ResolvedLayer>Layers in stack order, with where each material came from.
layer_material: Vec<usize>For each layer, the index of its material in materials.
materials: Vec<ResolvedElectronMaterial>The materials the target uses, by name, with their electron data.
config: TransportConfigTransport configuration.
primary: PrimaryThe primary electron.
beam: BeamSpreadLanding profile and divergence of the beam (a point beam by default);
run with Transport::run_beam.
elastic: ElasticChoiceElastic choices.
inelastic: PennAlgorithmInelastic model.
inelastic_fermi_ev: f64Inelastic Fermi energy, eV, of the tables of materials without a band (0 if any material has one).
table_energy_ev: Vec<f64>Energy grid of every table, eV.
tally: ElectronTallyConfigTally configuration (SI units).
voxel_grid: Option<VoxelTallyGrid>The grid of electron.tally.voxel (SI units), if configured.
psf_fits: Vec<PsfModel>The PSF forms to fit to the profile of tally.psf, in input order
(duplicates removed).
psf_normalization: PsfNormalizationHow the PSF fits set their energy scale.
warnings: Vec<String>Non-fatal advice.
Implementations§
Trait Implementations§
Source§impl Clone for ResolvedElectron
impl Clone for ResolvedElectron
Source§fn clone(&self) -> ResolvedElectron
fn clone(&self) -> ResolvedElectron
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ResolvedElectron
impl RefUnwindSafe for ResolvedElectron
impl Send for ResolvedElectron
impl Sync for ResolvedElectron
impl Unpin for ResolvedElectron
impl UnsafeUnpin for ResolvedElectron
impl UnwindSafe for ResolvedElectron
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more