Toroidal coordinate system, always in degrees. More...
#include <meshTools/toroidalCS.H>
Toroidal coordinate system, always in degrees.
Definition at line 53 of file toroidalCS.H.
Public Member Functions | |
TypeName ("toroidal") | |
Runtime type information.
| |
toroidalCS (const word &name, const point &origin, const coordinateRotation &, const scalar radius) | |
Construct from origin, rotation and radius.
| |
toroidalCS (const word &name, const dictionary &) | |
Construct from dictionary.
| |
scalar | radius () const |
Return radius.
| |
virtual void | write (Ostream &) const |
Write.
| |
virtual void | writeDict (Ostream &, bool subDict=true) const |
Write dictionary.
|
toroidalCS | ( | const word & | name, |
const point & | origin, | ||
const coordinateRotation & | cr, | ||
const scalar | radius | ||
) |
Construct from origin, rotation and radius.
Definition at line 42 of file toroidalCS.C.
toroidalCS | ( | const word & | name, |
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 55 of file toroidalCS.C.
TypeName | ( | "toroidal" | ) |
Runtime type information.
scalar radius | ( | ) | const [inline]
|
Return radius.
Definition at line 113 of file toroidalCS.H.
void write | ( | Ostream & | os ) | const [virtual]
|
Write.
Reimplemented from coordinateSystem.
Definition at line 149 of file toroidalCS.C.
References Foam::endl(), and coordinateSystem::write().
void writeDict | ( | Ostream & | os, |
bool | subDict = true
|
||
) | const [virtual]
|
Write dictionary.
Reimplemented from coordinateSystem.
Definition at line 156 of file toroidalCS.C.
References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, coordinateSystem::writeDict(), and Ostream::writeKeyword().