onedirichletdata.h

Go to the documentation of this file.
00001 #ifndef  __OneDirichletData_h
00002 #define  __OneDirichletData_h
00003 
00004 #include  "dirichletdata.h"
00005 
00006 /*-----------------------------------------*/
00007 
00008 
00009 namespace Gascoigne
00010 {
00011 class OneDirichletData : public DirichletData
00012 {
00013 protected:
00014 
00015 
00016 public:
00017 
00018   OneDirichletData() : DirichletData() {}
00019   std::string GetName() const {return "One";}
00020   void operator()(Vector& b, const Vertex2d& v, int col) const {b.zero(); b[0] = 1.;}
00021 };
00022 }
00023 
00024 #endif

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