FEDEM Solver  R8.0
Source code of the dynamics solver
FFaFunctionProperties.H
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2023 SAP SE
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // This file is part of FEDEM - https://openfedem.org
7 
8 #ifndef FFA_FUNCTION_PROPERTIES_H
9 #define FFA_FUNCTION_PROPERTIES_H
10 
11 #include <string>
12 #include <vector>
13 
14 
27  SPLINE_p = 6,
31  LIN_VAR_p = 10,
32  RAMP_p = 11,
33  STEP_p = 12,
36  CONSTANT_p = 15,
37  LIM_RAMP_p = 16,
38  SCALE_p = 17,
42  SMOOTH_TRAJ_p = 22
43 };
44 
45 
47 {
48  int getTypeID(const std::string& functionType);
49 
50  int getSmartPoints(int funcType, double start, double stop, int extrap,
51  const std::vector<double>& realVars,
52  std::vector<double>& x, std::vector<double>& y);
53 
54  int getValue(int baseID,
55  const std::vector<int>& intVars,
56  const std::vector<double>& realVars,
57  double x, double& value);
58 }
59 
60 #endif
FFaFunctionType
Definition: FFaFunctionProperties.H:20
@ COMPL_SINUS_p
Definition: FFaFunctionProperties.H:23
@ WAVE_EMBEDDED_p
Definition: FFaFunctionProperties.H:30
@ SQUARE_PULS_p
Definition: FFaFunctionProperties.H:34
@ UNDEFINED_p
Definition: FFaFunctionProperties.H:21
@ WAVE_STREAMLINE_p
Definition: FFaFunctionProperties.H:29
@ LIM_RAMP_p
Definition: FFaFunctionProperties.H:37
@ RAMP_p
Definition: FFaFunctionProperties.H:32
@ SINUSOIDAL_p
Definition: FFaFunctionProperties.H:22
@ DELAYED_COMPL_SINUS_p
Definition: FFaFunctionProperties.H:24
@ MATH_EXPRESSION_p
Definition: FFaFunctionProperties.H:40
@ WAVE_STOKES5_p
Definition: FFaFunctionProperties.H:28
@ LIN_VAR_p
Definition: FFaFunctionProperties.H:31
@ STEP_p
Definition: FFaFunctionProperties.H:33
@ USER_DEFINED_p
Definition: FFaFunctionProperties.H:41
@ WAVE_SINUS_p
Definition: FFaFunctionProperties.H:25
@ LIN_VEL_VAR_p
Definition: FFaFunctionProperties.H:26
@ SCALE_p
Definition: FFaFunctionProperties.H:38
@ CONSTANT_p
Definition: FFaFunctionProperties.H:36
@ SPLINE_p
Definition: FFaFunctionProperties.H:27
@ DIRAC_PULS_p
Definition: FFaFunctionProperties.H:35
@ SMOOTH_TRAJ_p
Definition: FFaFunctionProperties.H:42
@ DEVICE_FUNCTION_p
Definition: FFaFunctionProperties.H:39
Definition: FFaFunctionProperties.H:47
int getTypeID(const std::string &functionType)
Definition: FFaFunctionProperties.C:430
int getValue(int baseID, const std::vector< int > &intVars, const std::vector< double > &realVars, double x, double &value)
Definition: FFaFunctionProperties.C:397
int getSmartPoints(int funcType, double start, double stop, int extrap, const std::vector< double > &realVars, std::vector< double > &x, std::vector< double > &y)
Definition: FFaFunctionProperties.C:34
integer(ptr), save, private x
Definition: extCtrlSysRoutinesModule.f90:16