glsstabilization.h

Go to the documentation of this file.
00001 #ifndef __GlsStabilization_h
00002 #define __GlsStabilization_h
00003 
00004 #include  "stabilization.h"
00005 #include  "gascoigne.h"
00006 
00007 /*-------------------------------------------*/
00008 
00009 namespace Gascoigne
00010 {
00011 class GlsStabilization : public Stabilization
00012 {
00013  protected:
00014 
00015   double _delta, _tau;
00016   DoubleVector _sdelta;
00017 
00018   void NavierStokes(double h, double visc);
00019 
00020  public:
00021 
00022   GlsStabilization();
00023 
00024   double delta0, tau0, sdelta0;
00025 
00026   double  delta()      const { return _delta;}
00027   double& delta()            { return _delta;}
00028   double  delta(int i) const { return _sdelta[i];}
00029   double  tau()        const { return _tau;}
00030   void ReInit(double h, double visc, double u, double v)
00031     {
00032       norm(u,v);
00033       NavierStokes(h,visc);
00034     };
00035   void ReInit(double h, double visc, double u, double v, double w)
00036     {
00037       norm(u,v,w);
00038       NavierStokes(h,visc);
00039     };
00040   void ConvectionDiffusion(double visc);
00041 };
00042 }
00043 
00044 #endif

Generated on Thu Sep 14 10:34:38 2006 for Gascoigne by  doxygen 1.4.7