![]() |
OpenLB 1.8.1
|
Interface for OptiCaseAD that performs Lattice-Boltzmann-Solver construction itself (from xml file) More...
#include <optiCaseAD.h>
Inheritance diagram for olb::opti::OptiCaseAdForSolver< S, n, SOLVER, C >:
Collaboration diagram for olb::opti::OptiCaseAdForSolver< S, n, SOLVER, C >:Public Member Functions | |
| OptiCaseAdForSolver (std::shared_ptr< SOLVER< S > > solver, std::shared_ptr< SOLVER< T > > adSolver) | |
| OptiCaseAdForSolver (XMLreader const &xml) | |
Public Member Functions inherited from olb::opti::OptiCaseAD< S, n, util::StdVector > | |
| OptiCaseAD ()=default | |
| OptiCaseAD (std::function< S(const util::StdVector< S > &, unsigned)> function, std::function< T(const util::StdVector< T > &, unsigned)> adFunction, std::function< void(void)> postEvaluation=[](){}) | |
| OptiCaseAD (std::function< S(const util::StdVector< S > &)> function, std::function< T(const util::StdVector< T > &)> adFunction, std::function< void(void)> postEvaluation=[](){}) | |
| S | evaluateObjective (const util::StdVector< S > &control, unsigned optiStep=0) override |
| void | computeDerivatives (const util::StdVector< S > &control, util::StdVector< S > &derivatives, unsigned optiStep=0) override |
Public Member Functions inherited from olb::opti::OptiCase< S, util::StdVector< S > > | |
| OptiCase ()=default | |
| OptiCase (std::function< void(void)> postEvaluation) | |
| virtual S | evaluateObjective (const C &control, unsigned optiStep=0)=0 |
| virtual void | computeDerivatives (const C &control, C &derivatives, unsigned optiStep=0)=0 |
| void | postEvaluation () |
Public Attributes | |
| std::shared_ptr< SOLVER< S > > | _solver |
| std::shared_ptr< SOLVER< T > > | _adSolver |
Additional Inherited Members | |
Protected Types inherited from olb::opti::OptiCaseAD< S, n, util::StdVector > | |
| using | T |
Protected Attributes inherited from olb::opti::OptiCaseAD< S, n, util::StdVector > | |
| std::function< S(const util::StdVector< S > &)> | _functionHelp |
| std::function< T(const util::StdVector< T > &)> | _adFunctionHelp |
| std::function< S(const util::StdVector< S > &, unsigned)> | _function |
| std::function< T(const util::StdVector< T > &, unsigned)> | _adFunction |
Protected Attributes inherited from olb::opti::OptiCase< S, util::StdVector< S > > | |
| std::function< void(void)> | _postEvaluation |
Interface for OptiCaseAD that performs Lattice-Boltzmann-Solver construction itself (from xml file)
Definition at line 108 of file optiCaseAD.h.
|
inline |
Definition at line 115 of file optiCaseAD.h.
|
inline |
Definition at line 122 of file optiCaseAD.h.
| std::shared_ptr<SOLVER<T> > olb::opti::OptiCaseAdForSolver< S, n, SOLVER, C >::_adSolver |
Definition at line 113 of file optiCaseAD.h.
| std::shared_ptr<SOLVER<S> > olb::opti::OptiCaseAdForSolver< S, n, SOLVER, C >::_solver |
Definition at line 112 of file optiCaseAD.h.