Skip to content

Commit

Permalink
Set subgrid_type in C++ example
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Nov 3, 2023
1 parent dd327a4 commit a6aa531
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/cpp/fill-grid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ int main() {
pineappl_keyval_set_double(keyval, "x2_max", 1.0);
pineappl_keyval_set_double(keyval, "x2_min", 2e-7);
pineappl_keyval_set_int(keyval, "x2_order", 3);

// determine the subgrid which are being filled
pineappl_keyval_set_string(keyval, "subgrid_type", "LagrangeSubgrid");
#endif

auto* grid = pineappl_grid_new(channels, 1, orders, 24, bins, keyval);
Expand Down

0 comments on commit a6aa531

Please sign in to comment.