dwrq2q4.h

Go to the documentation of this file.
00001 #ifndef __DwrQ2Q4_h
00002 #define __DwrQ2Q4_h
00003 
00004 #include "solverinterface.h"
00005 
00006 namespace Gascoigne
00007 {
00008 
00009 /**********************************************************/
00010 
00011   class DwrQ2Q4
00012   {
00013     private:
00014       SolverInterface                  &_S;
00015       const ProblemDescriptorInterface *_P;
00016       DiscretizationInterface          *_D;
00017 
00018     protected:
00019       DiscretizationInterface* CreateOtherDiscretization() const;
00020 
00021       double ScalarProduct(DoubleVector &eta, const GlobalVector &f, const GlobalVector &z) const;
00022       double ScalarProduct(DoubleVector &eta, const VectorInterface &gf, const VectorInterface &gz) const;
00023       double ScalarProductWithFluctuations(DoubleVector& eta, const VectorInterface &gf, const VectorInterface &gz) const;
00024 
00025       void PrimalResidualsHigher(VectorInterface &gf, const VectorInterface &gu);
00026 
00027       void DualResidualsHigher(VectorInterface &gf, const VectorInterface &gu, const VectorInterface &gz, const ProblemDescriptorInterface &PDI);
00028 
00029     public:
00030       DwrQ2Q4(SolverInterface &S);
00031       ~DwrQ2Q4() { }
00032 
00033       double Estimator(DoubleVector &eta, VectorInterface &gf, const VectorInterface &gu, const VectorInterface &gz, const ProblemDescriptorInterface &PDI);
00034   };
00035 
00036   /**********************************************************/
00037 
00038 }
00039 
00040 #endif

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