pub trait DOD: AtomCore {
// Provided methods
fn edge_dod(
&self,
momentum: Symbol,
eid: usize,
) -> Result<i32, DiagramError> { ... }
fn all_dod(&self, momentum: Symbol) -> Result<i32, DiagramError> { ... }
fn trailing_exponent(&self, scale: Symbol) -> Result<i32, DiagramError> { ... }
}Expand description
Momentum power counting shared by FeynKit diagrams and GammaLoop UV analysis.
The momentum head is explicit so consumers share the algorithm without depending on each other’s symbol registries.
Provided Methods§
Sourcefn edge_dod(&self, momentum: Symbol, eid: usize) -> Result<i32, DiagramError>
fn edge_dod(&self, momentum: Symbol, eid: usize) -> Result<i32, DiagramError>
Rescales momentum of edge eid, and computes the leading scaling.
Sourcefn all_dod(&self, momentum: Symbol) -> Result<i32, DiagramError>
fn all_dod(&self, momentum: Symbol) -> Result<i32, DiagramError>
Rescales all momenta, and computes the leading scaling.
Sourcefn trailing_exponent(&self, scale: Symbol) -> Result<i32, DiagramError>
fn trailing_exponent(&self, scale: Symbol) -> Result<i32, DiagramError>
Return the negative leading exponent as an inverse UV scale tends to zero.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".