FEDEM Solver  R8.0
Source code of the dynamics solver
Namespaces | Enumerations | Functions
FFaFunctionProperties.H File Reference

Smart-point evaluation for some closed-form explicit functions. More...

#include <string>
#include <vector>
Include dependency graph for FFaFunctionProperties.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 FFaFunctionProperties
 Explicit function properties.
 

Enumerations

enum  FFaFunctionType {
  UNDEFINED_p = 0 , SINUSOIDAL_p = 1 , COMPL_SINUS_p = 2 , DELAYED_COMPL_SINUS_p = 3 ,
  WAVE_SINUS_p = 4 , LIN_VEL_VAR_p = 5 , SPLINE_p = 6 , WAVE_STOKES5_p = 7 ,
  WAVE_STREAMLINE_p = 8 , WAVE_EMBEDDED_p = 9 , LIN_VAR_p = 10 , RAMP_p = 11 ,
  STEP_p = 12 , SQUARE_PULS_p = 13 , DIRAC_PULS_p = 14 , CONSTANT_p = 15 ,
  LIM_RAMP_p = 16 , SCALE_p = 17 , DEVICE_FUNCTION_p = 18 , MATH_EXPRESSION_p = 19 ,
  USER_DEFINED_p = 21 , SMOOTH_TRAJ_p = 22
}
 Function type enum values. More...
 

Functions

int FFaFunctionProperties::getTypeID (const std::string &functionType)
 Returns the function type ID for a given functionType name. More...
 
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. More...
 
int FFaFunctionProperties::getValue (int baseID, const std::vector< int > &intVars, const std::vector< double > &realVars, double x, double &value)
 Evaluates an explicit function. More...
 

Detailed Description

Smart-point evaluation for some closed-form explicit functions.

Enumeration Type Documentation

◆ FFaFunctionType

Function type enum values.

These values must match exactly with the corresponding parameters defined in the Fortran file explicitFunctionsModule.f90

Enumerator
UNDEFINED_p 

Unknown or undefined function.

SINUSOIDAL_p 

Simple sine function.

COMPL_SINUS_p 

Two-wave sine function with delay.

DELAYED_COMPL_SINUS_p 

Two-wave sine function with delay.

WAVE_SINUS_p 

Complex multi-component sine function.

LIN_VEL_VAR_p 

Servo simulator function.

SPLINE_p 

Spline function.

WAVE_STOKES5_p 

5th order Stokes wave function

WAVE_STREAMLINE_p 

Nonlinear streamline wave function.

WAVE_EMBEDDED_p 

Irregular waves with embedded streamlines.

LIN_VAR_p 

Piece-wise linear function.

RAMP_p 

Ramp function.

STEP_p 

Step function.

SQUARE_PULS_p 

Square pulse function.

DIRAC_PULS_p 

Dirac pulse function.

CONSTANT_p 

Constant function.

LIM_RAMP_p 

Extended ramp function.

SCALE_p 

Linear scaling function.

DEVICE_FUNCTION_p 

External device function.

MATH_EXPRESSION_p 

General match expression function.

USER_DEFINED_p 

User-defined function (from plug-in)

SMOOTH_TRAJ_p 

Smooth trajectory function.