Skip to content

Commit

Permalink
missing entries in as1aem1
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiani committed Nov 11, 2024
1 parent 37a65e8 commit fc5de81
Showing 1 changed file with 52 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
use crate::cmplx;
use num::complex::Complex;

use crate::constants::{ed2, eu2, uplike_flavors, CA, CF, NC, TR, ZETA2, ZETA3};
use crate::constants::{
ed2, eu2, uplike_flavors, ChargeCombinations, CA, CF, NC, TR, ZETA2, ZETA3,
};
use crate::harmonics::cache::{Cache, K};

/// Compute the $O(a_s^1a_{em}^1)$ photon-quark anomalous dimension.
Expand Down Expand Up @@ -191,3 +193,52 @@ pub fn gamma_nsm(c: &mut Cache, _nf: u8) -> Complex<f64> {

CF * result
}

/// Compute the $O(a_s^1a_{em}^1)$ singlet sector.
pub fn gamma_singlet(c: &mut Cache, nf: u8) -> [[Complex<f64>; 4]; 4] {
let cc = ChargeCombinations { nf };
// let e2avg = cc.e2avg();
// let vue2m = cc.vue2m();
// let vde2m = cc.vde2m();
// let e2delta = cc.e2delta();
let e2_tot = nf as f64 * cc.e2avg();

[
[
e2_tot * gamma_gg(c, nf),
e2_tot * gamma_gph(c, nf),
cc.e2avg() * gamma_gq(c, nf),
cc.vue2m() * gamma_gq(c, nf),
],
[
e2_tot * gamma_phg(c, nf),
gamma_phph(c, nf),
cc.e2avg() * gamma_phq(c, nf),
cc.vue2m() * gamma_phq(c, nf),
],
[
cc.e2avg() * gamma_qg(c, nf),
cc.e2avg() * gamma_qph(c, nf),
cc.e2avg() * gamma_nsp(c, nf),
cc.vue2m() * gamma_nsp(c, nf),
],
[
cc.vde2m() * gamma_qg(c, nf),
cc.vde2m() * gamma_qph(c, nf),
cc.vde2m() * gamma_nsp(c, nf),
cc.e2delta() * gamma_nsp(c, nf),
],
]
}

/// Compute the $O(a_s^1a_{em}^1)$ valence sector.
pub fn gamma_valence(c: &mut Cache, nf: u8) -> [[Complex<f64>; 2]; 2] {
let cc = ChargeCombinations { nf };
[
[cc.e2avg() * gamma_nsm(c, nf), cc.vue2m() * gamma_nsm(c, nf)],
[
cc.vde2m() * gamma_nsm(c, nf) * gamma_nsm(c, nf),
cc.e2delta() * gamma_nsm(c, nf),
],
]
}

0 comments on commit fc5de81

Please sign in to comment.