48 #ifndef axesRotation_H
49 #define axesRotation_H
92 const axisOrder&
order = e3e1
134 virtual const tensor&
R()
const
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...
A coordinate rotation specified using global axis.
virtual const vector e2() const
Return local Cartesian y-axis in global coordinates.
virtual void write(Ostream &) const
Write.
axesRotation(const vector &axis, const vector &dir)
Construct from 2 axes.
virtual autoPtr< coordinateRotation > clone() const
Construct and return a clone.
virtual const tensor & R() const
Return local-to-global transformation tensor.
TypeName("axesRotation")
Runtime type information.
virtual void updatePoints(const UList< vector > &points)
Update the rotation for a list of points.
virtual vector transform(const vector &v) const
Transform vector using transformation tensor.
virtual const vector e1() const
Return local Cartesian x-axis in global coordinates.
virtual const vector e3() const
Return local Cartesian z-axis in global coordinates.
virtual symmTensor transformDiagTensor(const vector &p, const vector &v) const
Transform diagTensor masquerading as a vector using transformation.
void operator=(const dictionary &)
Assign from dictionary.
virtual ~axesRotation()
Destructor.
virtual vector invTransform(const vector &v) const
Inverse transform vector using transformation tensor.
Abstract base class for coordinate rotation.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
int order(const scalar s)
Macros to ease declaration of run-time selection tables.