energyestimator.h

Go to the documentation of this file.
00001 #ifndef __EnergyEstimator_h
00002 
00003 #include "solverinterface.h"
00004 #include "q1.h"
00005 
00006 /*-------------------------------------------------------*/
00007 
00008 namespace Gascoigne
00009 {
00010 
00011 class EnergyEstimator
00012 {
00013  protected:
00014 
00015   SolverInterface& S;
00016   const ProblemDescriptorInterface* primalproblem;
00017   Q1*                               discretization;
00018   double                            _d_visc;
00019   std::string                       _s_energytype;
00020 
00021  public:
00022 
00023   EnergyEstimator(SolverInterface& SR);
00024   ~EnergyEstimator() {};
00025 
00026   double Estimator(DoubleVector& eta, VectorInterface& gu, 
00027                    const VectorInterface& gf);
00028 };
00029 
00030 /*-------------------------------------------------------*/
00031 
00032 }
00033 #endif

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