00001 #ifndef USTAR_H
00002 #define USTAR_H
00003
00009 #include <iostream>
00010 #include <string>
00011 #include <cmath>
00012 #include "boundaryCond.h"
00013 #include "ghostPoint.h"
00014 using namespace std;
00015
00016 #ifdef SINGLE
00017 #define real float
00018 #else
00019 #define real double
00020 #endif
00021
00027 class uStar {
00028
00029 public:
00033 uStar();
00034
00040 void initialize(int numberOfPatches,
00041 real t,
00042 real dt,
00043 real ReynoldsNumber,
00044 int cellNumberPerPatch,
00045 int ** StartIndex,
00046 int ** pointNumberMeshU,
00047 int ** pointNumberMeshV,
00048 int ** pointNumberMeshW,
00049 int dimension,
00050 real ***xU,
00051 real ***xV,
00052 real ***xW,
00053 real *h,
00054 real ****u,
00055 real ****uIter,
00056 int ****uCagePoint,
00057 real ****v,
00058 real ****vIter,
00059 int ****vCagePoint,
00060 real ****w,
00061 real ****wIter,
00062 int ****wCagePoint,
00063 real ****uAux,
00064 real ****vAux,
00065 real ****wAux
00066 );
00067
00071 ~uStar();
00072
00073 private:
00074
00075
00076 int nPatch;
00077 int nMeshes;
00078
00079 int nCellPerPatch;
00080
00081 int dim;
00082
00083 real Re;
00084
00085
00086
00087 int i, j, k;
00088
00089
00090
00091 int m;
00092
00093
00094
00095 };
00096
00097 #endif