visudatanvector.h

Go to the documentation of this file.
00001 #ifndef  __VisuDataNVector_h
00002 #define  __VisuDataNVector_h
00003 
00004 #include  "visudata.h"
00005 #include  "nvector.h"
00006 
00007 /*-----------------------------------------*/
00008 
00009 namespace Gascoigne
00010 {
00011 class VisuDataNVector : public VisuData
00012 {
00013 protected:
00014 
00015   const DoubleVector* vp;
00016 
00017 public:
00018 
00019 
00020   VisuDataNVector(const DoubleVector& v) : vp(&v) {} 
00021 
00022   int    visucomp()     const {return 1;}
00023   int    visun()        const {return vp->size();}
00024   double visudata(int i,int c) const { return (*vp)[i];}
00025 
00026 };
00027 }
00028 
00029 #endif

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