![]() |
OpenLB 1.8.1
|
#include <optiCase.h>
Inheritance diagram for olb::opti::OptiCaseDQ< S, C >:
Collaboration diagram for olb::opti::OptiCaseDQ< S, C >:Public Member Functions | |
| OptiCaseDQ (std::function< S(const C &, unsigned)> function, std::function< void(void)> postEvaluation) | |
| OptiCaseDQ (std::function< S(const C &)> function, std::function< void(void)> postEvaluation) | |
| template<typename F > | |
| OptiCaseDQ (F function, S stepWidth, std::function< void(void)> postEvaluation) | |
| S | evaluateObjective (const C &control, unsigned optiStep=0) override |
Public Member Functions inherited from olb::opti::OptiCase< S, C > | |
| OptiCase ()=default | |
| OptiCase (std::function< void(void)> postEvaluation) | |
| virtual void | computeDerivatives (const C &control, C &derivatives, unsigned optiStep=0)=0 |
| void | postEvaluation () |
Protected Attributes | |
| std::function< S(const C &)> | _functionHelp { [](const C&){ return S{}; } } |
| std::function< S(const C &, unsigned)> | _function |
| S | _stepWidth {1.e-8} |
| bool | _objectiveComputed {false} |
| S | _objective |
Protected Attributes inherited from olb::opti::OptiCase< S, C > | |
| std::function< void(void)> | _postEvaluation |
Definition at line 113 of file optiCase.h.
|
inlineexplicit |
Definition at line 124 of file optiCase.h.
|
inlineexplicit |
Definition at line 130 of file optiCase.h.
References olb::opti::OptiCaseDQ< S, C >::_functionHelp.
|
inline |
Definition at line 138 of file optiCase.h.
References olb::opti::OptiCaseDQ< S, C >::_stepWidth.
|
inlineoverridevirtual |
Implements olb::opti::OptiCase< S, C >.
Definition at line 144 of file optiCase.h.
References olb::opti::OptiCaseDQ< S, C >::_function, olb::opti::OptiCaseDQ< S, C >::_objective, olb::opti::OptiCaseDQ< S, C >::_objectiveComputed, and olb::opti::control.
Here is the caller graph for this function:
|
protected |
Definition at line 117 of file optiCase.h.
|
protected |
Definition at line 116 of file optiCase.h.
|
protected |
Definition at line 121 of file optiCase.h.
|
protected |
Definition at line 120 of file optiCase.h.
|
protected |
Definition at line 118 of file optiCase.h.