36 namespace implicitFunctions
55 const scalar amplitude,
63 amplitude_(amplitude),
72 const dictionary&
dict
76 period_(
dict.
get<scalar>(
"period")),
77 phase_(
dict.getOrDefault<scalar>(
"phase", 0)),
78 amplitude_(
dict.
get<scalar>(
"amplitude")),
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Original code supplied by Henning Scheufler, DLR (2019)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
quaternion normalised(const quaternion &q)
Return the normalised (unit) quaternion of the given quaternion.