ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nf_exponentialIntegral.cc File Reference
+ Include dependency graph for nf_exponentialIntegral.cc:

Go to the source code of this file.

Macros

#define EULER   0.57721566490153286 /* Euler's constant gamma */
 
#define MAXIT   100 /* Maximum allowed number of iterations. */
 
#define FPMIN   1.0e-300 /* close to the smallest representable floting-point number. */
 
#define EPS   1.0e-15 /* Desired relative error, not smaller than the machine precision. */
 

Functions

double nf_exponentialIntegral (int n, double x, nfu_status *status)
 

Macro Definition Documentation

#define EULER   0.57721566490153286 /* Euler's constant gamma */

Definition at line 20 of file nf_exponentialIntegral.cc.

View newest version in sPHENIX GitHub at line 20 of file nf_exponentialIntegral.cc

Referenced by nf_exponentialIntegral().

#define FPMIN   1.0e-300 /* close to the smallest representable floting-point number. */

Definition at line 22 of file nf_exponentialIntegral.cc.

View newest version in sPHENIX GitHub at line 22 of file nf_exponentialIntegral.cc

Referenced by nf_exponentialIntegral().

#define MAXIT   100 /* Maximum allowed number of iterations. */

Definition at line 21 of file nf_exponentialIntegral.cc.

View newest version in sPHENIX GitHub at line 21 of file nf_exponentialIntegral.cc

Referenced by nf_exponentialIntegral().

Function Documentation

double nf_exponentialIntegral ( int  n,
double  x,
nfu_status status 
)

Definition at line 28 of file nf_exponentialIntegral.cc.

View newest version in sPHENIX GitHub at line 28 of file nf_exponentialIntegral.cc

References a, b, c, d, EPS, EULER, FPMIN, G4Exp(), G4Log(), Acts::UnitConstants::h, isfinite, MAXIT, n, nfu_badInput, nfu_failedToConverge, nfu_Okay, and x.

Referenced by MCGIDI_energy_parseMadlandNixFromTOM_callback_g().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: