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.
axes()
Default construct - an identity transform.
vector axis1_
The primary axis.
@ E3_E1
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 special purpose coordinateRotation that is generally for use in combination with a cylindricalCS wh...
virtual void write(Ostream &os) const
Write information.
virtual void writeEntry(const word &keyword, Ostream &os) const
Write dictionary entry.
cylindrical()=default
Default construct - an identity transform.
static tensor rotation(const vector &axis)
The rotation tensor calculated from axes and order.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
#define defineTypeName(Type)
Define the typeName.
OBJstream os(runTime.globalPath()/outputName)
Namespace for coordinate system rotations.
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).