![]() |
OpenLB 1.8.1
|
Gradient is just passed as a function (and not computed by an own routine) More...
#include <optiCase.h>
Inheritance diagram for olb::opti::OptiCaseAnalytical< S, C >:
Collaboration diagram for olb::opti::OptiCaseAnalytical< S, C >:Public Member Functions | |
| OptiCaseAnalytical (std::function< S(const C &)> function, std::function< void(const C &, C &)> derivative, std::function< void(void)> postEvaluation=[](){}) | |
| OptiCaseAnalytical () | |
| void | setObjective (std::function< S(const C &)> f) |
| void | setDerivative (std::function< void(const C &, C &)> d) |
| 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.
|
inline |
Definition at line 78 of file optiCase.h.
|
inlineoverridevirtual |
Implements olb::opti::OptiCase< S, C >.
Definition at line 93 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 88 of file optiCase.h.
References olb::opti::OptiCaseAnalytical< S, C >::_function, and olb::opti::control.
|
inline |
Definition at line 84 of file optiCase.h.
References olb::opti::OptiCaseAnalytical< S, C >::_derivative.
|
inline |
Definition at line 80 of file optiCase.h.
References olb::opti::OptiCaseAnalytical< S, C >::_function.
|
protected |
Definition at line 68 of file optiCase.h.
|
protected |
Definition at line 67 of file optiCase.h.