Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method(s) to support larger EKOs #244

Merged
merged 40 commits into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
53acd7f
Add first candidate for `Grid::evolve_slice`
cschwan Oct 10, 2023
b7fa693
Add support for EKO format introduced in v0.13
cschwan Oct 10, 2023
11f4792
Fix dimensions of operator slices
cschwan Oct 11, 2023
b9170bc
Test more digits of evolution
cschwan Oct 11, 2023
169168f
Add missing test file
cschwan Oct 11, 2023
d01f576
Fix test file name
cschwan Oct 11, 2023
c15de71
Add `EkoSlices` and `EkoSlicesIter` structs
cschwan Oct 12, 2023
c8e85f8
Prepare for different EKO file formats
cschwan Oct 12, 2023
7935cea
Add support for v0 EKO file format
cschwan Oct 12, 2023
5d1a4e9
Add support for v1 EKO file format
cschwan Oct 12, 2023
695e0d5
Add evolution for single-hadron initial-state grids
cschwan Oct 12, 2023
b94ceed
Replace `evolve` with `evolve_slice` in `pineappl evolve`
cschwan Oct 12, 2023
3bc3beb
Add missing UNWRAP comment
cschwan Oct 13, 2023
b7872a7
Fix E906 evolution integration test
cschwan Oct 13, 2023
6ab3a6b
Fix some clippy warnings
cschwan Oct 13, 2023
4e637e4
Simplify slice-based evolution code
cschwan Oct 13, 2023
8dc1eb4
Replace index-access with iterators
cschwan Oct 14, 2023
ef962fa
Improve evolution performance for double-hadronic grids
cschwan Oct 14, 2023
d9cb34f
Make evolution functions private
cschwan Oct 17, 2023
11723aa
Use `reversed_axes` instead of `permuted_axes`
cschwan Oct 18, 2023
aa8bb91
Use `general_mat_mul` instead of `scaled_add`/`dot`/`t`
cschwan Oct 18, 2023
890c2fb
Replace `evolve_slice` with `evolve_with_slice_iter`
cschwan Oct 21, 2023
082a764
Add comment to check for possible bug
cschwan Oct 24, 2023
3614711
Remove old functions and migrate `Grid::evolve` to use new method
cschwan Oct 24, 2023
36dce35
Fix PID = 0 gluon detection
cschwan Dec 12, 2023
ded265b
Use `CowArray` instead of `Array` to possibly avoid copying large arrays
cschwan Feb 1, 2024
d2a4f3d
Make `xif` parameter of `Grid::evolve_with_slice_iter`
cschwan Mar 3, 2024
b3450a5
Make `xir` parameter of `Grid::evolve_with_slice_iter`
cschwan Mar 3, 2024
3cfe6dc
Pack `xir` and `xif` into a tuple
cschwan Mar 3, 2024
6a86a88
Introduce new type `AlphasTable`
cschwan Mar 3, 2024
e556a3b
Fix documentation of `OperatorSliceInfo`
cschwan Mar 3, 2024
2a56cce
Fix two clippy warnings
cschwan Mar 3, 2024
5ae6f9c
Fix and test evolution with scale variations
cschwan Mar 3, 2024
c6d9e76
Add missing test data
cschwan Mar 3, 2024
0292ac8
Test old method `Grid::evolve`
cschwan Mar 3, 2024
9124624
Mark `Grid::evolve` deprecated
cschwan Mar 4, 2024
58972f2
Improve changelog entry
cschwan Mar 4, 2024
90d9efd
Add tentative Python interface for `Grid::evolve_with_slice_iter`
cschwan Mar 4, 2024
1e417a0
Fix compilation problems in the previous commit
cschwan Mar 4, 2024
ad42065
Remove unused method
cschwan Mar 4, 2024
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
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/cache@v3
with:
path: test-data
key: test-data-v8
key: test-data-v11
- name: Download test data
if: steps.cache-test-data.outputs.cache-hit != 'true'
run: |
Expand All @@ -42,6 +42,8 @@ jobs:
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV_old.pineappl.lz4'
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV.pineappl.lz4'
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV.tar'
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV_v2.tar'
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV_v2_xif_2.tar'
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/NJetEvents_0-0-2.tab.gz'
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/NUTEV_CC_NU_FE_SIGMARED.pineappl.lz4'
curl -s -C - -O 'https://data.nnpdf.science/pineappl/test-data/NUTEV_CC_NU_FE_SIGMARED.tar'
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- added `Grid::evolve_with_slice_iter`, `AlphasTable` and `OperatorSliceInfo`,
which define a new interface supporting very large evolution kernels that
have been introduced in EKO v0.13. This interface will replace `Grid::evolve`

### Changed

- `Grid::evolve` has now been marked deprecated

## [0.6.2] - 09/10/2023

### Added
Expand Down
1 change: 1 addition & 0 deletions maintainer/generate-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl
wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV_old.pineappl.lz4'
wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV.pineappl.lz4'
wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV.tar'
wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl/test-data/LHCB_WP_7TEV_v2.tar'
wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl/test-data/NJetEvents_0-0-2.tab.gz'
wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl/test-data/NUTEV_CC_NU_FE_SIGMARED.pineappl.lz4'
wget --no-verbose --no-clobber -P test-data 'https://data.nnpdf.science/pineappl/test-data/NUTEV_CC_NU_FE_SIGMARED.tar'
Expand Down
1 change: 1 addition & 0 deletions pineappl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ rust-version.workspace = true
version.workspace = true

[dependencies]
anyhow = "1.0.48"
arrayvec = "0.7.2"
bincode = "1.3.3"
bitflags = "1.3.2"
Expand Down
Loading
Loading