mginterpolatormatrix.h

Go to the documentation of this file.
00001 #ifndef  __MgInterpolatorMatrix_h
00002 #define  __MgInterpolatorMatrix_h
00003 
00004 #include  "mginterpolatorinterface.h"
00005 #include  "columnstencil.h"
00006 #include  "gascoigne.h"
00007 
00008 
00009 /*-----------------------------------------*/
00010 
00011 
00012 namespace Gascoigne
00013 {
00014 class MgInterpolatorMatrix : public virtual MgInterpolatorInterface
00015 {
00016 private:
00017 
00018   ColumnStencil  ST;
00019   DoubleVector      val;
00020 
00021 public:
00022 
00023 
00024   MgInterpolatorMatrix() : MgInterpolatorInterface() {}
00025 
00026   ColumnStencil& GetStencil() {return  ST;}
00027   const ColumnStencil& GetStencil() const {return  ST;}
00028 
00029   DoubleVector& GetAlpha() {return val;}
00030   double Alpha(int pos) const {return val[pos];}
00031 
00032   void restrict_zero   (GlobalVector& uL, const GlobalVector& ul) const;
00033   void prolongate_add  (GlobalVector& ul, const GlobalVector& uL) const;
00034   void SolutionTransfer(GlobalVector& uL, const GlobalVector& ul) const;
00035 
00036 };
00037 }
00038 
00039 #endif

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