laplace2d.h

Go to the documentation of this file.
00001 #ifndef  __Laplace2d_h
00002 #define  __Laplace2d_h
00003 
00004 #include  "equation.h"
00005 #include  "paramfile.h"
00006 
00007 /*-----------------------------------------*/
00008 
00009 namespace Gascoigne
00010 {
00011 class Laplace2d : public virtual Equation
00012 {
00013   protected:
00014   
00015   mutable double visc;
00016   
00017   public:
00018 
00019   Laplace2d();
00020   Laplace2d(const ParamFile* pf);
00021 
00022   std::string GetName()  const { return "Laplace2d";}
00023 
00024   int         GetNcomp() const {return 1;}
00025 
00026   void OperatorStrong(DoubleVector& b, const FemFunction& U) const;
00027   void SetTimePattern(TimePattern& P) const;
00028   void Form(VectorIterator b, const FemFunction& U, const TestFunction& N) const;
00029   void Matrix(EntryMatrix& A, const FemFunction& U, const TestFunction& M, const TestFunction& N) const;
00030 };
00031 }
00032 
00033 #endif

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