|
FEAT 3
Finite Element Analysis Toolbox
|
Class holding additional information about certain AnalyticFunction used for optimization tests. More...
#include <function_traits.hpp>
Public Types | |
| typedef FunctionType::template Evaluator< FuncEvalTraits > | EvalType |
| Type of the evaluator. More... | |
| typedef Analytic::EvalTraits< DT_, FunctionType > | FuncEvalTraits |
| The evaluation traits for this function. More... | |
| typedef Function_ | FunctionType |
| The AnalyticFunction i.e. from FEAT::Analytic::Common. More... | |
| typedef EvalType::PointType | PointType |
| Type the function maps from. More... | |
| typedef EvalType::ValueType | ValueType |
| Type the function maps to. More... | |
Static Public Member Functions | |
| template<int sn_> | |
| static void | get_domain_bounds (Tiny::Vector< DT_, 2, sn_ > &domain, int dim) |
| Gets the domain bounds. More... | |
| static void | get_minimal_points (std::deque< PointType > &min_points) |
| Gets a list of all minimal points. More... | |
| static void | get_starting_point (PointType &start) |
| Gets an initial guess to start from. More... | |
| static String | name () |
| Returns the name of the AnalyticFunction. More... | |
Class holding additional information about certain AnalyticFunction used for optimization tests.
| DT_ | Floating point precision |
| Function_ | The class of the AnalyticFunction |
Definition at line 32 of file function_traits.hpp.
| typedef FunctionType::template Evaluator<FuncEvalTraits> FEAT::Solver::OptimizationTestTraits< DT_, Function_ >::EvalType |
Type of the evaluator.
Definition at line 39 of file function_traits.hpp.
| typedef Analytic::EvalTraits<DT_, FunctionType> FEAT::Solver::OptimizationTestTraits< DT_, Function_ >::FuncEvalTraits |
The evaluation traits for this function.
Definition at line 37 of file function_traits.hpp.
| typedef Function_ FEAT::Solver::OptimizationTestTraits< DT_, Function_ >::FunctionType |
The AnalyticFunction i.e. from FEAT::Analytic::Common.
Definition at line 35 of file function_traits.hpp.
| typedef EvalType::PointType FEAT::Solver::OptimizationTestTraits< DT_, Function_ >::PointType |
Type the function maps from.
Definition at line 43 of file function_traits.hpp.
| typedef EvalType::ValueType FEAT::Solver::OptimizationTestTraits< DT_, Function_ >::ValueType |
Type the function maps to.
Definition at line 41 of file function_traits.hpp.
|
inlinestatic |
Gets the domain bounds.
| sn_ | stride for the Tiny::Vector holding the domain bounds |
| [out] | domain | Vector with 2 entries containing the lower and the upper bound of the domain |
| [in] | dim | Coordinate direction for which we want to have the domain bounds |
For debugging purposes, it is often handy to plot the target function on a domain. For out purposes, this is always a cartesian product of intervals and this routine returns those intervals.
Definition at line 84 of file function_traits.hpp.
|
inlinestatic |
Gets a list of all minimal points.
| [out] | min_points | All the domain points representing local minima of the function |
Definition at line 63 of file function_traits.hpp.
|
inlinestatic |
Gets an initial guess to start from.
| [out] | start | Domain point that gets set to the initial guess |
Definition at line 52 of file function_traits.hpp.
|
inlinestatic |
Returns the name of the AnalyticFunction.
Definition at line 93 of file function_traits.hpp.