1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//-------------------------------------------------------------------------
// Filename      : NCHelperFV.hpp
//
// Purpose       : Climate NC file helper for Domain grid

//-----------------------
#ifndef NCHELPERDOMAIN_HPP
#define NCHELPERDOMAIN_HPP

#include "NCHelper.hpp"

namespace moab
{

//! Child helper class for Domain grid
class NCHelperDomain : public ScdNCHelper
{
  public:
    NCHelperDomain( ReadNC* readNC, int fileId, const FileOptions& opts, EntityHandle fileSet )<--- Member variable 'NCHelperDomain::nv' is not initialized in the constructor.<--- Member variable 'NCHelperDomain::nvDim' is not initialized in the constructor.<--- Member variable 'NCHelperDomain::nv' is not initialized in the constructor.<--- Member variable 'NCHelperDomain::nvDim' is not initialized in the constructor.
        : ScdNCHelper( readNC, fileId, opts, fileSet )
    {
    }
    static bool can_read_file( ReadNC* readNC, int fileId );

    ErrorCode create_mesh( Range& faces );<--- Function in derived class<--- Function in derived class

  private:
    virtual ErrorCode init_mesh_vals();<--- Function in derived class<--- Function in derived class
    virtual std::string get_mesh_type_name()<--- Function in derived class<--- Function in derived class
    {
        return "DOMAIN";
    }

    int nv;     // number of vertices per cell
    int nvDim;  // index of nv dim
};

#endif /* NCHELPERDOMAIN_HPP */
}  // namespace moab