35 namespace coordinateRotations
66 coordinateRotations::
axes(crot)
72 coordinateRotations::
axes(axis)
86 os <<
type() <<
" axis: " << axis1_;
96 os.beginBlock(keyword);
98 os.writeEntry(
"type",
type());
99 os.writeEntry(
"axis", axis1_);
A special purpose coordinateRotation that is generally for use in combination with a cylindricalCS wh...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
cylindrical()=default
Default construct - an identity transform.
Macros for easy insertion into run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
addToRunTimeSelectionTable(coordinateRotation, axisAngle, dictionary)
virtual void write(Ostream &os) const
Write information.
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.
static tensor rotation(const vector &axis)
The rotation tensor calculated from axes and order.
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)
A coordinateRotation specified using global axes.
Tensor of scalars, i.e. Tensor<scalar>.
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
static constexpr const zero Zero
Global zero (0)