Loading [MathJax]/extensions/tex2jax.js
Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NCHelperEuler.hpp
Go to the documentation of this file.
1 //------------------------------------------------------------------------- 2 // Filename : NCHelperEuler.hpp 3 // 4 // Purpose : Climate NC file helper for Eulerian Spectral grid 5 // 6 // Creator : Danqing Wu 7 //------------------------------------------------------------------------- 8  9 #ifndef NCHELPEREULER_HPP 10 #define NCHELPEREULER_HPP 11  12 #include "NCHelper.hpp" 13  14 #ifdef WIN32 15 #ifdef size_t 16 #undef size_t 17 #endif 18 #endif 19  20 namespace moab 21 { 22  23 //! Child helper class for Eulerian Spectral grid (CAM_EUL) 24 class NCHelperEuler : public ScdNCHelper 25 { 26  public: 27  NCHelperEuler( ReadNC* readNC, int fileId, const FileOptions& opts, EntityHandle fileSet ) 28  : ScdNCHelper( readNC, fileId, opts, fileSet ) 29  { 30  } 31  32  static bool can_read_file( ReadNC* readNC, int fileId ); 33  34  private: 35  virtual ErrorCode init_mesh_vals(); 36  virtual std::string get_mesh_type_name() 37  { 38  return "CAM_EUL"; 39  } 40 }; 41  42 } // namespace moab 43  44 #endif