Skip to main content

Crate lindhard

Crate lindhard 

Source
Expand description

lindhard — clean-room Monte Carlo transport of ions and electrons in matter.

Roadmap, milestone status and the module plan are in docs/architecture.md. Each module’s own documentation is the maintained description of what it provides:

  • constants: physical constants in SI units, each with its source.
  • contour: iso-dose contours of a gridded field, with area and centroid.
  • electron: electron transport, from validated data to tallies.
  • elements: the per-element data table, Z = 1..=92.
  • exposure: dose of a multi-shot exposure from a fitted Gaussian-sum PSF.
  • geometry: the Geometry trait and the layered, voxel and mesh targets.
  • input: the TOML run description (beam, target, physics, run size).
  • ion: ion transport, screening, stopping, damage and crystal targets.
  • material: elements combined into materials with their energies.
  • rng: deterministic per-particle random streams and the parallel driver.
  • tally: histograms, moments, distributions and other result statistics.
  • units: unit conventions and conversions.

Modules§

constants
Physical constants, SI units.
contour
Iso-dose contours of a gridded scalar field, with the area and centroid of each closed contour.
electron
Electron transport (milestone M1, docs/architecture.md).
elements
Element table, Z = 1..=92.
exposure
Multi-shot exposure: the energy density deposited by a list of shots, from a fitted Gaussian-sum point-spread function (GaussianPsf).
geometry
Target geometry: the engine-facing Geometry trait, the 1D layered Stack, the 3D VoxelGrid, the triangle-mesh MeshGeometry and the constructive-solid-geometry CsgGeometry.
input
The run description: one TOML document describing the beam, the layered target and its materials, the physics choices and the run size.
ion
Ion transport: screened potentials, scattering, stopping, the BCA engine, and the crystal-target data model (crystal).
material
Materials: elements combined by atom or mass fraction, with a mass density, a derived atom number density, and per-element displacement (E_d), lattice binding (E_b) and surface binding (E_s) energies.
rng
Deterministic per-particle random streams and a parallel driver.
tally
Tallies: turning particle histories into results.
units
Unit conventions.

Constants§

VERSION
Crate version, as stamped by Cargo.