Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
NCWriteGCRM.hpp
Go to the documentation of this file.
1 /*
2  * NCWriteGCRM.hpp
3  *
4  * nc write helper for GCRM type data (CAM)
5  * Created on: April 9, 2014
6  *
7  */
8 
9 #ifndef NCWRITEGCRM_HPP_
10 #define NCWRITEGCRM_HPP_
11 
12 #include "NCWriteHelper.hpp"
13 
14 namespace moab
15 {
16 
18 {
19  public:
20  NCWriteGCRM( WriteNC* writeNC, int fileId, const FileOptions& opts, EntityHandle fileSet )
21  : UcdNCWriteHelper( writeNC, fileId, opts, fileSet )
22  {
23  }
24 
25  virtual ~NCWriteGCRM();
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