boundaryequation.h

Go to the documentation of this file.
00001 #ifndef __BoundaryEquation_h
00002 #define __BoundaryEquation_h
00003 
00004 #include "application.h"
00005 #include "vertex.h"
00006 #include "entrymatrix.h"
00007 
00008 namespace Gascoigne
00009 {
00010 
00011 /**********************************************************/
00012 
00013   class BoundaryEquation : public virtual Application
00014   {
00015     private:
00016 
00017     protected:
00018 
00019     public:
00020       BoundaryEquation() : Application() { }
00021       ~BoundaryEquation() { }
00022 
00023       virtual int GetNcomp() const=0;
00024 
00025       virtual void Form(VectorIterator b, const FemFunction& U, const TestFunction& N, int col) const=0;
00026       virtual void Matrix(EntryMatrix& E, const FemFunction& U, const TestFunction& M, const TestFunction& N, int col) const=0;
00027 
00028       virtual void pointboundary(double h, const FemFunction& U, const Vertex2d& v, const Vertex2d& n) const {}
00029       virtual void pointboundary(double h, const FemFunction& U, const Vertex3d& v, const Vertex3d& n) const {}
00030       virtual void pointmatrixboundary(double h, const FemFunction& U, const Vertex2d& v, 
00031          const Vertex2d& n) const {
00032         pointboundary(h,U,v,n);
00033       }
00034       virtual void pointmatrixboundary(double h, const FemFunction& U, const Vertex3d& v, 
00035          const Vertex3d& n) const {
00036         pointboundary(h,U,v,n);
00037       }
00038   };
00039 
00040 /**********************************************************/
00041 
00042 }
00043 
00044 #endif

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