Skip to content

Commit

Permalink
Add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Sep 26, 2024
1 parent 0a3d1b6 commit 0cf99c1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pineappl_cli/src/export/fastnlo.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
use anyhow::Result;
use cxx::UniquePtr;
use lhapdf::Pdf;
use pineappl::grid::Grid;
use pineappl_fastnlo::ffi::fastNLOLHAPDF;
use std::path::Path;
use std::pin::Pin;

pub fn convert_into_fastnlo(
_grid: &Grid,
_output: &Path,
_discard_non_matching_scales: bool,
) -> Result<(UniquePtr<fastNLOLHAPDF>, Vec<bool>)> {
todo!()
}

pub fn convolve_fastnlo(_grid: Pin<&mut fastNLOLHAPDF>, conv_funs: &mut [Pdf]) -> Vec<f64> {
// TODO: add support for convolving an APPLgrid with two functions
assert_eq!(conv_funs.len(), 1);

todo!()
}

0 comments on commit 0cf99c1

Please sign in to comment.