domainfunction.h

Go to the documentation of this file.
00001 #ifndef __DomainFunction_h
00002 #define __DomainFunction_h
00003 
00004 #include "application.h"
00005 #include "vertex.h"
00006 
00007 namespace Gascoigne
00008 {
00009 
00010 /**********************************************************/
00011 
00012 class DomainFunction : public Application
00013 {
00014   protected:
00015 
00016   public:
00017     DomainFunction() { }
00018     virtual ~DomainFunction() { }
00019 
00020     virtual int GetNcomp() const=0;
00021   
00022     virtual void F(DoubleVector& f, const Vertex2d &v) const
00023     {
00024       std::cerr << "DomainFunction::F not written\n";
00025       abort();
00026     }
00027     virtual void F(DoubleVector& f, const Vertex3d &v) const
00028     {
00029       std::cerr << "DomainFunction::F not written\n";
00030       abort(); 
00031     }
00032 };
00033 
00034 /**********************************************************/
00035 }
00036 
00037 #endif

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