65#ifndef Foam_coordinateRotations_axes_H
66#define Foam_coordinateRotations_axes_H
74namespace coordinateRotations
83 public coordinateRotation
154 virtual ~axes() =
default;
175 virtual void clear();
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.
A coordinateRotation specified using global axes.
axes()
Default construct - an identity transform.
virtual tensor R() const
The rotation tensor calculated from the specified axes and order.
void read(const dictionary &dict)
Read from dictionary.
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
virtual ~axes()=default
Destructor.
axisOrder order_
The axis order.
vector axis1_
The primary axis.
axisOrder
The order/combination of local axes for the axes-rotation definition.
@ E2_E3
The axis1 (dominant) is local Y, axis2 is local Z.
@ E1_E2
The axis1 (dominant) is local X, axis2 is local Y.
@ E3_E1_COMPAT
E3_E1 specified as axis/direction.
@ E3_E1
The axis1 (dominant) is local Z, axis2 is local X.
TypeNameNoDebug("axes")
Runtime type information.
virtual void clear()
Reset specification.
vector axis2_
The secondary axis.
autoPtr< coordinateRotation > clone() const
Return clone.
static tensor rotation(const vector &axis1, const vector &axis2, axisOrder order=E3_E1)
The rotation tensor calculated from two axes and their order.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
coordinateRotations::axes axesRotation
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.