Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
1762846
start implementation of aem1
tgiani Oct 16, 2024
61220f8
complete aem1.py
tgiani Oct 21, 2024
a40908b
unit tests
tgiani Oct 21, 2024
f0edfae
add struct for charge combinations
tgiani Oct 21, 2024
a8d72c0
some work on gamma_ns_qed
tgiani Oct 23, 2024
e8a3a8b
start as1aem1.rs
tgiani Oct 23, 2024
136dbe8
gamma_qph as1aem1
tgiani Oct 23, 2024
ce11227
some work on as1aem1
tgiani Oct 25, 2024
659fe31
addingv recursive harmonics to cache
tgiani Oct 25, 2024
4007f0d
S1p2 and G3p2. Check that this is correct
tgiani Oct 25, 2024
7c160f1
gamma_nsp
tgiani Oct 25, 2024
37a65e8
rewrite ChargeCombination struct
tgiani Nov 11, 2024
fc5de81
missing entries in as1aem1
tgiani Nov 11, 2024
2a911b1
adding tests
tgiani Nov 11, 2024
bad124a
some work on spacelike.rs and recasting from list to vec
tgiani Nov 20, 2024
d50e9c7
valence qed
tgiani Nov 20, 2024
b0f6722
some unit tests
tgiani Nov 20, 2024
e4c621b
use Vec<> only when dimension is not known, else use normal list
tgiani Nov 20, 2024
81ece22
fix notation row/columns
tgiani Nov 20, 2024
0def938
add unravel functions for qed case. To be checked
tgiani Nov 20, 2024
9b58455
modifying rust_quad_ker_qcd, PyQuadKerQCDT and QuadQCDargs to include…
tgiani Nov 21, 2024
588496a
add qed valence option in rust_quad_ker_qcd
tgiani Nov 21, 2024
3452243
remove useless flag is_qed
tgiani Nov 21, 2024
9335b97
extend QuadQCDargs to include arguments for c_quad_ker_qed
tgiani Nov 21, 2024
3390aca
setting up input vectors for cb_quad_ker_qed
tgiani Nov 28, 2024
6a3af19
cb_quad_ker_qed
tgiani Dec 3, 2024
f0a727d
fix modes for singlet QED and use == in if statements
tgiani Dec 9, 2024
398c89a
small fix
tgiani Dec 9, 2024
ea44cee
cargo fmt
tgiani Dec 9, 2024
5721326
forgot pre-commit
tgiani Dec 9, 2024
83af836
updating patch file
tgiani Dec 11, 2024
1af5cbf
Update crates/ekore/src/constants.rs
tgiani Dec 11, 2024
80fe896
Merge branch 'master' into aem1
felixhekhorn Jan 13, 2025
5ce8eb3
rust: Iterate ekore/constants
felixhekhorn Jan 13, 2025
88d7ed9
rust: Fix clippy warning
felixhekhorn Jan 13, 2025
9797190
rust: Add missing ref for polarized ad
felixhekhorn Jan 13, 2025
5013a8f
rust: Iterate aem1
felixhekhorn Jan 13, 2025
064c31c
rust: Iterate as1aem1
felixhekhorn Jan 13, 2025
1dc1ffd
rust: Init ad/u/s/aem2
felixhekhorn Jan 13, 2025
b7b314f
rust: Expand ad/u/s/aem2
felixhekhorn Jan 13, 2025
180cc7e
rust: Complete ad/u/s/aem2
felixhekhorn Jan 13, 2025
7bed428
rust: Start generalizing ad/u/spacelike
felixhekhorn Jan 13, 2025
680dae8
rust: Use QCD ads also in QED
felixhekhorn Jan 14, 2025
5046f50
rust: Iterate eko/lib.rs
felixhekhorn Jan 14, 2025
d56b122
Fix LO FFNS apfel bench
felixhekhorn Jan 15, 2025
f3f027a
rust: Fix range error
felixhekhorn Jan 15, 2025
6fea38a
Fix QED FFNS apfel bench
felixhekhorn Jan 15, 2025
fa88d4f
rust: Swap dimensions for ad
felixhekhorn Jan 15, 2025
d53ca75
Use Lsv for SV in QED
felixhekhorn Jan 15, 2025
8dc3452
Don't pass L back from Rust to Python
felixhekhorn Jan 15, 2025
714efa9
rust: Fix typo in aem1/v
felixhekhorn Jan 15, 2025
b598f4d
Fix size of transferred arrays
felixhekhorn Jan 16, 2025
4633ca9
rust: Add minor fixes to ad/u/s/{as1}aem1
felixhekhorn Jan 17, 2025
ec743ca
py: Make repetition in ad/u/s/aem2 more explicit
felixhekhorn Jan 17, 2025
1a77d68
Add void external
felixhekhorn Jan 22, 2025
efe3c93
Fix bug in benchmark runner
felixhekhorn Jan 22, 2025
ab59da8
fix bug in qed anomalous dimensions
tgiani Jan 28, 2025
ffc6f70
same bug in ns sector
tgiani Jan 28, 2025
3a1bf31
rust: Remove G3p2 from cache
felixhekhorn Feb 3, 2025
044432b
rust: Drop recursive definitions from cache
felixhekhorn Feb 3, 2025
4507b75
Avoid setting more couplings in OME
felixhekhorn Feb 3, 2025
0a4717e
unit tests for rust qed anomalous dimensions
tgiani Feb 3, 2025
938378a
rust: Add more test macros for complex
felixhekhorn Feb 3, 2025
79d5437
ekomark: Fix void+QED
felixhekhorn Feb 3, 2025
bf5cb42
rust: Simplify test_gamma_singlet_qed
felixhekhorn Feb 3, 2025
e8126f4
Explicitly hide asX in cb_quad_ker_qed
felixhekhorn Feb 3, 2025
01985ec
rust: Improve ad/u/s unit tests
felixhekhorn Feb 3, 2025
da13119
Initialize pointers with max size
felixhekhorn Feb 3, 2025
2ef7a29
Add max_areas_shape to interpolation
felixhekhorn Feb 4, 2025
e956e0a
Use max_areas_shape for pointer init
felixhekhorn Feb 4, 2025
74fd522
Call max_areas_shape for pointer init
felixhekhorn Feb 4, 2025
2bdad40
Spell nf in apfel VFNS bench
felixhekhorn Feb 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions benchmarks/apfel_bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ class BenchmarkVFNS(ApfelBenchmark):

vfns_theory = {
"FNS": "ZM-VFNS",
"ModEv": [
"EXA",
"EXP",
"TRN",
],
"ModEv": "EXA",
"kcThr": 1.0,
"kbThr": 1.0,
"ktThr": 1.0,
Expand Down Expand Up @@ -132,12 +128,10 @@ class BenchmarkFFNS(ApfelBenchmark):

ffns_theory = {
"FNS": "FFNS",
"ModEv": [
"EXA",
"EXP",
"TRN",
],
"ModEv": "EXA",
"NfFF": 4,
"nf0": 4,
"nfref": 4,
"kcThr": 0.0,
"kbThr": np.inf,
"ktThr": np.inf,
Expand All @@ -159,7 +153,6 @@ def benchmark_plain_pol(self, pto):

th = self.ffns_theory.copy()
th.update({"PTO": [pto]})
th["ModEv"] = ["EXA"] # TODO for the time one is sufficient
op = operators.apfel_config.copy()
op["polarized"] = [True]
self.run(cartesian_product(th), operators.build(op), ["ToyLH"])
Expand Down Expand Up @@ -209,6 +202,8 @@ class BenchmarkFFNS_qed(ApfelBenchmark):
# "TRN",
],
"NfFF": 5,
"nf0": 5,
"nfref": 5,
"kcThr": 0.0,
"kbThr": 0.0,
"ktThr": np.inf,
Expand Down Expand Up @@ -291,6 +286,8 @@ class BenchmarkVFNS_qed(ApfelBenchmark):
"kbThr": 1.0,
"ktThr": 1.0,
"Q0": 1.25,
"nf0": 3,
"nfref": 5,
"alphas": 0.118000,
"alphaqed": 0.007496,
}
Expand Down Expand Up @@ -319,7 +316,7 @@ def benchmark_plain(self, pto, qed):
# obj = BenchmarkFFNS()

# obj.benchmark_plain_pol(2)
# obj.benchmark_plain(2)
# obj.benchmark_plain(0)
# obj.benchmark_sv(2, "exponentiated")
# obj.benchmark_kthr(2)
# obj.benchmark_msbar(2)
Expand Down
18 changes: 9 additions & 9 deletions benchmarks/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@ class Sandbox(Runner):
sandbox = True

# select here the external program between LHA, LHAPDF, apfel, pegasus
external = "apfel"
external = "void"
# external = "pegasus"

# select to plot operators
plot_operator = True
# plot_operator = True

rotate_to_evolution_basis = True
# rotate_to_evolution_basis = True

@staticmethod
def generate_operators():
ops = {
"ev_op_iterations": [1],
# "ev_op_max_order": [20],
"mugrid": [[10]],
"mugrid": [[10.0]],
# "debug_skip_singlet": [True],
}
return ops
Expand Down Expand Up @@ -118,12 +118,12 @@ def lha(self):
"FNS": "FFNS",
"NfFF": 4,
"ModEv": "EXA",
"XIF": np.sqrt(2),
"Q0": np.sqrt(2),
"XIF": float(np.sqrt(2)),
"Q0": float(np.sqrt(2)),
"kcThr": 0.0,
"kbThr": np.inf,
"ktThr": np.inf,
"Qref": np.sqrt(2.0),
"Qref": float(np.sqrt(2.0)),
"alphas": 0.35,
}
self.skip_pdfs = lambda _theory: [
Expand All @@ -139,11 +139,11 @@ def lha(self):
]
self.run(
[theory_updates],
[{"mugrid": [100], "debug_skip_singlet": True}],
[{"mugrid": [100.0], "debug_skip_singlet": True}],
["ToyLH"],
)


if __name__ == "__main__":
sand = Sandbox()
sand.doit()
sand.lha()
Loading
Loading