moab
|
00001 //------------------------------------------------------------------------- 00002 // Filename : NCHelperFV.hpp 00003 // 00004 // Purpose : Climate NC file helper for Finite Volume grid 00005 // 00006 // Creator : Danqing Wu 00007 //------------------------------------------------------------------------- 00008 00009 #ifndef NCHELPERFV_HPP 00010 #define NCHELPERFV_HPP 00011 00012 #include "NCHelper.hpp" 00013 00014 namespace moab { 00015 00017 class NCHelperFV : public ScdNCHelper 00018 { 00019 public: 00020 NCHelperFV(ReadNC* readNC, int fileId, const FileOptions& opts, EntityHandle fileSet) 00021 : ScdNCHelper(readNC, fileId, opts, fileSet) {} 00022 static bool can_read_file(ReadNC* readNC, int fileId); 00023 00024 private: 00025 virtual ErrorCode init_mesh_vals(); 00026 virtual std::string get_mesh_type_name() { return "CAM_FV"; } 00027 }; 00028 00029 } // namespace moab 00030 00031 #endif