cartesian Class Reference

Cylindrical coordinate system. More...

Inheritance diagram for cartesian:
Collaboration diagram for cartesian:

Public Member Functions

 TypeName ("cartesian")
 Runtime type information. More...
 
 cartesian (const word &name, const point &origin, const coordinateRotation &)
 Construct from origin and rotation. More...
 
 cartesian (const word &name, const point &origin, const vector &axis, const vector &dirn)
 Construct from origin and 2 axes. More...
 
 cartesian (const word &, const dictionary &)
 Construct from dictionary. More...
 
virtual autoPtr< coordinateSystemclone () const
 Construct and return a clone. More...
 
virtual ~cartesian ()
 Destructor. More...
 
- Public Member Functions inherited from coordinateSystem
 TypeName ("coordinateSystem")
 Runtime type information. More...
 
 coordinateSystem (const word &name, const point &origin)
 Construct from origin. 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 coordinateSystem &cs)
 Copy constructor. More...
 
 declareRunTimeSelectionTable (autoPtr, coordinateSystem, dictionary,(const word &name, const dictionary &dict),(name, dict))
 
virtual ~coordinateSystem ()
 Destructor. More...
 
const wordname () const
 Return name. More...
 
const wordkeyword () const
 Return keyword. More...
 
const pointorigin () const
 Return origin. More...
 
const coordinateRotationR () const
 Return const reference to co-ordinate rotation. More...
 
const coordinateRotationR (const UList< vector > &points) const
 Update and return the co-ordinate rotation for a list of points. 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< pointFieldglobalPosition (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< vectorFieldglobalVector (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< pointFieldlocalPosition (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< vectorFieldlocalVector (const vectorField &global) const
 Convert from global Cartesian vector to components in local. More...
 
void operator= (const coordinateSystem &)
 Assignment operator. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from coordinateSystem
static autoPtr< coordinateSystemNew (const objectRegistry &obr, const dictionary &dict)
 Select constructed from dictionary and objectRegistry. More...
 
static autoPtr< coordinateSystemNew (const word &name, const dictionary &dict)
 Select constructed from name and dictionary. More...
 

Detailed Description

Cylindrical coordinate system.

Source files

Definition at line 50 of file cartesianCS.H.

Constructor & Destructor Documentation

◆ cartesian() [1/3]

cartesian ( const word name,
const point origin,
const coordinateRotation cr 
)

Construct from origin and rotation.

Definition at line 85 of file cartesianCS.C.

Referenced by cartesian::clone().

Here is the caller graph for this function:

◆ cartesian() [2/3]

cartesian ( const word name,
const point origin,
const vector axis,
const vector dirn 
)

Construct from origin and 2 axes.

Definition at line 96 of file cartesianCS.C.

◆ cartesian() [3/3]

cartesian ( const word name,
const dictionary dict 
)

Construct from dictionary.

Definition at line 108 of file cartesianCS.C.

◆ ~cartesian()

~cartesian ( )
virtual

Destructor.

Definition at line 120 of file cartesianCS.C.

Member Function Documentation

◆ TypeName()

TypeName ( "cartesian"  )

Runtime type information.

◆ clone()

virtual autoPtr<coordinateSystem> clone ( ) const
inlinevirtual

Construct and return a clone.

Reimplemented from coordinateSystem.

Definition at line 110 of file cartesianCS.H.

References cartesian::cartesian().

Here is the call graph for this function:

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