boundaryfunctional.h

Go to the documentation of this file.
00001 #ifndef  __BoundaryFunctional_h
00002 #define  __BoundaryFunctional_h
00003 
00004 #include  <set>
00005 #include  "functional.h"
00006 #include  "vertex.h"
00007 
00008 /*-----------------------------------------*/
00009 
00010 
00011 namespace Gascoigne
00012 {
00013   class BoundaryFunctional : public virtual Functional
00014   {
00015     private:
00016 
00017     protected:
00018 
00019     public:
00020       BoundaryFunctional() : Functional() {}
00021       virtual ~BoundaryFunctional() {};
00022 
00023       virtual double J(const FemFunction& U, const Vertex2d& v, const Vertex2d& n, int color) const {
00024         std::cerr << "\"BoundaryFunctional::J\" for 2d not written!" << std::endl;
00025         abort();
00026       }
00027       virtual double J(const FemFunction& U, const Vertex3d& v, const Vertex3d& n, int color) const {
00028         std::cerr << "\"BoundaryFunctional::J\" for 3d not written!" << std::endl;
00029         abort();
00030       }
00031   };
00032 }
00033 
00034 #endif

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