|
|
|
parabolicCylindricalCS.HGo to the documentation of this file.00001 /*---------------------------------------------------------------------------*\ 00002 ========= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. 00006 \\/ M anipulation | 00007 ------------------------------------------------------------------------------- 00008 License 00009 This file is part of OpenFOAM. 00010 00011 OpenFOAM is free software; you can redistribute it and/or modify it 00012 under the terms of the GNU General Public License as published by the 00013 Free Software Foundation; either version 2 of the License, or (at your 00014 option) any later version. 00015 00016 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT 00017 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00018 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00019 for more details. 00020 00021 You should have received a copy of the GNU General Public License 00022 along with OpenFOAM; if not, write to the Free Software Foundation, 00023 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00024 00025 Class 00026 Foam::parabolicCylindricalCS 00027 00028 Description 00029 Parabolic cylindrical coordinate system. 00030 00031 Notation: u = a.x() v = a.y() z = a.z(); 00032 00033 Note 00034 The maintenance of this class may lag that of the main types. 00035 00036 SourceFiles 00037 parabolicCylindricalCS.C 00038 00039 \*---------------------------------------------------------------------------*/ 00040 00041 #ifndef parabolicCylindricalCS_H 00042 #define parabolicCylindricalCS_H 00043 00044 #include "coordinateSystem.H" 00045 00046 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00047 00048 namespace Foam 00049 { 00050 00051 /*---------------------------------------------------------------------------*\ 00052 Class parabolicCylindricalCS Declaration 00053 \*---------------------------------------------------------------------------*/ 00054 00055 class parabolicCylindricalCS 00056 : 00057 public coordinateSystem 00058 { 00059 00060 protected: 00061 00062 // Protected Member Functions 00063 00064 //- Convert from local coordinate system to the global Cartesian system 00065 // with optional translation for the origin 00066 virtual vector localToGlobal(const vector&, bool translate) const; 00067 00068 //- Convert from local coordinate system to the global Cartesian system 00069 // with optional translation for the origin 00070 virtual tmp<vectorField> localToGlobal 00071 ( 00072 const vectorField&, 00073 bool translate 00074 ) const; 00075 00076 //- Convert from global Cartesian system to the local coordinate system 00077 // with optional translation for the origin 00078 virtual vector globalToLocal(const vector&, bool translate) const; 00079 00080 //- Convert from global Cartesian system to the local coordinate system 00081 // with optional translation for the origin 00082 virtual tmp<vectorField> globalToLocal 00083 ( 00084 const vectorField&, 00085 bool translate 00086 ) const; 00087 00088 public: 00089 00090 //- Runtime type information 00091 TypeName("parabolicCylindrical"); 00092 00093 00094 // Constructors 00095 00096 //- Construct null 00097 parabolicCylindricalCS(); 00098 00099 //- Construct from origin and rotation 00100 parabolicCylindricalCS 00101 ( 00102 const word& name, 00103 const point& origin, 00104 const coordinateRotation& 00105 ); 00106 00107 //- Construct from dictionary 00108 parabolicCylindricalCS(const word&, const dictionary&); 00109 00110 }; 00111 00112 00113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00114 00115 } // End namespace Foam 00116 00117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00118 00119 #endif 00120 00121 // ************************************************************************* // |