51 #ifndef coordinateRotation_H
52 #define coordinateRotation_H
151 virtual const tensor&
R()
const = 0;
154 virtual const vector e1()
const = 0;
157 virtual const vector e2()
const = 0;
160 virtual const vector e3()
const = 0;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Abstract base class for coordinate rotation.
virtual bool uniform() const
Return true if the rotation tensor is uniform.
virtual void write(Ostream &) const =0
Write.
static autoPtr< coordinateRotation > New(const dictionary &dict, const UList< vector > &points)
Select constructed from dictionary and list of points.
TypeName("coordinateRotation")
Runtime type information.
virtual void updatePoints(const UList< vector > &points)=0
Update the rotation for a list of points.
virtual const vector e2() const =0
Return local Cartesian y-axis.
virtual vector invTransform(const vector &v) const =0
Inverse transform vector using transformation tensor.
virtual autoPtr< coordinateRotation > clone() const =0
Construct and return a clone.
virtual symmTensor transformDiagTensor(const vector &p, const vector &v) const =0
Transform diagTensor masquerading as a vector using transformation.
virtual const tensor & R() const =0
Return local-to-global transformation tensor.
declareRunTimeSelectionTable(autoPtr, coordinateRotation, dictionary,(const dictionary &dict),(dict))
virtual const vector e1() const =0
Return local Cartesian x-axis.
virtual ~coordinateRotation()
Destructor.
virtual vector transform(const vector &v) const =0
Transform vector using transformation tensor.
symmTensor transformVectorDiagTensor(const tensor &, const vector &) const
Transform the vector as if it is a diagonal tensor.
virtual const vector e3() const =0
Return local Cartesian z-axis.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
Macros to ease declaration of run-time selection tables.