componentsparsestructureadaptor.h

Go to the documentation of this file.
00001 #ifndef  __ComponentSparseStructureAdaptor_h
00002 #define  __ComponentSparseStructureAdaptor_h
00003 
00004 #include  "nodesparsestructureadaptor.h"
00005 
00006 
00007 namespace Gascoigne
00008 {
00009 
00014 
00018 
00019 class ComponentSparseStructureAdaptor : public NodeSparseStructureAdaptor
00020 {
00021 public:
00022 
00023 
00024 private:
00025 
00026 
00027 protected:
00028 
00029 
00030 public:
00031 
00032 
00033   ComponentSparseStructureAdaptor(int ncomp) : NodeSparseStructureAdaptor(ncomp) {}
00034 
00035   int index(int i, int c) const {return i+c*n_base();}
00036 
00037   std::string GetName() const {return "Component";}
00038 
00039 };
00040 }
00041 
00042 #endif

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