A local coordinate rotation. More...


Public Member Functions | |
| TypeName ("cylindrical") | |
| Runtime type information. More... | |
| cylindrical (const vector &axis, const point &origin, const UList< vector > &points) | |
| Construct from components for list of points. More... | |
| cylindrical (const dictionary &) | |
| Construct from dictionary. More... | |
| cylindrical (const dictionary &, const UList< vector > &points) | |
| Construct from dictionary. More... | |
| virtual autoPtr< coordinateRotation > | clone () const |
| Return clone. More... | |
| virtual | ~cylindrical () |
| Destructor. More... | |
| virtual void | updatePoints (const UList< vector > &points) |
| Update the rotation for a list of points. More... | |
| virtual const tensor & | R () const |
| Return local-to-global transformation tensor. More... | |
| virtual const vector | e1 () const |
| Return local Cartesian x-axis in global coordinates. More... | |
| virtual const vector | e2 () const |
| Return local Cartesian y-axis in global coordinates. More... | |
| virtual const vector | e3 () const |
| Return local Cartesian z-axis in global coordinates. More... | |
| virtual const vector | axis () const |
| Return local Cartesian z-axis in global coordinates. More... | |
| virtual bool | uniform () const |
| Return if the rotation is uniform. More... | |
| virtual vector | transform (const vector &v) const |
| Transform vector using transformation tensor. More... | |
| virtual tmp< vectorField > | transform (const vectorField &tf) const |
| Transform vectorField using transformation tensor field. More... | |
| virtual vector | transform (const vector &v, const label cmptI) const |
| Transform vector using transformation tensor for component. More... | |
| virtual vector | invTransform (const vector &v) const |
| Inverse transform vector using transformation tensor. More... | |
| virtual tmp< vectorField > | invTransform (const vectorField &vf) const |
| Inverse transform vectorField using transformation tensor field. More... | |
| virtual vector | invTransform (const vector &v, const label cmptI) const |
| Inverse transform vector using transformation tensor for component. More... | |
| virtual tensor | transform (const vector &p, const tensor &t) const |
| Transform tensor using transformation tensorField. More... | |
| virtual tmp< tensorField > | transform (const tensorField &tf) const |
| Transform tensor field using transformation tensorField. More... | |
| virtual symmTensor | transformDiagTensor (const vector &p, const vector &v) const |
| Transform diagTensor masquerading as a vector using transformation. More... | |
| virtual tmp< symmTensorField > | transformDiagTensor (const vectorField &vf) const |
| Transform diagTensorField masquerading as a vectorField. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
Public Member Functions inherited from coordinateRotation | |
| TypeName ("coordinateRotation") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, coordinateRotation, dictionary,(const dictionary &dict),(dict)) | |
| declareRunTimeSelectionTable (autoPtr, coordinateRotation, points,(const dictionary &dict, const UList< vector > &points),(dict, points)) | |
| virtual | ~coordinateRotation () |
| Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from coordinateRotation | |
| static autoPtr< coordinateRotation > | New (const dictionary &dict, const UList< vector > &points) |
| Select constructed from dictionary and list of points. More... | |
| static autoPtr< coordinateRotation > | New (const dictionary &dict) |
| Select constructed from dictionary. More... | |
Protected Member Functions inherited from coordinateRotation | |
| symmTensor | transformVectorDiagTensor (const tensor &, const vector &) const |
| Transform the vector as if it is a diagonal tensor. More... | |
A local coordinate rotation.
The rotational field can be created in two ways:
dir and axis) where dir = point - origin and axis is the rotation axis. Per each point an axesRotation type of rotation is created (cylindrical coordinates). For example: cylindrical
{
type localAxes;
axis (0 0 1);
}Definition at line 65 of file cylindrical.H.
| cylindrical | ( | const vector & | axis, |
| const point & | origin, | ||
| const UList< vector > & | points | ||
| ) |
Construct from components for list of points.
Definition at line 75 of file cylindrical.C.
References points.
Referenced by cylindrical::clone().

| cylindrical | ( | const dictionary & | dict | ) |
Construct from dictionary.
Definition at line 90 of file cylindrical.C.
| cylindrical | ( | const dictionary & | dict, |
| const UList< vector > & | points | ||
| ) |
|
inlinevirtual |
Destructor.
Definition at line 120 of file cylindrical.H.
| TypeName | ( | "cylindrical" | ) |
Runtime type information.
|
inlinevirtual |
Return clone.
Implements coordinateRotation.
Definition at line 113 of file cylindrical.H.
References cylindrical::cylindrical().

Update the rotation for a list of points.
Implements coordinateRotation.
Definition at line 117 of file cylindrical.C.
References forAll, points, Foam::R(), and List< T >::size().

|
inlinevirtual |
Return local-to-global transformation tensor.
Implements coordinateRotation.
Definition at line 130 of file cylindrical.H.
References NotImplemented, and VectorSpace< Form, Cmpt, Mrows *Ncols >::zero.
|
inlinevirtual |
Return local Cartesian x-axis in global coordinates.
Implements coordinateRotation.
Definition at line 137 of file cylindrical.H.
References NotImplemented, and VectorSpace< Form, Cmpt, Ncmpts >::zero.
|
inlinevirtual |
Return local Cartesian y-axis in global coordinates.
Implements coordinateRotation.
Definition at line 144 of file cylindrical.H.
References NotImplemented, and VectorSpace< Form, Cmpt, Ncmpts >::zero.
|
inlinevirtual |
Return local Cartesian z-axis in global coordinates.
Implements coordinateRotation.
Definition at line 151 of file cylindrical.H.
|
inlinevirtual |
Return local Cartesian z-axis in global coordinates.
Definition at line 157 of file cylindrical.H.
|
inlinevirtual |
Return if the rotation is uniform.
Reimplemented from coordinateRotation.
Definition at line 163 of file cylindrical.H.
|
virtual |
Transform vector using transformation tensor.
Implements coordinateRotation.
Definition at line 153 of file cylindrical.C.
References NotImplemented, and Foam::Zero.
|
virtual |
Transform vectorField using transformation tensor field.
Implements coordinateRotation.
Definition at line 137 of file cylindrical.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, and List< T >::size().

|
virtual |
Transform vector using transformation tensor for component.
Definition at line 160 of file cylindrical.C.
|
virtual |
Inverse transform vector using transformation tensor.
Implements coordinateRotation.
Definition at line 186 of file cylindrical.C.
References NotImplemented, and Foam::Zero.
|
virtual |
Inverse transform vectorField using transformation tensor field.
Implements coordinateRotation.
Definition at line 170 of file cylindrical.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, List< T >::size(), and Foam::T().

|
virtual |
Inverse transform vector using transformation tensor for component.
Definition at line 193 of file cylindrical.C.
References Foam::T().

|
virtual |
Transform tensor using transformation tensorField.
Implements coordinateRotation.
Definition at line 218 of file cylindrical.C.
References Foam::R().

|
virtual |
Transform tensor field using transformation tensorField.
Implements coordinateRotation.
Definition at line 203 of file cylindrical.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, List< T >::size(), Foam::T(), and tf.

|
virtual |
Transform diagTensor masquerading as a vector using transformation.
tensor and return symmTensor
Implements coordinateRotation.
Definition at line 253 of file cylindrical.C.

|
virtual |
Transform diagTensorField masquerading as a vectorField.
using transformation tensorField and return symmTensorField
Implements coordinateRotation.
Definition at line 229 of file cylindrical.C.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, fld(), forAll, Foam::R(), tmp< T >::ref(), and List< T >::size().

|
virtual |
Write.
Implements coordinateRotation.
Definition at line 263 of file cylindrical.C.
References Foam::writeEntry().
