dwrq1q2.h

Go to the documentation of this file.
00001 #ifndef __DwrQ1Q2_h
00002 
00003 #include "solverinterface.h"
00004 
00005 /*-------------------------------------------------------*/
00006 
00007 namespace Gascoigne
00008 {
00009 class DwrQ1Q2
00010 {
00011  protected:
00012 
00013   SolverInterface& S;
00014   const ProblemDescriptorInterface* primalproblem;
00015   DiscretizationInterface*         discretization;
00016 
00017   virtual DiscretizationInterface* CreateOtherDiscretization() const;
00018 
00019   double ScalarProduct(nvector<double>& eta, const GlobalVector& f, 
00020                        const GlobalVector& z) const;
00021 
00022   double ScalarProduct(nvector<double>& eta, const VectorInterface& gf, 
00023                        const VectorInterface& gz) const;
00024   double ScalarProductWithFluctuations(nvector<double>& eta, 
00025                                        const VectorInterface& gf, 
00026                                        const VectorInterface& gz) const;
00027 
00028   void PrimalResidualsHigher(VectorInterface& gf, 
00029                              const VectorInterface& gu);
00030 
00031   void DualResidualsHigher(VectorInterface& gf, const VectorInterface& gu, 
00032                            const VectorInterface& gz, 
00033                            const ProblemDescriptorInterface& PDI);
00034 
00035  public:
00036 
00037   DwrQ1Q2(SolverInterface& SR);
00038   virtual ~DwrQ1Q2() {};
00039 
00040   double Estimator(nvector<double>& eta, VectorInterface& gf, 
00041                    const VectorInterface& gu, const VectorInterface& gz,
00042                    const ProblemDescriptorInterface& PDI);
00043 };
00044 }
00045 /*-------------------------------------------------------*/
00046 
00047 #endif

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