00001 #ifndef VORTICITY_H
00002 #define VORTICITY_H
00003
00011 #include <iostream>
00012 #include <string>
00013 using namespace std;
00014
00015 #ifdef SINGLE
00016 #define real float
00017 #else
00018 #define real double
00019 #endif
00020
00021
00029 class vorticity {
00030
00031 public:
00035 vorticity();
00036
00042 void calOmegaFromUVW(int numberOfPatches,
00043 int ** pointNumberMeshOmegaX,
00044 int ** pointNumberMeshOmegaY,
00045 int ** pointNumberMeshOmegaZ,
00046 real *h,
00047 real ****u,
00048 real ****v,
00049 real ****w,
00050 real ****omegaX,
00051 real ****omegaY,
00052 real ****omegaZ
00053 );
00054
00058 ~vorticity();
00059
00060 private:
00061
00062 int nPatch;
00063
00064
00065
00066
00067 int i, j, k;
00068
00069
00070
00071 int m;
00072
00073
00074
00075 };
00076
00077 #endif