Go to the documentation of this file.
64 #ifndef coordinateRotations_axes_H
65 #define coordinateRotations_axes_H
73 namespace coordinateRotations
82 public coordinateRotation
156 virtual ~axes() =
default;
177 virtual void clear();
A class for handling words, derived from Foam::string.
TypeNameNoDebug("axes")
Runtime type information.
vector axis1_
The primary axis.
void read(const dictionary &dict)
Read from dictionary.
vector axis2_
The secondary axis.
axisOrder order_
The axis order.
virtual tensor R() const
The rotation tensor calculated from the specified axes and order.
A coordinateRotation specified using global axes.
virtual void write(Ostream &os) const
Write information.
virtual void clear()
Reset specification.
virtual ~axes()=default
Destructor.
axes()
Construct null - an identity transform.
axisOrder
The order/combination of local axes for the axes-rotation definition.
User specification of a coordinate rotation.
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
The axis1 (dominant) is local X, axis2 is local Y.
The axis1 (dominant) is local Y, axis2 is local Z.
Vector< scalar > vector
A scalar version of the templated Vector.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
E3_E1 specified as axis/direction.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
autoPtr< coordinateRotation > clone() const
Return clone.
coordinateRotations::axes axesRotation