65 #ifndef Foam_coordinateRotations_axes_H 66 #define Foam_coordinateRotations_axes_H 74 namespace coordinateRotations
83 public coordinateRotation
154 virtual ~axes() =
default;
175 virtual void clear();
virtual ~axes()=default
Destructor.
E3_E1 specified as axis/direction.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
coordinateRotations::axes axesRotation
The axis1 (dominant) is local Y, axis2 is local Z.
TypeNameNoDebug("axes")
Runtime type information.
vector axis1_
The primary axis.
The axis1 (dominant) is local Z, axis2 is local X.
static tensor rotation(const vector &axis1, const vector &axis2, axisOrder order=E3_E1)
The rotation tensor calculated from two axes and their order.
A class for handling words, derived from Foam::string.
autoPtr< coordinateRotation > clone() const
Return clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
axisOrder order_
The axis order.
vector axis2_
The secondary axis.
void read(const dictionary &dict)
Read from dictionary.
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
A coordinateRotation specified using global axes.
axisOrder
The order/combination of local axes for the axes-rotation definition.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
The axis1 (dominant) is local X, axis2 is local Y.
Tensor of scalars, i.e. Tensor<scalar>.
virtual void write(Ostream &os) const
Write information.
virtual void clear()
Reset specification.
axes()
Default construct - an identity transform.
virtual tensor R() const
The rotation tensor calculated from the specified axes and order.