OpenLB 1.7
|
Gradient is just passed as a function (and not computed by an own routine) More...
#include <optiCase.h>
Public Member Functions | |
OptiCaseAnalytical (std::function< S(const C &)> function, std::function< void(const C &, C &)> derivative, std::function< void(void)> postEvaluation=[](){}) | |
S | evaluateObjective (const C &control, unsigned optiStep=0) override |
void | computeDerivatives (const C &control, C &derivatives, unsigned optiStep=0) override |
Public Member Functions inherited from olb::opti::OptiCase< S, C > | |
OptiCase ()=default | |
OptiCase (std::function< void(void)> postEvaluation) | |
void | postEvaluation () |
Protected Attributes | |
std::function< S(const C &) | _function ) |
std::function< void(const C &, C &) | _derivative ) |
Protected Attributes inherited from olb::opti::OptiCase< S, C > | |
std::function< void(void)> | _postEvaluation { [](){} } |
Gradient is just passed as a function (and not computed by an own routine)
Definition at line 64 of file optiCase.h.
|
inline |
Definition at line 71 of file optiCase.h.
|
inlineoverridevirtual |
Implements olb::opti::OptiCase< S, C >.
Definition at line 82 of file optiCase.h.
References olb::opti::OptiCaseAnalytical< S, C >::_derivative, and olb::opti::control.
|
inlineoverridevirtual |
Implements olb::opti::OptiCase< S, C >.
Definition at line 77 of file optiCase.h.
References olb::opti::OptiCaseAnalytical< S, C >::_function, and olb::opti::control.
|
protected |
Definition at line 68 of file optiCase.h.
|
protected |
Definition at line 67 of file optiCase.h.