navierstokesgls2d.h

Go to the documentation of this file.
00001 #ifndef  __NavierStokesGls2d_h
00002 #define  __NavierStokesGls2d_h
00003 
00004 #include  "glsequation.h"
00005 #include  "navierstokes2d.h"
00006 #include  "glsstabilization.h"
00007 
00008 /*-----------------------------------------*/
00009 
00010 namespace Gascoigne
00011 {
00012 class NavierStokesGls2d : public NavierStokes2d, public virtual GlsEquation
00013 {
00014 protected:
00015 
00016   mutable GlsStabilization ST;
00017 
00018 public:
00019 
00020   ~NavierStokesGls2d();
00021   NavierStokesGls2d();
00022   NavierStokesGls2d(const ParamFile* pf);
00023 
00024   std::string GetName() const { return "NavierStokesGls2d";}
00025 
00026   void SetTime(double time, double dt) const {Application::SetTime(time,dt); ST.DeltaT() = dt;}
00027   //
00029   //
00030   void glspoint(double h, const FemFunction& U, const Vertex2d& v) const;
00031 
00032   //
00034   //
00035   void L(DoubleVector& dst, const FemFunction& U) const;
00036   void S(nmatrix<double>& dst, const FemFunction& U, const TestFunction& N) const;
00037 
00038   void LMatrix(nmatrix<double>& dst, const FemFunction& U, const TestFunction& N) const;
00039 
00040   void SMatrix(DoubleVector& dst, const FemFunction& U, const FemFunction& M, const FemFunction& N) const;
00041 };
00042 }
00043 
00044 #endif

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