Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

ElementGroupList.h

Go to the documentation of this file.
00001 // Copyright (C) 2004 Johan Hoffman and Anders Logg.
00002 // Licensed under the GNU GPL Version 2.
00003 
00004 #ifndef __ELEMENT_GROUP_LIST_H
00005 #define __ELEMENT_GROUP_LIST_H
00006 
00007 #include <dolfin/ElementIterator.h>
00008 #include <dolfin/NewArray.h>
00009 
00010 namespace dolfin
00011 {
00012 
00013   class TimeSlab;
00014   class ElementGroup;
00015 
00019 
00020   class ElementGroupList
00021   {
00022   public:
00023 
00025     ElementGroupList(TimeSlab& timeslab);
00026 
00028     ~ElementGroupList();
00029 
00031     unsigned int size() const;
00032 
00034     friend class ElementGroupIterator;
00035     friend class ElementIterator::ElementGroupListElementIterator;
00036 
00037   private:
00038 
00039     NewArray<ElementGroup*>* groups;
00040 
00041   };
00042 
00043 }
00044 
00045 #endif


Documentation automatically generated with Doxygen on 10 Sep 2004.