Skip to main content

FeynmanDiagramRulesExt

Trait FeynmanDiagramRulesExt 

Source
pub trait FeynmanDiagramRulesExt {
    // Required methods
    fn apply_feynman_rules(&self) -> Result<FeynmanDiagram, GenerationError>;
    fn external_state_projector(
        &self,
    ) -> Result<SymbolicTensor<PartialStructure>, GenerationError>;
}
Expand description

Feynman-rule numerators for a finalized topology, using its attached model.

Required Methods§

Source

fn apply_feynman_rules(&self) -> Result<FeynmanDiagram, GenerationError>

Instantiate vertex and propagator numerators in an imported diagram’s existing half-edge frame, using its interaction-slot assignments.

The diagram’s routing, overall factor, numerator prefactor and projector are retained. Existing local numerator fragments are replaced with the model’s Feynman rules, just as during diagram generation.

Source

fn external_state_projector( &self, ) -> Result<SymbolicTensor<PartialStructure>, GenerationError>

Construct the automatic external-state projector in the finalized frame. Paired initial states include color completeness without averaging; unsewn amplitude color ports remain open. Callers with an explicit projector retain that supplied expression instead.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FeynmanDiagramRulesExt for FeynmanDiagram

Implementors§