A special purpose coordinateRotation that is generally for use in combination with a cylindricalCS when only the orientation of the local Z-axis is relevant. More...
Public Member Functions | |
TypeNameNoDebug ("cylindrical") | |
Runtime type information. More... | |
cylindrical ()=default | |
Default construct - an identity transform. More... | |
cylindrical (const cylindrical &crot) | |
Copy construct. More... | |
cylindrical (const vector &axis) | |
cylindrical (const dictionary &dict) | |
Construct from dictionary. More... | |
autoPtr< coordinateRotation > | clone () const |
Return clone. More... | |
virtual | ~cylindrical ()=default |
Destructor. More... | |
virtual void | write (Ostream &os) const |
Write information. More... | |
virtual void | writeEntry (const word &keyword, Ostream &os) const |
Write dictionary entry. More... | |
![]() | |
TypeNameNoDebug ("axes") | |
Runtime type information. More... | |
axes () | |
Default construct - an identity transform. More... | |
axes (const axes &crot) | |
Copy construct. More... | |
axes (const vector &axis1, const vector &axis2, axisOrder order=E3_E1) | |
Construct from two axes. More... | |
axes (const vector &axis) | |
axes (const dictionary &dict) | |
Construct from dictionary. More... | |
virtual | ~axes ()=default |
Destructor. More... | |
virtual void | clear () |
Reset specification. More... | |
virtual tensor | R () const |
The rotation tensor calculated from the specified axes and order. More... | |
![]() | |
TypeNameNoDebug ("coordinateRotation") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, coordinateRotation, dictionary,(const dictionary &dict),(dict)) | |
virtual | ~coordinateRotation ()=default |
Destructor. More... | |
Static Public Member Functions | |
static tensor | rotation (const vector &axis) |
The rotation tensor calculated from axes and order. More... | |
![]() | |
static tensor | rotation (const vector &axis1, const vector &axis2, axisOrder order=E3_E1) |
The rotation tensor calculated from two axes and their order. More... | |
![]() | |
static autoPtr< coordinateRotation > | New (const dictionary &dict) |
Select constructed from dictionary. More... | |
Additional Inherited Members | |
![]() | |
enum | axisOrder { E1_E2, E2_E3, E3_E1, E3_E1_COMPAT } |
The order/combination of local axes for the axes-rotation definition. More... | |
![]() | |
void | read (const dictionary &dict) |
Read from dictionary. More... | |
![]() | |
static vector | findOrthogonal (const vector &axis) |
Determine best-guess for an orthogonal axis. More... | |
![]() | |
vector | axis1_ |
The primary axis. More... | |
vector | axis2_ |
The secondary axis. More... | |
axisOrder | order_ |
The axis order. More... | |
A special purpose coordinateRotation that is generally for use in combination with a cylindricalCS when only the orientation of the local Z-axis is relevant.
Dictionary entries
Property | Description | Required | Default |
---|---|---|---|
type | Type name: cylindrical | yes | |
axis | The z-axis | yes | |
e3 | Alias for 'axis' | no |
Definition at line 83 of file cylindricalRotation.H.
|
default |
Default construct - an identity transform.
cylindrical | ( | const cylindrical & | crot | ) |
Copy construct.
Definition at line 62 of file cylindricalRotation.C.
|
explicit |
Construct from single axis (as e3) using best-guess for the second axis.
Definition at line 68 of file cylindricalRotation.C.
|
explicit |
Construct from dictionary.
Definition at line 74 of file cylindricalRotation.C.
|
virtualdefault |
Destructor.
TypeNameNoDebug | ( | "cylindrical" | ) |
Runtime type information.
|
inlinevirtual |
|
static |
The rotation tensor calculated from axes and order.
The input axes will be normalised.
Definition at line 51 of file cylindricalRotation.C.
References Foam::Zero.
|
virtual |
Write information.
Reimplemented from axes.
Definition at line 82 of file cylindricalRotation.C.
References os(), and Foam::type().
Write dictionary entry.
Reimplemented from axes.
Definition at line 89 of file cylindricalRotation.C.
References os(), and Foam::type().