User specification of a coordinate rotation. More...

Public Member Functions | |
| TypeNameNoDebug ("coordinateRotation") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, coordinateRotation, dictionary,(const dictionary &dict),(dict)) | |
| virtual autoPtr< coordinateRotation > | clone () const =0 |
| Construct and return a clone. More... | |
| virtual | ~coordinateRotation ()=default |
| Destructor. More... | |
| virtual void | clear ()=0 |
| Reset specification. More... | |
| virtual tensor | R () const =0 |
| Calculate and return the rotation tensor. More... | |
| virtual void | write (Ostream &os) const =0 |
| Write information. More... | |
| virtual void | writeEntry (const word &keyword, Ostream &os) const =0 |
| Write dictionary entry. More... | |
Static Public Member Functions | |
| static autoPtr< coordinateRotation > | New (const word &modelType, const dictionary &dict) |
| Select construct the specified coordinate rotation type. More... | |
| static autoPtr< coordinateRotation > | New (const dictionary &dict) |
| Select construct from dictionary (requires the "type" entry) More... | |
Static Protected Member Functions | |
| static vector | findOrthogonal (const vector &axis) |
| Determine best-guess for an orthogonal axis. More... | |
User specification of a coordinate rotation.
rotation
{
type axes
e1 (1 0 0);
e2 (0 1 0);
}
Types of coordinateRotations:
Definition at line 76 of file coordinateRotation.H.
|
virtualdefault |
Destructor.
|
staticprotected |
Determine best-guess for an orthogonal axis.
Definition at line 37 of file coordinateRotation.C.
References Foam::mag(), and Foam::Zero.

| TypeNameNoDebug | ( | "coordinateRotation" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| coordinateRotation | , | ||
| dictionary | , | ||
| (const dictionary &dict) | , | ||
| (dict) | |||
| ) |
|
pure virtual |
|
static |
Select construct the specified coordinate rotation type.
An empty modelType will be treated as "axes" (eg, e1/e3)
Definition at line 66 of file coordinateRotation.C.
References dict, Foam::exit(), Foam::FatalIOError, and FatalIOErrorInLookup.
Referenced by coordinateRotation::New().


|
static |
Select construct from dictionary (requires the "type" entry)
Definition at line 98 of file coordinateRotation.C.
References dict, dictionary::get(), and coordinateRotation::New().

|
pure virtual |
|
pure virtual |
|
pure virtual |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.