domainfunctional.h

Go to the documentation of this file.
00001 #ifndef  __DomainFunctional_h
00002 #define  __DomainFunctional_h
00003 
00004 
00005 #include  "functional.h"
00006 #include  "gascoigne.h"
00007 #include  "vertex.h"
00008 
00009 namespace Gascoigne
00010 {
00011   
00016 
00020 
00021   class DomainFunctional : public virtual Functional
00022   {
00023     private:
00024 
00025     protected:
00026 
00027     public:
00028       DomainFunctional() : Functional() {}
00029       virtual ~DomainFunctional() {}
00030 
00031       virtual double J(const FemFunction& U, const Vertex2d& v) const {
00032         std::cerr << "\"DomainFunctional::J\" not written" << std::endl; 
00033         abort();
00034       }
00035 
00036       virtual double J(const FemFunction& U, const Vertex3d& v) const {
00037         std::cerr << "\"DomainFunctional::J\" not written" << std::endl; 
00038         abort();
00039       }
00040   };
00041 }
00042 
00043 #endif

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