MOAB: Mesh Oriented datABase
(version 5.4.1)
|
00001 /* 00002 * NCWriteHOMME.hpp 00003 * 00004 * nc write helper for HOMME type data (CAM) 00005 * Created on: April 9, 2014 00006 * 00007 */ 00008 00009 #ifndef NCWRITEHOMME_HPP_ 00010 #define NCWRITEHOMME_HPP_ 00011 00012 #include "NCWriteHelper.hpp" 00013 00014 namespace moab 00015 { 00016 00017 class NCWriteHOMME : public UcdNCWriteHelper 00018 { 00019 public: 00020 NCWriteHOMME( WriteNC* writeNC, int fileId, const FileOptions& opts, EntityHandle fileSet ) 00021 : UcdNCWriteHelper( writeNC, fileId, opts, fileSet ) 00022 { 00023 } 00024 00025 virtual ~NCWriteHOMME(); 00026 00027 private: 00028 //! Implementation of NCWriteHelper::collect_mesh_info() 00029 virtual ErrorCode collect_mesh_info(); 00030 00031 //! Collect data for specified variables 00032 virtual ErrorCode collect_variable_data( std::vector< std::string >& var_names, std::vector< int >& tstep_nums ); 00033 00034 //! Implementation of NCWriteHelper::write_nonset_variables() 00035 virtual ErrorCode write_nonset_variables( std::vector< WriteNC::VarData >& vdatas, std::vector< int >& tstep_nums ); 00036 }; 00037 00038 } // namespace moab 00039 00040 #endif