51 #ifndef coordinateRotation_H 52 #define coordinateRotation_H 139 virtual void clear() = 0;
149 virtual const tensor&
R()
const = 0;
155 virtual const vector e1()
const = 0;
158 virtual const vector e2()
const = 0;
161 virtual const vector e3()
const = 0;
virtual tmp< vectorField > invTransform(const vectorField &st) const =0
Inverse transform vectorField using transformation tensor field.
Abstract base class for coordinate rotation.
symmTensor transformPrincipal(const tensor &, const vector &) const
Transform principal.
declareRunTimeSelectionTable(autoPtr, coordinateRotation, objectRegistry,(const dictionary &dict, const objectRegistry &obr),(dict, obr))
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual const tensorField & Tr() const =0
Return local-to-global transformation tensor.
virtual ~coordinateRotation()
Destructor.
virtual const vector e1() const =0
Return local Cartesian x-axis.
virtual const tensor & Rtr() const =0
Return global-to-local transformation tensor.
virtual bool uniform() const
Return true if the rotation tensor is uniform.
virtual tmp< symmTensorField > transformVector(const vectorField &st) const =0
Transform vectorField using transformation tensorField and return.
virtual void updateCells(const polyMesh &mesh, const labelList &cells)=0
Update the rotation for a list of cells.
virtual const vector e2() const =0
Return local Cartesian y-axis.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
TypeName("coordinateRotation")
Runtime type information.
virtual void write(Ostream &) const =0
Write.
virtual const tensor & R() const =0
Return local-to-global transformation tensor.
virtual tmp< tensorField > transformTensor(const tensorField &st) const =0
Transform tensor field using transformation tensorField.
static autoPtr< coordinateRotation > New(const dictionary &dict, const objectRegistry &obr)
Select constructed from dictionary and objectRegistry.
virtual tmp< vectorField > transform(const vectorField &st) const =0
Transform vectorField using transformation tensor field.
virtual const vector e3() const =0
Return local Cartesian z-axis.
virtual void clear()=0
Reset rotation to an identity rotation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
Registry of regIOobjects.