pi.h

Go to the documentation of this file.
00001 #ifndef  __Pi_h
00002 #define  __Pi_h
00003 
00004 #include  <map>
00005 #include  "fixarray.h"
00006 #include  "compvector.h"
00007 #include  "gascoignemesh2d.h"
00008 #include  "gascoignemesh3d.h"
00009 
00010 namespace Gascoigne
00011 {
00012 /*-----------------------------------------*/
00013 
00014 class Pi
00015 {
00016  protected:
00017   
00018   std::map<int,fixarray<2,int> > edge;
00019   std::map<int,fixarray<4,int> > face;
00020   std::map<int,fixarray<8,int> > cell;
00021 
00022   void Init2d(const GascoigneMesh2d* MP);
00023   void Init3d(const GascoigneMesh3d* MP);
00024   
00025  public:
00026   
00027   Pi();
00028 
00029   void Init(const MeshInterface* MP);
00030 
00031   void vmult(CompVector<double>& y, const CompVector<double>& x, 
00032              double s=1.) const;
00033 };
00034 }
00035 
00036 #endif

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