edgeinfo.h

Go to the documentation of this file.
00001 #ifndef __EdgeInfo_h
00002 #define __EdgeInfo_h
00003 
00004 #include "edge.h"
00005 #include "gascoigne.h"
00006 
00007 /**********************************************************/
00008 
00009 namespace Gascoigne
00010 {
00011 template<int DIM>
00012 class EdgeInfo
00013 {
00014  protected:
00015 
00016   int                    _count;
00017   fixarray<2*DIM-2,int>  _vertex;
00018   LocalVector _u;
00019   const Edge*            _edge;
00020 
00021  public:
00022 
00023   EdgeInfo<DIM>() {}
00024   ~EdgeInfo<DIM>() {}
00025 
00026   void BasicInit(const Edge*, int, const fixarray<2*DIM-2,int>&);
00027   void AddNodes(const LocalVector&);
00028 
00029   const fixarray<2*DIM-2,int>&  GetVertex() const { return _vertex; }
00030   const LocalVector& GetValue()  const { return _u; }
00031   const Edge&                   GetEdge()   const { return *_edge; }
00032   int                           GetCount()  const { return _count; }
00033   fixarray<2*DIM-2,double>      GetNorm()   const;
00034 
00035   void ShowStatistics() const;
00036 };
00037 }
00038 
00039 /**********************************************************/
00040 
00041 #endif

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