Skip to main content

Crate feynkit_model

Crate feynkit_model 

Source
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
CouplingId
EvaluatedValues
Owned values returned by a model evaluator.
EvaluationFormFactor
UFO form-factor metadata supplied to an evaluator as a transport DTO.
EvaluationFunction
A callable UFO function supplied to an evaluator as a transport DTO.
EvaluationRequest
Owned input passed to a model evaluator.
LineStyle
A particle’s drawing conventions: its line, accent paint when charged, a heavier stroke when massive, and a particle-flow arrow for fermions.
LorentzStructure
LorentzStructureId
Model
A validated physics model with fallible, indexed lookups.
ModelExpression
A named expression whose value must be recomputed.
ModelFingerprint
Content identity of a validated model.
ModelFormFactor
ModelFormFactorId
ModelFunction
ModelFunctionId
Order
OrderId
Parameter
ParameterCard
Values supplied for named model parameters.
ParameterId
ParameterMathMl
A model parameter’s serialized spelling and validated presentation MathML.
Particle
A particle whose links into the model are stable typed identifiers.
ParticleId
Propagator
PropagatorId
VertexRule
VertexRuleId

Enums§

EntityKind
A named collection in a physics model.
LineKind
Line drawn for a particle by the shared physics renderer.
ModelError
Errors returned by model and parameter-card APIs.
ModelValidationError
A structural error in a model definition.
ParameterNature
ParameterType
RecomputeError
Errors returned while applying inputs and recomputing dependent values.

Traits§

ModelEvaluator
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§

ComplexValue
The complex scalar used by model parameters and couplings.