Geant4
10.02.p02
|
#include <float.h>
#include "nf_integration.h"
Go to the source code of this file.
Classes | |
struct | nf_GnG_adaptiveQuadrature_info_s |
Typedefs | |
typedef struct nf_GnG_adaptiveQuadrature_info_s | nf_GnG_adaptiveQuadrature_info |
Functions | |
static double | nf_GnG_adaptiveQuadrature2 (nf_GnG_adaptiveQuadrature_info *adaptiveQuadrature_info, double currentIntrgral, double x1, double x2, int depth) |
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) |
Variables | |
static double | initialPoints [] = { 0.2311, 0.4860, 0.6068, 0.8913, 0.9501 } |
static int | numberOfInitialPoints = sizeof( initialPoints ) / sizeof( initialPoints[0] ) |
typedef struct nf_GnG_adaptiveQuadrature_info_s nf_GnG_adaptiveQuadrature_info |
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 | ||
) |
Definition at line 31 of file nf_GnG_adaptiveQuadrature.cc.
References DBL_EPSILON, nf_GnG_adaptiveQuadrature_info_s::estimate, nf_GnG_adaptiveQuadrature_info_s::evaluations, nf_GnG_adaptiveQuadrature2(), numberOfInitialPoints, and nf_GnG_adaptiveQuadrature_info_s::status.
Referenced by ptwXY_integrateWithFunction().
|
static |
Definition at line 79 of file nf_GnG_adaptiveQuadrature.cc.
References nf_GnG_adaptiveQuadrature_info_s::argList, nf_GnG_adaptiveQuadrature_info_s::estimate, nf_GnG_adaptiveQuadrature_info_s::evaluations, nf_GnG_adaptiveQuadrature_info_s::integrandFunction, nf_GnG_adaptiveQuadrature_info_s::maxDepth, nf_GnG_adaptiveQuadrature_info_s::maxDepthReached, nf_GnG_adaptiveQuadrature_info_s::quadratureFunction, and nf_GnG_adaptiveQuadrature_info_s::status.
Referenced by nf_GnG_adaptiveQuadrature().
|
static |
Definition at line 24 of file nf_GnG_adaptiveQuadrature.cc.
|
static |
Definition at line 25 of file nf_GnG_adaptiveQuadrature.cc.
Referenced by nf_GnG_adaptiveQuadrature().