IOSS  2.0
Iodw_Utils.h
Go to the documentation of this file.
1 // Copyright(C) 1999-2020 National Technology & Engineering Solutions
2 // of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 // NTESS, the U.S. Government retains certain rights in this software.
4 //
5 // See packages/seacas/LICENSE for details
6 
7 #include <Ioss_DatabaseIO.h>
8 #include <kelpie/Kelpie.hh>
9 
10 #include <vector>
11 
12 #ifndef IOSS_IODW_UTILS_H
13 #define IOSS_IODW_UTILS_H
14 
15 namespace Iodw {
16 
17  namespace Utils {
18 
19  struct Property
20  {
21  kelpie::Key KeyType;
22  };
23 
24  struct Field
25  {
26  kelpie::Key KeyType;
27  };
28 
29  struct ElemBlock
30  {
31  };
32 
33  struct RegionKeys
34  {
35  using Keys = std::vector<kelpie::Key>;
36 
41 
46 
47  // TODO: serialize
48  };
49 
50  class IossToDW
51  {
52  public:
53  void operator()(Ioss::DatabaseIO *dbi);
54  };
55 
56  } // namespace Utils
57 } // namespace Iodw
58 
59 #endif
Iodw::Utils::RegionKeys::face_blocks
Keys face_blocks
Definition: Iodw_Utils.h:39
Iodw::Utils::Field
Definition: Iodw_Utils.h:25
Iodw::Utils::RegionKeys::node_sets
Keys node_sets
Definition: Iodw_Utils.h:45
Iodw::Utils::IossToDW::operator()
void operator()(Ioss::DatabaseIO *dbi)
Definition: Iodw_Utils.C:62
Iodw::Utils::Field::KeyType
kelpie::Key KeyType
Definition: Iodw_Utils.h:26
Iodw::Utils::RegionKeys::elem_blocks
Keys elem_blocks
Definition: Iodw_Utils.h:38
Iodw::Utils::RegionKeys::edge_sets
Keys edge_sets
Definition: Iodw_Utils.h:42
Ioss::DatabaseIO
An input or output Database.
Definition: Ioss_DatabaseIO.h:59
Iodw::Utils::RegionKeys::node_blocks
Keys node_blocks
Definition: Iodw_Utils.h:40
Iodw::Utils::RegionKeys
Definition: Iodw_Utils.h:34
Iodw::Utils::Property
Definition: Iodw_Utils.h:20
Iodw::Utils::RegionKeys::Keys
std::vector< kelpie::Key > Keys
Definition: Iodw_Utils.h:35
Iodw::Utils::RegionKeys::face_sets
Keys face_sets
Definition: Iodw_Utils.h:44
Iodw::Utils::RegionKeys::edge_blocks
Keys edge_blocks
Definition: Iodw_Utils.h:37
Iodw::Utils::ElemBlock
Definition: Iodw_Utils.h:30
Iodw::Utils::Property::KeyType
kelpie::Key KeyType
Definition: Iodw_Utils.h:21
Iodw::Utils::IossToDW
Definition: Iodw_Utils.h:51
Iodw
A namespace for the pamgen database format.
Definition: Iodw_DatabaseIO.C:54
Ioss_DatabaseIO.h
Iodw::Utils::RegionKeys::elem_sets
Keys elem_sets
Definition: Iodw_Utils.h:43