55 const scalar amplitude,
63 amplitude_(amplitude),
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).
sinImplicitFunction(const scalar period, const scalar phase, const scalar amplitude, const vector &direction, const vector &up, const vector &origin)
Construct from components.
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)
List of values generated by applying the access operation to each list item.
quaternion normalised(const quaternion &q)
Return the normalised (unit) quaternion of the given quaternion.