Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-09 09:10:21

0001 /*
0002 # <<BEGIN-copyright>>
0003 # Copyright 2019, Lawrence Livermore National Security, LLC.
0004 # This file is part of the gidiplus package (https://github.com/LLNL/gidiplus).
0005 # gidiplus is licensed under the MIT license (see https://opensource.org/licenses/MIT).
0006 # SPDX-License-Identifier: MIT
0007 # <<END-copyright>>
0008 */
0009 
0010 #ifndef nf_integration_h_included
0011 #define nf_integration_h_included
0012 
0013 #include <nf_utilities.h>
0014 #include <nf_Legendre.h>
0015 
0016 #if defined __cplusplus
0017     extern "C" {
0018 #endif
0019 
0020 #define nf_GnG_adaptiveQuadrature_MaxMaxDepth 20
0021 
0022 typedef nfu_status (*nf_GnG_adaptiveQuadrature_callback)( nf_Legendre_GaussianQuadrature_callback integrandFunction, void *argList, double x1, 
0023     double x2, double *integral );
0024 
0025 nfu_status nf_GnG_adaptiveQuadrature( nf_GnG_adaptiveQuadrature_callback quadratureFunction, nf_Legendre_GaussianQuadrature_callback integrandFunction, 
0026     void *argList, double x1, double x2, int maxDepth, double tolerance, double *integral, long *evaluations );
0027 
0028 #if defined __cplusplus
0029     }
0030 #endif
0031 
0032 #endif          /* End of nf_integration_h_included. */
0033