| 47 | \*---------------------------------------------------------------------------*/ |
| 48 | |
| 49 | class cylindricalCS |
| 50 | : |
| 51 | public coordinateSystem |
| 52 | { |
| 53 | // Private data members |
| 54 | |
| 55 | //- Are angles in degrees? (default = true) |
| 56 | bool inDegrees_; |
| 57 | |
| 58 | |
| 59 | protected: |
| 60 | |
| 61 | // Protected Member Functions |
| 62 | |
| 63 | |
| 64 | //- Convert from local coordinate system to the global Cartesian system |
| 65 | // with optional translation for the origin |
| 66 | virtual vector localToGlobal(const vector&, bool translate) const; |
| 67 | |
| 68 | //- Convert from local coordinate system to the global Cartesian system |
| 69 | // with optional translation for the origin |
| 70 | virtual tmp<vectorField> localToGlobal |
| 71 | ( |
| 72 | const vectorField&, |
| 73 | bool translate |
| 74 | ) const; |
| 75 | |
| 76 | //- Convert from global Cartesian system to the local coordinate system |
| 77 | // with optional translation for the origin |
| 78 | virtual vector globalToLocal(const vector&, bool translate) const; |
| 79 | |
| 80 | //- Convert from global Cartesian system to the local coordinate system |
| 81 | // with optional translation for the origin |
| 82 | virtual tmp<vectorField> globalToLocal |
| 83 | ( |
| 84 | const vectorField&, |
| 85 | bool translate |
| 86 | ) const; |
| 87 | |
| 88 | |
| 89 | public: |
| 90 | |
| 91 | |
| 92 | // Constructors |
| 93 | |
| 94 | //- Construct null |
| 95 | cylindricalCS(const bool inDegrees=true); |
| 96 | |
| 97 | //- Construct copy |
| 98 | cylindricalCS |
| 99 | ( |
| 100 | const coordinateSystem&, |
| 101 | const bool inDegrees=true |
| 102 | ); |
| 103 | |
| 104 | //- Construct copy with a different name |
| 105 | cylindricalCS |
| 106 | ( |
no outgoing calls
no test coverage detected