Cylindrical coordinate system. More...
Public Member Functions | |
TypeName ("cartesian") | |
Runtime type information. More... | |
cartesianCS () | |
Construct null. More... | |
cartesianCS (const coordinateSystem &) | |
Construct copy. More... | |
cartesianCS (const word &name, const coordinateSystem &) | |
Construct copy with a different name. More... | |
cartesianCS (const word &name, const point &origin, const coordinateRotation &) | |
Construct from origin and rotation. More... | |
cartesianCS (const word &name, const point &origin, const vector &axis, const vector &dirn) | |
Construct from origin and 2 axes. More... | |
cartesianCS (const word &, const dictionary &) | |
Construct from dictionary. More... | |
cartesianCS (const objectRegistry &, const dictionary &) | |
Construct from dictionary and objectRegistry. More... | |
virtual | ~cartesianCS () |
Destructor. More... | |
Public Member Functions inherited from coordinateSystem | |
TypeName ("coordinateSystem") | |
Runtime type information. More... | |
coordinateSystem () | |
Construct null. This is equivalent to an identity coordinateSystem. More... | |
coordinateSystem (const word &name, const coordinateSystem &) | |
Construct copy with a different name. More... | |
coordinateSystem (const word &name, const point &origin, const coordinateRotation &) | |
Construct from origin and rotation. More... | |
coordinateSystem (const word &name, const point &origin, const vector &axis, const vector &dirn) | |
Construct from origin and 2 axes. More... | |
coordinateSystem (const word &name, const dictionary &) | |
Construct from dictionary with a given name. More... | |
coordinateSystem (const dictionary &) | |
Construct from dictionary with default name. More... | |
coordinateSystem (const objectRegistry &, const dictionary &) | |
Construct from dictionary (default name) More... | |
coordinateSystem (Istream &) | |
Construct from Istream. More... | |
autoPtr< coordinateSystem > | clone () const |
Return clone. More... | |
declareRunTimeSelectionTable (autoPtr, coordinateSystem, dictionary,(const objectRegistry &obr, const dictionary &dict),(obr, dict)) | |
virtual | ~coordinateSystem () |
Destructor. More... | |
const word & | name () const |
Return name. More... | |
string & | note () |
Return non-constant access to the optional note. More... | |
const string & | note () const |
Return the optional note. More... | |
const point & | origin () const |
Return origin. More... | |
const coordinateRotation & | R () const |
Return const reference to co-ordinate rotation. More... | |
coordinateRotation & | R () |
Return non const reference to co-ordinate rotation. More... | |
const coordinateRotation & | R (const polyMesh &mesh, const labelList &cells) |
Update and return the co-ordinate rotation for a list of cells. More... | |
virtual dictionary | dict (bool ignoreType=false) const |
Return as dictionary of entries. More... | |
void | rename (const word &newName) |
Rename. More... | |
point & | origin () |
Edit access to origin. More... | |
virtual void | clear () |
Reset origin and rotation to an identity coordinateSystem. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
void | writeDict (Ostream &, bool subDict=true) const |
Write dictionary. More... | |
point | globalPosition (const point &local) const |
Convert from position in local coordinate system to global. More... | |
tmp< pointField > | globalPosition (const pointField &local) const |
Convert from position in local coordinate system to global. More... | |
vector | globalVector (const vector &local) const |
Convert from vector components in local coordinate system to. More... | |
tmp< vectorField > | globalVector (const vectorField &local) const |
Convert from vector components in local coordinate system to. More... | |
point | localPosition (const point &global) const |
Convert from global Cartesian position to position in local. More... | |
tmp< pointField > | localPosition (const pointField &global) const |
Convert from global Cartesian position to position in local. More... | |
vector | localVector (const vector &global) const |
Convert from global Cartesian vector to components in local. More... | |
tmp< vectorField > | localVector (const vectorField &global) const |
Convert from global Cartesian vector to components in local. More... | |
Protected Member Functions | |
virtual vector | localToGlobal (const vector &, bool translate) const |
Convert from local coordinate system to the global Cartesian system. More... | |
virtual tmp< vectorField > | localToGlobal (const vectorField &, bool translate) const |
Convert from local coordinate system to the global Cartesian system. More... | |
virtual vector | globalToLocal (const vector &, bool translate) const |
Convert from global Cartesian system to the local coordinate system. More... | |
virtual tmp< vectorField > | globalToLocal (const vectorField &, bool translate) const |
Convert from global Cartesian system to the local coordinate system. More... | |
Protected Member Functions inherited from coordinateSystem | |
void | init (const dictionary &) |
Init from dict and obr. More... | |
void | init (const dictionary &, const objectRegistry &) |
Init from dictionary. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from coordinateSystem | |
static autoPtr< coordinateSystem > | New (const objectRegistry &obr, const dictionary &dict) |
Select constructed from dictionary and objectRegistry. More... | |
static autoPtr< coordinateSystem > | New (const dictionary &dict) |
Select constructed from dictionary. More... | |
static autoPtr< coordinateSystem > | New (Istream &is) |
Select constructed from Istream. More... | |
cartesianCS | ( | ) |
Construct null.
Definition at line 43 of file cartesianCS.C.
Referenced by cartesianCS::cartesianCS().
cartesianCS | ( | const coordinateSystem & | cs | ) |
Construct copy.
Definition at line 50 of file cartesianCS.C.
References cartesianCS::cartesianCS().
cartesianCS | ( | const word & | name, |
const coordinateSystem & | cs | ||
) |
Construct copy with a different name.
Definition at line 59 of file cartesianCS.C.
References cartesianCS::cartesianCS().
cartesianCS | ( | const word & | name, |
const point & | origin, | ||
const coordinateRotation & | cr | ||
) |
Construct from origin and rotation.
Definition at line 69 of file cartesianCS.C.
References cartesianCS::cartesianCS().
cartesianCS | ( | const word & | name, |
const point & | origin, | ||
const vector & | axis, | ||
const vector & | dirn | ||
) |
Construct from origin and 2 axes.
Definition at line 80 of file cartesianCS.C.
References cartesianCS::cartesianCS().
cartesianCS | ( | const word & | name, |
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 92 of file cartesianCS.C.
References cartesianCS::cartesianCS().
cartesianCS | ( | const objectRegistry & | obr, |
const dictionary & | dict | ||
) |
Construct from dictionary and objectRegistry.
Definition at line 102 of file cartesianCS.C.
|
virtual |
Destructor.
Definition at line 113 of file cartesianCS.C.
References cartesianCS::localToGlobal().
|
protectedvirtual |
Convert from local coordinate system to the global Cartesian system.
with optional translation for the origin
Reimplemented from coordinateSystem.
Definition at line 121 of file cartesianCS.C.
References coordinateSystem::localToGlobal().
Referenced by cartesianCS::~cartesianCS().
|
protectedvirtual |
Convert from local coordinate system to the global Cartesian system.
with optional translation for the origin
Reimplemented from coordinateSystem.
Definition at line 131 of file cartesianCS.C.
References cartesianCS::globalToLocal(), and coordinateSystem::localToGlobal().
|
protectedvirtual |
Convert from global Cartesian system to the local coordinate system.
with optional translation for the origin
Reimplemented from coordinateSystem.
Definition at line 141 of file cartesianCS.C.
References coordinateSystem::globalToLocal().
Referenced by cartesianCS::localToGlobal().
|
protectedvirtual |
Convert from global Cartesian system to the local coordinate system.
with optional translation for the origin
Reimplemented from coordinateSystem.
Definition at line 151 of file cartesianCS.C.
References coordinateSystem::globalToLocal().
TypeName | ( | "cartesian" | ) |
Runtime type information.