stokesgls2d.h

Go to the documentation of this file.
00001 #ifndef  __StokesGls2d_h
00002 #define  __StokesGls2d_h
00003 
00004 #include  "stokes2d.h"
00005 #include  "glsequation.h"
00006 #include  "stabilization.h"
00007 
00008 /*-----------------------------------------*/
00009 
00010 namespace Gascoigne
00011 {
00012 class StokesGls2d : public Stokes2d, public virtual GlsEquation
00013 {
00014 protected:
00015 
00016   mutable Stabilization ST;
00017 
00018 public:
00019 
00020   ~StokesGls2d();
00021   StokesGls2d();
00022   StokesGls2d(const ParamFile* pf);
00023 
00024   std::string GetName() const { return "StokesGls2d";}
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   //
00033   //
00034   void L(DoubleVector& dst, const FemFunction& U) const;
00035   void S(nmatrix<double>& dst, const FemFunction& U, const TestFunction& N) const;
00036 
00037   void LMatrix(nmatrix<double>& dst, const FemFunction& U, const TestFunction& N) const;
00038 };
00039 }
00040 
00041 #endif

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