Expand description
Standalone particle-physics model types.
This crate owns the validated, serializable model representation shared by feynkit consumers. Import DTOs retain the strings used by UFO/JSON files, while validated model records own parsed Symbolica expressions and typed identifiers for every cross-reference.
Structs§
- Coupling
- Coupling
Id - Evaluated
Values - Owned values returned by a model evaluator.
- Evaluation
Form Factor - UFO form-factor metadata supplied to an evaluator as a transport DTO.
- Evaluation
Function - A callable UFO function supplied to an evaluator as a transport DTO.
- Evaluation
Request - Owned input passed to a model evaluator.
- Line
Style - A particle’s drawing conventions: its line, accent paint when charged, a heavier stroke when massive, and a particle-flow arrow for fermions.
- Lorentz
Structure - Lorentz
Structure Id - Model
- A validated physics model with fallible, indexed lookups.
- Model
Expression - A named expression whose value must be recomputed.
- Model
Fingerprint - Content identity of a validated model.
- Model
Form Factor - Model
Form Factor Id - Model
Function - Model
Function Id - Order
- OrderId
- Parameter
- Parameter
Card - Values supplied for named model parameters.
- Parameter
Id - Parameter
Math Ml - A model parameter’s serialized spelling and validated presentation MathML.
- Particle
- A particle whose links into the model are stable typed identifiers.
- Particle
Id - Propagator
- Propagator
Id - Vertex
Rule - Vertex
Rule Id
Enums§
- Entity
Kind - A named collection in a physics model.
- Line
Kind - Line drawn for a particle by the shared physics renderer.
- Model
Error - Errors returned by model and parameter-card APIs.
- Model
Validation Error - A structural error in a model definition.
- Parameter
Nature - Parameter
Type - Recompute
Error - Errors returned while applying inputs and recomputing dependent values.
Traits§
- Model
Evaluator - Expression-evaluation boundary for a
crate::Model.
Functions§
- quantum_
number_ from_ float - Recover an exact quantum number from a floating-point model input.
- quantum_
number_ from_ json - Read one serialized model charge or hypercharge using the model JSON rules.
- resolve_
scalar_ bindings - Close a set of named scalar definitions using literal Symbolica replacements.
Type Aliases§
- Complex
Value - The complex scalar used by model parameters and couplings.