MeshKit
1.0
|
00001 #ifndef MESHKIT_NO_OP_HPP 00002 #define MESHKIT_NO_OP_HPP 00003 00004 #include "meshkit/MeshOp.hpp" 00005 00006 namespace MeshKit { 00007 00010 class NoOp : public MeshOp 00011 { 00012 public: 00013 NoOp( MKCore* core ) : MeshOp( core ) {} 00014 void setup_this() { } 00015 void execute_this() { } 00016 virtual const moab::EntityType* mesh_types_arr() const 00017 { 00018 static moab::EntityType e = moab::MBMAXTYPE; 00019 return &e; 00020 } 00021 private: 00023 NoOp( const NoOp& ); 00024 void operator=( const NoOp& ); 00025 }; 00026 00027 00028 00029 } // namespace MeshKit 00030 00031 #endif // MESHKIT_NO_OP_HPP