|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Explicit function properties. More...
Functions | |
| int | getTypeID (const std::string &functionType) |
| Returns the function type ID for a given functionType name. More... | |
| int | getSmartPoints (int funcType, double start, double stop, int extrap, const std::vector< double > &realVars, std::vector< double > &x, std::vector< double > &y) |
| Finds the so-called smart points of an explicit function. More... | |
| int | getValue (int baseID, const std::vector< int > &intVars, const std::vector< double > &realVars, double x, double &value) |
| Evaluates an explicit function. More... | |
Explicit function properties.
| int FFaFunctionProperties::getSmartPoints | ( | int | funcType, |
| double | start, | ||
| double | stop, | ||
| int | extrap, | ||
| const std::vector< double > & | realVars, | ||
| std::vector< double > & | x, | ||
| std::vector< double > & | y | ||
| ) |
Finds the so-called smart points of an explicit function.
| [in] | funcType | Function type identifier |
| [in] | start | Start argument value of the function domain to consider |
| [in] | stop | Stop argument value of the function domain to consider |
| [in] | extrap | Extrapolation flag |
| [in] | realVars | Real function parameters |
| [out] | x | Function argument values of the smart points |
| [out] | y | Function values of the smart points |
| int FFaFunctionProperties::getTypeID | ( | const std::string & | functionType | ) |
Returns the function type ID for a given functionType name.
| int FFaFunctionProperties::getValue | ( | int | baseID, |
| const std::vector< int > & | intVars, | ||
| const std::vector< double > & | realVars, | ||
| double | x, | ||
| double & | value | ||
| ) |
Evaluates an explicit function.
| [in] | baseID | base ID of the function to be evaluated |
| [in] | intVars | Integer function parameters |
| [in] | realVars | Real function parameters |
| [in] | x | Function argument |
| [out] | value | The function value |