Skip to content

Commit d09c1a2

Browse files
Merge branch 'master' into parallelize-evolve
2 parents 12a00fb + af687ab commit d09c1a2

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,28 @@ the old file format can still be read with this new version.
3636
`+f` and both by adding `+pf` or `+fp`
3737
- added switches `--fk-table-fac0` and `--fk-table-frg0` to `pineappl read` to
3838
read out the squared factorization and fragmentation scales of FK-tables
39+
- C API: added new functions `pineappl_channels_new` and `pineappl_channels_delete`
40+
to create and delete an instance of `Channels` object
41+
- C API: added `pineappl_grid_channels` and `pineappl_channels_count` to get
42+
the channel objects for a given grid and their numbers
43+
- C API: added a function `pineappl_channels_combinations` to retrieve the
44+
number of combinations of channels for a specified entry, and
45+
`pineappl_channels_entry` to retrieve the channel combination for a given
46+
entry
47+
- C API: added a new function `pineappl_grid_new2` to create a grid with the
48+
new features introduced in `v1.0.0`; this includes the support for an
49+
arbitrary number of initial and final state hadrons
50+
- C API: added new functions to fill grids with an arbitrary number of
51+
initial and final state hadrons; these include `pineappl_grid_fill2`,
52+
`pineappl_grid_fill_all2`, and `pineappl_grid_fill_array2`
53+
- C API: added new functions to extract the various properties of a given
54+
grid; these include `pineappl_grid_conv_types`, `pineappl_grid_convolutions_len`,
55+
and `pineappl_grid_kinematics_len`
56+
- C API: added a new function `pineappl_grid_convolve` to convolve grids
57+
with an arbitrary combination of initial and final state hadrons
58+
- C API: added various functions to extract the subgrids of a given grid;
59+
these include `pineappl_grid_subgrid_shape`, `pineappl_grid_subgrid_node_values`,
60+
and `pineappl_grid_subgrid_array`
3961

4062
### Changed
4163

pineappl_capi/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,8 +2227,9 @@ pub unsafe extern "C" fn pineappl_grid_evolve(
22272227
.into();
22282228

22292229
let op_slices = operator_info
2230-
.map(|op_infos| {
2231-
op_infos.iter().enumerate().map(|(op_index, op_info)| {
2230+
.enumerate()
2231+
.map(|(op_index, op_infos)| {
2232+
op_infos.iter().map(move |op_info| {
22322233
let operator_slice_info = OperatorSliceInfo {
22332234
pid_basis: op_info.pid_basis,
22342235
fac0: op_info.fac0,

0 commit comments

Comments
 (0)