OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cylindricalCS Class Reference

Cylindrical coordinate system. More...

Inheritance diagram for cylindricalCS:
Collaboration diagram for cylindricalCS:

List of all members.


Public Member Functions

 TypeName ("cylindrical")
 Runtime type information.
 cylindricalCS (const bool inDegrees=true)
 Construct null.
 cylindricalCS (const coordinateSystem &, const bool inDegrees=true)
 Construct copy.
 cylindricalCS (const word &name, const coordinateSystem &, const bool inDegrees=true)
 Construct copy with a different name.
 cylindricalCS (const word &name, const point &origin, const coordinateRotation &, const bool inDegrees=true)
 Construct from origin and rotation.
 cylindricalCS (const word &name, const point &origin, const vector &axis, const vector &dirn, const bool inDegrees=true)
 Construct from origin and 2 axes.
 cylindricalCS (const word &name, const dictionary &)
 Construct from dictionary.
bool inDegrees () const
 Are angles in degrees?
bool & inDegrees ()
 Non-const access to inDegrees.

Protected Member Functions

virtual vector localToGlobal (const vector &, bool translate) const
 Convert from local coordinate system to the global Cartesian system.
virtual tmp< vectorFieldlocalToGlobal (const vectorField &, bool translate) const
 Convert from local coordinate system to the global Cartesian system.
virtual vector globalToLocal (const vector &, bool translate) const
 Convert from global Cartesian system to the local coordinate system.
virtual tmp< vectorFieldglobalToLocal (const vectorField &, bool translate) const
 Convert from global Cartesian system to the local coordinate system.

Detailed Description

Cylindrical coordinate system.

Source files

Definition at line 45 of file cylindricalCS.H.


Constructor & Destructor Documentation

cylindricalCS ( const bool  inDegrees = true  ) 

Construct null.

Definition at line 37 of file cylindricalCS.C.

References Foam::addToRunTimeSelectionTable(), and Foam::defineTypeNameAndDebug().

Here is the call graph for this function:

cylindricalCS ( const coordinateSystem cs,
const bool  inDegrees = true 
)

Construct copy.

Definition at line 45 of file cylindricalCS.C.

cylindricalCS ( const word name,
const coordinateSystem cs,
const bool  inDegrees = true 
)

Construct copy with a different name.

Definition at line 56 of file cylindricalCS.C.

cylindricalCS ( const word name,
const point origin,
const coordinateRotation cr,
const bool  inDegrees = true 
)

Construct from origin and rotation.

Definition at line 68 of file cylindricalCS.C.

cylindricalCS ( const word name,
const point origin,
const vector axis,
const vector dirn,
const bool  inDegrees = true 
)

Construct from origin and 2 axes.

Definition at line 81 of file cylindricalCS.C.

cylindricalCS ( const word name,
const dictionary dict 
)

Construct from dictionary.

Definition at line 95 of file cylindricalCS.C.


Member Function Documentation

Foam::vector localToGlobal ( const vector local,
bool  translate 
) const [protected, virtual]

Convert from local coordinate system to the global Cartesian system.

with optional translation for the origin

Reimplemented from coordinateSystem.

Definition at line 120 of file cylindricalCS.C.

Foam::tmp< Foam::vectorField > localToGlobal ( const vectorField local,
bool  translate 
) const [protected, virtual]

Convert from local coordinate system to the global Cartesian system.

with optional translation for the origin

Reimplemented from coordinateSystem.

Definition at line 139 of file cylindricalCS.C.

Foam::vector globalToLocal ( const vector global,
bool  translate 
) const [protected, virtual]

Convert from global Cartesian system to the local coordinate system.

with optional translation for the origin

Reimplemented from coordinateSystem.

Definition at line 161 of file cylindricalCS.C.

Foam::tmp< Foam::vectorField > globalToLocal ( const vectorField global,
bool  translate 
) const [protected, virtual]

Convert from global Cartesian system to the local coordinate system.

with optional translation for the origin

Reimplemented from coordinateSystem.

Definition at line 182 of file cylindricalCS.C.

TypeName ( "cylindrical"   ) 

Runtime type information.

bool inDegrees (  )  const

Are angles in degrees?

Definition at line 107 of file cylindricalCS.C.

bool & inDegrees (  ) 

Non-const access to inDegrees.

Definition at line 113 of file cylindricalCS.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd