83 #ifndef Foam_solidBodyMotionFunctions_oscillatingLinearMotion_H 84 #define Foam_solidBodyMotionFunctions_oscillatingLinearMotion_H 96 namespace solidBodyMotionFunctions
103 class oscillatingLinearMotion
105 public solidBodyMotionFunction
110 autoPtr<Function1<scalar>> omegaPtr_;
113 autoPtr<Function1<scalar>> phaseShiftPtr_;
116 autoPtr<Function1<vector>> amplitudePtr_;
119 autoPtr<Function1<vector>> verticalShiftPtr_;
125 oscillatingLinearMotion(
const oscillatingLinearMotion&) =
delete;
128 void operator=(
const oscillatingLinearMotion&) =
delete;
134 TypeName(
"oscillatingLinearMotion");
140 oscillatingLinearMotion
142 const dictionary& SBMFCoeffs,
147 virtual autoPtr<solidBodyMotionFunction> clone()
const 149 return autoPtr<solidBodyMotionFunction>
151 new oscillatingLinearMotion
161 virtual ~oscillatingLinearMotion() =
default;
167 virtual septernion transformation()
const;
170 virtual bool read(
const dictionary& SBMFCoeffs);
bool read(const char *buf, int32_t &val)
Same as readInt32.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Specialisations of Field<T> for scalar, vector and tensor.