Go to the documentation of this file.
49 #ifndef coordinateRotation_H
50 #define coordinateRotation_H
142 virtual void clear() = 0;
152 virtual const tensor&
R()
const = 0;
158 virtual const vector e1()
const = 0;
161 virtual const vector e2()
const = 0;
164 virtual const vector e3()
const = 0;
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
virtual const tensor & Rtr() const =0
Return global-to-local transformation tensor.
A class for managing temporary objects.
TypeName("coordinateRotation")
Runtime type information.
virtual const vector e2() const =0
Return local Cartesian y-axis.
virtual tmp< tensorField > transformTensor(const tensorField &st) const =0
Transform tensor field using transformation tensorField.
Mesh consisting of general polyhedral cells.
symmTensor transformPrincipal(const tensor &, const vector &) const
Transform principal.
virtual tmp< vectorField > transform(const vectorField &st) const =0
Transform vectorField using transformation tensor field.
Registry of regIOobjects.
static autoPtr< coordinateRotation > New(const dictionary &dict, const objectRegistry &obr)
Select constructed from dictionary and objectRegistry.
virtual const vector e3() const =0
Return local Cartesian z-axis.
Pre-declare SubField and related Field type.
virtual void updateCells(const polyMesh &mesh, const labelList &cells)=0
Update the rotation for a list of cells.
Abstract base class for coordinate rotation.
A list of keyword definitions, which are a keyword followed by any number of values (e....
declareRunTimeSelectionTable(autoPtr, coordinateRotation, objectRegistry,(const dictionary &dict, const objectRegistry &obr),(dict, obr))
virtual ~coordinateRotation()
Destructor.
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...
virtual const vector e1() const =0
Return local Cartesian x-axis.
Macros to ease declaration of run-time selection tables.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual const tensorField & Tr() const =0
Return local-to-global transformation tensor.
virtual tmp< vectorField > invTransform(const vectorField &st) const =0
Inverse transform vectorField using transformation tensor field.
virtual autoPtr< coordinateRotation > clone() const =0
Construct and return a clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool uniform() const
Return true if the rotation tensor is uniform.
virtual void write(Ostream &) const =0
Write.
virtual tmp< symmTensorField > transformVector(const vectorField &st) const =0
Transform vectorField using transformation tensorField and return.
virtual const tensor & R() const =0
Return local-to-global transformation tensor.