dirichletdata.h

Go to the documentation of this file.
00001 #ifndef  __dirichletdata_h
00002 #define  __dirichletdata_h
00003 
00004 #include  "vertex.h"
00005 #include  <set>
00006 #include  "nvector.h"
00007 #include  <string>
00008 #include  "application.h"
00009 
00010 
00011 /*-----------------------------------------*/
00012 
00013 namespace Gascoigne
00014 {
00015 
00020 
00026 
00027   class DirichletData : public virtual Application
00028   {
00029     private:
00030 
00031     protected:
00032 
00033     public:
00034       DirichletData() : Application() {}
00035       virtual ~DirichletData() {}
00036 
00037       virtual void operator()(DoubleVector& b, const Vertex2d& v, int col) const {
00038         std::cerr << "\"DirichletData::operator()\" not written!" << std::endl;
00039         abort();
00040       }
00041 
00042       virtual void operator()(DoubleVector& b, const Vertex3d& v, int col) const {
00043         std::cerr << "\"DirichletData::operator()\" not written!" << std::endl;
00044         abort();
00045       }
00046 
00047       virtual std::set<int> preferred_colors()const {
00048         return std::set<int>();
00049       }
00050   };
00051 }
00052 
00053 #endif

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