Skip to main content
3 events
when toggle format what by license comment
Dec 21, 2019 at 1:45 comment added user14717 The using statements are required for ADL, since std::cos is only defined on float, double, and long double, but this quadrature works in arbitrary precision provided definitions of cos, sin, so on are available. I'll double check that all of them are in fact necessary.
Dec 21, 2019 at 1:43 comment added user14717 The integrator does a lot of precompute which occupies a lot of memory and is independent of the function. Hence the documentation say to share this object between threads if you need the performance while (for example) assembling a stiffness matrix. Hence the std::shared_ptr, and hence the atomics.
Dec 21, 2019 at 0:07 history answered G. Sliepen CC BY-SA 4.0