1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2008 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software; you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation; either version 2 of the License, or (at your
14 option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM; if not, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 Foam::parabolicCylindricalCS
29 Parabolic cylindrical coordinate system.
31 Notation: u = a.x() v = a.y() z = a.z();
34 parabolicCylindricalCS.C
36 \*---------------------------------------------------------------------------*/
38 #ifndef parabolicCylindricalCS_H
39 #define parabolicCylindricalCS_H
41 #include "coordinateSystem.H"
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 /*---------------------------------------------------------------------------*\
49 Class parabolicCylindricalCS Declaration
50 \*---------------------------------------------------------------------------*/
52 class parabolicCylindricalCS
54 public coordinateSystem
59 // Protected Member Functions
61 //- Convert from local coordinate system to the global Cartesian system
62 // with optional translation for the origin
63 virtual vector localToGlobal(const vector&, bool translate) const;
65 //- Convert from local coordinate system to the global Cartesian system
66 // with optional translation for the origin
67 virtual tmp<vectorField> localToGlobal
73 //- Convert from global Cartesian system to the local coordinate system
74 // with optional translation for the origin
75 virtual vector globalToLocal(const vector&, bool translate) const;
77 //- Convert from global Cartesian system to the local coordinate system
78 // with optional translation for the origin
79 virtual tmp<vectorField> globalToLocal
87 //- Runtime type information
88 TypeName("parabolicCylindrical");
94 parabolicCylindricalCS();
96 //- Construct from components
97 parabolicCylindricalCS
102 const vector& direction
105 //- Construct from origin and rotation angles
106 parabolicCylindricalCS
110 const coordinateRotation& cr
113 //- Construct from dictionary
114 parabolicCylindricalCS
117 const dictionary& dict
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 } // End namespace Foam
130 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134 // ************************************************************************* //