MOAB: Mesh Oriented datABase
(version 5.4.1)
|
00001 /* 00002 * NCWriteGCRM.hpp 00003 * 00004 * nc write helper for GCRM type data (CAM) 00005 * Created on: April 9, 2014 00006 * 00007 */ 00008 00009 #ifndef NCWRITEGCRM_HPP_ 00010 #define NCWRITEGCRM_HPP_ 00011 00012 #include "NCWriteHelper.hpp" 00013 00014 namespace moab 00015 { 00016 00017 class NCWriteGCRM : public UcdNCWriteHelper 00018 { 00019 public: 00020 NCWriteGCRM( WriteNC* writeNC, int fileId, const FileOptions& opts, EntityHandle fileSet ) 00021 : UcdNCWriteHelper( writeNC, fileId, opts, fileSet ) 00022 { 00023 } 00024 00025 virtual ~NCWriteGCRM(); 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