Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nf_integration.h
Go to the documentation of this file.
1 /*
2 # <<BEGIN-copyright>>
3 # <<END-copyright>>
4 */
5 
6 #ifndef nf_integration_h_included
7 #define nf_integration_h_included
8 
9 #include <nf_utilities.h>
10 #include <nf_Legendre.h>
11 
12 #if defined __cplusplus
13  extern "C" {
14  namespace GIDI {
15 #endif
16 
17 #define nf_GnG_adaptiveQuadrature_MaxMaxDepth 20
18 
19 typedef nfu_status (*nf_GnG_adaptiveQuadrature_callback)( nf_Legendre_GaussianQuadrature_callback integrandFunction, void *argList, double x1,
20  double x2, double *integral );
21 
23  void *argList, double x1, double x2, int maxDepth, double tolerance, double *integral, long *evaluations );
24 
25 #if defined __cplusplus
26  }
27  }
28 #endif
29 
30 #endif /* End of nf_integration_h_included. */
31 
nfu_status(* nf_GnG_adaptiveQuadrature_callback)(nf_Legendre_GaussianQuadrature_callback integrandFunction, void *argList, double x1, double x2, double *integral)
enum nfu_status_e nfu_status
nfu_status(* nf_Legendre_GaussianQuadrature_callback)(double x, double *y, void *argList)
Definition: nf_Legendre.h:29
nfu_status nf_GnG_adaptiveQuadrature(nf_GnG_adaptiveQuadrature_callback quadratureFunction, nf_Legendre_GaussianQuadrature_callback integrandFunction, void *argList, double x1, double x2, int maxDepth, double tolerance, double *integral, long *evaluations)