MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / cylindricalCS

Class cylindricalCS

src/meshTools/coordinateSystems/cylindricalCS.H:49–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47\*---------------------------------------------------------------------------*/
48
49class cylindricalCS
50:
51 public coordinateSystem
52{
53 // Private data members
54
55 //- Are angles in degrees? (default = true)
56 bool inDegrees_;
57
58
59protected:
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
89public:
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 (

Callers 4

arcEdge.CFile · 0.85
cylindricalCS.CFile · 0.85
createCoordinateSystemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected