BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Template class to use Monte Carlo MISER integration of class member functions. More...
Classes | |
struct | CallBackHolder |
structure holding the object and possible extra parameters More... | |
Public Member Functions | |
IntegratorMCMiser (const T *p_object, miser_integrand< T > p_member_function, size_t dim) | |
to integrate p_member_function, which must belong to p_object | |
double | integrate (double *min_array, double *max_array, void *params, size_t nbr_points) |
perform the actual integration over the ranges [min_array, max_array] | |
Template class to use Monte Carlo MISER integration of class member functions.
Wraps an integrator from GNU Scientific Library. Since this class holds a persistent workspace, we need at least one instance per thread. Standard usage for integration inside a class T:
Definition at line 34 of file IntegratorMCMiser.h.