Skip to content

Parallel DCuhre Output

isaki001 edited this page Oct 2, 2020 · 1 revision

Calling quad::Cuhre's "integrate" method, returns an object of type cuhreResult.

CuhreResult members:

  • double estimate: the estimate of the integral's true value
  • double errorest: the estimated error of the estimate
  • size_t neval: the number of function evaluations performed
  • size_t nregions: the number of regions processed (this is not the number of regions in the last iteration of the sub-region tree)
  • int status: Flag for integrator's termination (0 = converge, 1 = not reached sufficiently small errorest, 2 = converged in Phase 1)
  • int lastPhase: the last phase the integrator had to execute
  • size_t phase2_failedblocks: for debugging purposes only, displays the number of phase 1 regions, that needed further sub-division in Phase 2

Clone this wiki locally