Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
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 { 00016 00017 //! Child helper class for Finite Volume grid (CAM_FV) 00018 class NCHelperFV : public ScdNCHelper 00019 { 00020 public: 00021 NCHelperFV( ReadNC* readNC, int fileId, const FileOptions& opts, EntityHandle fileSet ) 00022 : ScdNCHelper( readNC, fileId, opts, fileSet ) 00023 { 00024 } 00025 static bool can_read_file( ReadNC* readNC, int fileId ); 00026 00027 private: 00028 virtual ErrorCode init_mesh_vals(); 00029 virtual std::string get_mesh_type_name() 00030 { 00031 return "CAM_FV"; 00032 } 00033 }; 00034 00035 } // namespace moab 00036 00037 #endif