Go to the documentation of this file.
47 #ifndef STARCDCoordinateRotation_H
48 #define STARCDCoordinateRotation_H
83 const bool inDegrees=
true
101 const vector& rotZrotXrotY,
102 const bool inDegrees=
true
111 const bool inDegrees=
true
152 virtual const tensor&
R()
const
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
tensor Rtr_
Global-to-Local transformation tensor.
virtual const tensorField & Tr() const
Return transformation tensor field.
virtual tmp< vectorField > transform(const vectorField &st) const
Transform vectorField using transformation tensor field.
TypeName("STARCDRotation")
Runtime type information.
A coordinateRotation defined by the STAR-CD convention.
A class for managing temporary objects.
virtual const vector e2() const
Return local Cartesian y-axis.
virtual void updateCells(const polyMesh &, const labelList &)
Update the rotation for a list of cells.
Mesh consisting of general polyhedral cells.
Registry of regIOobjects.
void calcTransform(const scalar rotZ, const scalar rotX, const scalar rotY, const bool inDegrees=true)
Calculate transformation tensor.
Pre-declare SubField and related Field type.
Abstract base class for coordinate rotation.
virtual void write(Ostream &) const
Write.
virtual tmp< tensorField > transformTensor(const tensorField &st) const
Transform tensor field using transformation tensorField.
A list of keyword definitions, which are a keyword followed by any number of values (e....
tensor R_
Local-to-Global transformation tensor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual const tensor & R() const
Return local-to-global transformation tensor.
autoPtr< coordinateRotation > clone() const
Return clone.
virtual const tensor & Rtr() const
Return global-to-local transformation tensor.
virtual const vector e1() const
Return local Cartesian x-axis.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual const vector e3() const
Return local Cartesian z-axis.
STARCDCoordinateRotation()
Construct null.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< symmTensorField > transformVector(const vectorField &st) const
Transform vectorField using transformation tensorField and return.
static const SphericalTensor I
virtual void clear()
Reset rotation to an identity rotation.
virtual tmp< vectorField > invTransform(const vectorField &st) const
Inverse transform vectorField using transformation tensor field.