61#ifndef Foam_coordinateRotation_H
62#define Foam_coordinateRotation_H
137 virtual void clear() = 0;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
User specification of a coordinate rotation.
static vector findOrthogonal(const vector &axis)
Determine best-guess for an orthogonal axis.
virtual void clear()=0
Reset specification.
static autoPtr< coordinateRotation > New(word modelType, const dictionary &dict)
Select construct the specified coordinate rotation type.
virtual tensor R() const =0
Calculate and return the rotation tensor.
TypeNameNoDebug("coordinateRotation")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, coordinateRotation, dictionary,(const dictionary &dict),(dict))
virtual void writeEntry(const word &keyword, Ostream &os) const =0
Write dictionary entry.
virtual ~coordinateRotation()=default
Destructor.
virtual autoPtr< coordinateRotation > clone() const =0
Construct and return a clone.
virtual void write(Ostream &os) const =0
Write information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.