Skip to content

Pass evolution + backwards method internally via int#395

Merged
felixhekhorn merged 9 commits into
masterfrom
ev-mode-to-int
Jul 24, 2024
Merged

Pass evolution + backwards method internally via int#395
felixhekhorn merged 9 commits into
masterfrom
ev-mode-to-int

Conversation

@felixhekhorn
Copy link
Copy Markdown
Collaborator

@felixhekhorn felixhekhorn commented Jul 19, 2024

SV mode is cast to integer internally - we should do the same for evolution and backwards instead of using strings. We know this is better, meaning faster, for numba as numba prefers integer over strings (for obvious reasons). This also makes it trivial for #383 to pass it through rust as is proven by #394 .

This is a purely internal change and the outside, i.e. op cards, is unaffected.

This is touching the core of eko so a solid review is appreciated; explicitly this interacts with QED, N3LO and backwards

@felixhekhorn felixhekhorn added the refactor Refactor code label Jul 19, 2024
@felixhekhorn felixhekhorn marked this pull request as ready for review July 19, 2024 13:45
@felixhekhorn felixhekhorn requested review from giacomomagni and niclaurenti and removed request for giacomomagni July 19, 2024 13:45
@felixhekhorn felixhekhorn mentioned this pull request Jul 19, 2024
14 tasks
Comment thread src/eko/kernels/singlet_qed.py Outdated
Copy link
Copy Markdown
Collaborator

@giacomomagni giacomomagni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I left some small comments

Comment thread src/eko/scale_variations/__init__.py
Comment thread src/eko/evolution_operator/operator_matrix_element.py Outdated
Comment thread src/eko/evolution_operator/operator_matrix_element.py Outdated
@felixhekhorn felixhekhorn merged commit 3672ea6 into master Jul 24, 2024
@felixhekhorn felixhekhorn deleted the ev-mode-to-int branch July 24, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactor code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants