MOAB: Mesh Oriented datABase  (version 5.4.1)
NCHelperEuler.hpp
Go to the documentation of this file.
00001 //-------------------------------------------------------------------------
00002 // Filename      : NCHelperEuler.hpp
00003 //
00004 // Purpose       : Climate NC file helper for Eulerian Spectral grid
00005 //
00006 // Creator       : Danqing Wu
00007 //-------------------------------------------------------------------------
00008 
00009 #ifndef NCHELPEREULER_HPP
00010 #define NCHELPEREULER_HPP
00011 
00012 #include "NCHelper.hpp"
00013 
00014 #ifdef WIN32
00015 #ifdef size_t
00016 #undef size_t
00017 #endif
00018 #endif
00019 
00020 namespace moab
00021 {
00022 
00023 //! Child helper class for Eulerian Spectral grid (CAM_EUL)
00024 class NCHelperEuler : public ScdNCHelper
00025 {
00026   public:
00027     NCHelperEuler( ReadNC* readNC, int fileId, const FileOptions& opts, EntityHandle fileSet )
00028         : ScdNCHelper( readNC, fileId, opts, fileSet )
00029     {
00030     }
00031 
00032     static bool can_read_file( ReadNC* readNC, int fileId );
00033 
00034   private:
00035     virtual ErrorCode init_mesh_vals();
00036     virtual std::string get_mesh_type_name()
00037     {
00038         return "CAM_EUL";
00039     }
00040 };
00041 
00042 }  // namespace moab
00043 
00044 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines