35namespace 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_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
User specification of a coordinate rotation.
A coordinateRotation specified using global axes.
@ E3_E1
The axis1 (dominant) is local Z, axis2 is local X.
A special purpose coordinateRotation that is generally for use in combination with a cylindricalCS wh...
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
cylindrical()=default
Default construct - an identity transform.
virtual const coordinateRotation & rotation() const
The rotation specification.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
A class for handling words, derived from Foam::string.
#define defineTypeName(Type)
Define the typeName.
OBJstream os(runTime.globalPath()/outputName)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static constexpr const zero Zero
Global zero (0)