Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Integrator.fhh
Go to the documentation of this file.
1 ///
2 /// @file Integrator.fhh
3 /// @brief Hammer numerical integration forward declarations
4 ///
5 
6 //**** This file is a part of the HAMMER library
7 //**** Copyright (C) 2016 - 2020 The HAMMER Collaboration
8 //**** HAMMER is licensed under version 3 of the GPL; see COPYING for details
9 //**** Please note the MCnet academic guidelines; see GUIDELINES for details
10 
11 // -*- C++ -*-
12 #ifndef HAMMER_MATH_Integrator_FHH
13 #define HAMMER_MATH_Integrator_FHH
14 
15 #include <functional>
16 #include <vector>
17 #include <utility>
18 #include <tuple>
19 
20 #include "Hammer/IndexLabels.hh"
21 
22 namespace Hammer {
23 
24  using BoundaryFunction = std::function<std::pair<double, double>(const std::vector<double>&)>;
25  using IntegrationBoundaries = std::vector<BoundaryFunction>;
26  using EvaluationGrid = std::vector<std::vector<double>>;
27  using EvaluationWeights = std::vector<double>;
28 
29 
30 } // namespace Hammer
31 
32 #endif
Tensor indices label definitions.
std::function< std::pair< double, double >(const std::vector< double > &)> BoundaryFunction
Definition: Integrator.fhh:24
std::vector< BoundaryFunction > IntegrationBoundaries
Definition: Integrator.fhh:25
std::vector< double > EvaluationWeights
Definition: Integrator.fhh:27
std::vector< std::vector< double >> EvaluationGrid
Definition: Integrator.fhh:26