00001 #ifndef IDENTITYCELLREORDERER_H 00002 #define IDENTITYCELLREORDERER_H 00003 00004 #include "SundanceDefs.h" 00005 #include "CellReordererBase.h" 00006 00007 namespace Sundance 00008 { 00009 00010 using namespace TSF; 00011 using std::string; 00012 00013 using std::ostream; 00014 00015 /** \ingroup LowLevelGeometry 00016 Reorder cells with an identity map, that is, do nothing. 00017 */ 00018 00019 00020 class IdentityCellReorderer : public CellReordererBase 00021 { 00022 public: 00023 IdentityCellReorderer() : CellReordererBase() {;} 00024 virtual ~IdentityCellReorderer() {;} 00025 00026 virtual void permute(const TSFArray<TSFNonDupArray<int> >& neighbors, 00027 TSFArray<int>& permutation) const ; 00028 00029 private: 00030 }; 00031 00032 } 00033 #endif 00034 00035 00036 00037 00038