dfols icon indicating copy to clipboard operation
dfols copied to clipboard

Parallel averaging

Open lindonroberts opened this issue 4 years ago • 0 comments
trafficstars

Currently, if nsamples>1, objfun is called multiple times in a loop. Allow for extended objfun evaluation

objfun(x, nsamples)

where the objfun calculation returns all nsamples results in one go (instead of a for loop inside this code). This allows for things like parallel evaluations, if objfun supports this (e.g. MHD simulations of @florianwechsung).

lindonroberts avatar Jun 23 '21 04:06 lindonroberts