00001 #ifndef NULLCELLSET_H
00002 #define NULLCELLSET_H
00003
00004 #include "SundanceDefs.h"
00005 #include "CellSetBase.h"
00006
00007
00008 namespace Sundance
00009 {
00010
00011 using namespace TSF;
00012 using std::string;
00013
00014 using std::ostream;
00015
00016
00017
00018
00019
00020
00021 class NullCellSet : public CellSetBase
00022 {
00023 public:
00024
00025 NullCellSet();
00026
00027 virtual ~NullCellSet(){;}
00028
00029
00030 virtual bool contains(const Cell& ) const {return false;}
00031
00032
00033 virtual XMLObject toXML() const ;
00034
00035
00036
00037 virtual int dimension(const Mesh& mesh) const ;
00038
00039
00040 virtual bool equals(const CellSet& ) const {return true;}
00041
00042
00043 virtual bool lessThan(const CellSet& ) const {return false;}
00044 protected:
00045 };
00046
00047
00048
00049 }
00050 #endif