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
NCWriteHOMME.hpp
Go to the documentation of this file.
1 /* 2  * NCWriteHOMME.hpp 3  * 4  * nc write helper for HOMME type data (CAM) 5  * Created on: April 9, 2014 6  * 7  */ 8  9 #ifndef NCWRITEHOMME_HPP_ 10 #define NCWRITEHOMME_HPP_ 11  12 #include "NCWriteHelper.hpp" 13  14 namespace moab 15 { 16  17 class NCWriteHOMME : public UcdNCWriteHelper 18 { 19  public: 20  NCWriteHOMME( WriteNC* writeNC, int fileId, const FileOptions& opts, EntityHandle fileSet ) 21  : UcdNCWriteHelper( writeNC, fileId, opts, fileSet ) 22  { 23  } 24  25  virtual ~NCWriteHOMME(); 26  27  private: 28  //! Implementation of NCWriteHelper::collect_mesh_info() 29  virtual ErrorCode collect_mesh_info(); 30  31  //! Collect data for specified variables 32  virtual ErrorCode collect_variable_data( std::vector< std::string >& var_names, std::vector< int >& tstep_nums ); 33  34  //! Implementation of NCWriteHelper::write_nonset_variables() 35  virtual ErrorCode write_nonset_variables( std::vector< WriteNC::VarData >& vdatas, std::vector< int >& tstep_nums ); 36 }; 37  38 } // namespace moab 39  40 #endif