Public Member Functions | List of all members
specified Class Reference

An user-specified coordinateRotation, primarily to be used internally within coding when the rotation matrix is already known but needs to be wrapped as a coordinateRotation for use in a coordinate system. More...

Inheritance diagram for specified:
Inheritance graph
[legend]
Collaboration diagram for specified:
Collaboration graph
[legend]

Public Member Functions

 TypeNameNoDebug ("specified")
 
 specified ()
 
 specified (const tensor &rot)
 
 specified (const dictionary &unused)
 
autoPtr< coordinateRotationclone () const
 
virtual ~specified ()=default
 
virtual void clear ()
 
virtual tensor R () const
 
virtual void write (Ostream &os) const
 
virtual void writeEntry (const word &keyword, Ostream &os) const
 
- Public Member Functions inherited from coordinateRotation
 TypeNameNoDebug ("coordinateRotation")
 
 declareRunTimeSelectionTable (autoPtr, coordinateRotation, dictionary,(const dictionary &dict),(dict))
 
virtual ~coordinateRotation ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from coordinateRotation
static autoPtr< coordinateRotationNew (const dictionary &dict)
 
- Static Protected Member Functions inherited from coordinateRotation
static vector findOrthogonal (const vector &axis)
 

Detailed Description

An user-specified coordinateRotation, primarily to be used internally within coding when the rotation matrix is already known but needs to be wrapped as a coordinateRotation for use in a coordinate system.

Note
Currently no runtime selection mechanism, since specifying a rotation matrix via a dictionary can be fragile due to rounding factors and uncertainty if a forward or reverse rotation matrix is intended.
Source files

Definition at line 57 of file specifiedRotation.H.

Constructor & Destructor Documentation

◆ specified() [1/3]

specified ( )

Definition at line 41 of file specifiedRotation.C.

◆ specified() [2/3]

specified ( const tensor rot)
explicit

Definition at line 48 of file specifiedRotation.C.

◆ specified() [3/3]

specified ( const dictionary unused)
explicit

Definition at line 55 of file specifiedRotation.C.

◆ ~specified()

virtual ~specified ( )
virtualdefault

Member Function Documentation

◆ TypeNameNoDebug()

TypeNameNoDebug ( "specified"  )

◆ clone()

autoPtr<coordinateRotation> clone ( ) const
inlinevirtual

Implements coordinateRotation.

Definition at line 85 of file specifiedRotation.H.

◆ clear()

void clear ( )
virtual

Implements coordinateRotation.

Definition at line 65 of file specifiedRotation.C.

References SphericalTensor< scalar >::I.

◆ R()

Foam::tensor R ( ) const
virtual

Implements coordinateRotation.

Definition at line 71 of file specifiedRotation.C.

◆ write()

void write ( Ostream os) const
virtual

Implements coordinateRotation.

Definition at line 77 of file specifiedRotation.C.

References os().

Here is the call graph for this function:

◆ writeEntry()

void writeEntry ( const word keyword,
Ostream os 
) const
virtual

Implements coordinateRotation.

Definition at line 84 of file specifiedRotation.C.

References os(), and Foam::type().

Here is the call graph for this function:

The documentation for this class was generated from the following files: