glsintegrator.h

Go to the documentation of this file.
00001 #ifndef  __GlsIntegrator_h
00002 #define  __GlsIntegrator_h
00003 
00004 
00005 #include  "basicintegrator.h"
00006 #include  "integrationformula.h"
00007 
00008 /*-----------------------------------------*/
00009 
00010 namespace Gascoigne
00011 {
00012 
00017 
00021 
00022 template<int DIM>
00023 class GlsIntegrator : public BasicIntegrator
00024 {
00025 private:
00026 
00027 protected:
00028 
00029   IntegrationFormulaInterface* IF;
00030 
00031   const IntegrationFormulaInterface& FormFormula() const { return *IF;}
00032   double Volume2MeshSize(double vol) const { return pow(vol,1./float(DIM));}
00033 
00034  public:
00035 
00036 
00037   GlsIntegrator<DIM>();
00038   ~GlsIntegrator<DIM>() {}
00039 
00040   std::string GetName() const {return "Gls";}
00041 
00042   void Rhs(const DomainRightHandSide& RHS, LocalVector& F, const FemInterface& FEM, const LocalData& Q, 
00043       const LocalData& QC) const {};
00044   void Form(const Equation& EQ, LocalVector& F, const FemInterface& FEM, const LocalVector&U, const LocalData& Q, 
00045       const LocalData& QC) const;
00046   void Matrix(const Equation& EQ, EntryMatrix& E, const FemInterface& FEM, const LocalVector& U, const LocalData& Q, 
00047       const LocalData& QC) const;
00048 };
00049 }
00050 
00051 /*-----------------------------------------*/
00052 
00053 
00054 #endif

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