weighteddiracrighthandside.h

Go to the documentation of this file.
00001 #ifndef __WeightedDiracRightHandSide_h
00002 #define __WeightedDiracRightHandSide_h
00003 
00004 #include "diracrighthandside.h"
00005 #include "weightedpointfunctional.h"
00006 
00007 /**********************************************************/
00008 namespace Gascoigne
00009 {
00010 class WeightedDiracRightHandSide : public DiracRightHandSide
00011 {
00012   protected:
00013   std::vector<double> _weights;
00014 
00015   public:
00016     WeightedDiracRightHandSide() : DiracRightHandSide() { }
00017     ~WeightedDiracRightHandSide() { }
00018 
00019     void BasicInit(const WeightedPointFunctional* WPF);
00020      
00021     double operator()(int i, const Vertex2d& v) const;
00022     double operator()(int i, const Vertex3d& v) const; 
00023     std::string GetName() const { return "WeightedDiracRightHandSide"; }
00024 };
00025 }
00026 /**********************************************************/
00027 
00028 #endif

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