GALGO-2.0
GALGO-2.0 copied to clipboard
Objective function defined within main
Hi,
I was wondering if it's possible to define the objective function within the main() function. I've been trying to do this with lambda functions, but I haven't had any luck.
The reason I want to do this is because I'm trying to incorporate GALGO into a larger OpenFoam code, where for a variety of reasons, I can only really access certain things from within my main() function.
I'd really appreciate any help anyone could offer.
All the best,
Tom
Hi,
If anyone could point me in the right direction with this I'd be most appreciative