pressurefilter.h

Go to the documentation of this file.
00001 #ifndef  __PressureFilter_h
00002 #define  __PressureFilter_h
00003 
00004 #include "nvector.h"
00005 #include "gascoigne.h"
00006 
00007 /*-----------------------------------------*/
00008 
00009 namespace Gascoigne
00010 {
00011 class PressureFilter : public DoubleVector 
00012 {
00013  protected:
00014 
00015   IntVector component;
00016   double       domainsize;
00017   int          nhanging;
00018 
00019  public:
00020 
00021   PressureFilter() ;
00022   ~PressureFilter();
00023 
00024   void SetComponents(const IntVector& c) { component = c;}
00025   bool Active() const { return component.size()>0;}
00026 
00027   void ReInit(int n, int nhn);
00028 
00029   void AddDomainPiece(double val) { domainsize += val;}
00030 
00031   DoubleVector IntegrateVector(const GlobalVector& u) const;
00032   void SubtractMean(GlobalVector& u) const;
00033   void SubtractMeanAlgebraic(GlobalVector& u) const;
00034 };
00035 }
00036 
00037 /*-----------------------------------------*/
00038 
00039 #endif

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