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