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