IOSS  2.0
Iocgns_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 #ifndef IOSS_IOCGNS_UTILS_H
8 #define IOSS_IOCGNS_UTILS_H
9 
10 #include <Ioss_CodeTypes.h>
11 #include <Ioss_DatabaseIO.h>
12 #include <Ioss_ElementTopology.h>
13 #include <Ioss_FaceGenerator.h>
14 #include <Ioss_Region.h>
15 #include <Ioss_SideBlock.h>
16 #include <Ioss_SideSet.h>
17 #include <Ioss_StructuredBlock.h>
18 #include <Ioss_Utils.h>
19 #include <cgns/Iocgns_Defines.h>
20 #include <cgnslib.h>
21 #include <ostream>
22 #include <string>
23 
24 // Used in Iocgns_DatabaseIO.C and Iocgns_ParallelDatabase.C
25 // non-Member function -- can't access m_cgnsFilePtr; make sure cgns_file_ptr is passed in...
26 #define CGCHECK(funcall) \
27  if ((funcall) != CG_OK) { \
28  Iocgns::Utils::cgns_error(cgns_file_ptr, __FILE__, __func__, __LINE__, myProcessor); \
29  }
30 
31 // Member function -- can access m_cgnsFilePtr
32 #define CGCHECKM(funcall) \
33  if ((funcall) != CG_OK) { \
34  Iocgns::Utils::cgns_error(m_cgnsFilePtr, __FILE__, __func__, __LINE__, myProcessor); \
35  }
36 
37 #define CGCHECKNP(funcall) \
38  if ((funcall) != CG_OK) { \
39  Iocgns::Utils::cgns_error(cgns_file_ptr, __FILE__, __func__, __LINE__, -1); \
40  }
41 
42 // Used in Iocgns_Decomposition.C
43 #define CGCHECK2(funcall) \
44  if ((funcall) != CG_OK) { \
45  Iocgns::Utils::cgns_error(filePtr, __FILE__, __func__, __LINE__, m_decomposition.m_processor); \
46  }
47 
48 namespace Iocgns {
49  class StructuredZoneData;
50 
51  struct ZoneBC
52  {
53  ZoneBC(const std::string &bc_name, std::array<cgsize_t, 2> &point_range)
54  : name(bc_name), range_beg(point_range[0]), range_end(point_range[1])
55  {
56  }
57 
58  std::string name;
59  cgsize_t range_beg;
60  cgsize_t range_end;
61  };
62 
63  class Utils
64  {
65  public:
66  Utils() = default;
67  ~Utils() = default;
68 
69  static const size_t CG_CELL_CENTER_FIELD_ID = 1ul << 33;
70  static const size_t CG_VERTEX_FIELD_ID = 1ul << 34;
71 
72  static std::pair<std::string, int> decompose_name(const std::string &name, bool is_parallel);
73  static std::string decompose_sb_name(const std::string &name);
74 
75  static size_t index(const Ioss::Field &field);
76 
77  static void cgns_error(int cgnsid, const char *file, const char *function, int lineno,
78  int processor);
79 
80  static void update_db_zone_property(int cgns_file_ptr, const Ioss::Region *region,
81  int myProcessor, bool is_parallel, bool is_parallel_io);
82  static int get_db_zone(const Ioss::GroupingEntity *entity);
83  static void set_field_index(const Ioss::Field &field, size_t index, CG_GridLocation_t location);
84  static bool is_cell_field(const Ioss::Field &field);
85 
86  template <typename INT>
87  static void map_cgns_connectivity(const Ioss::ElementTopology *topo, size_t element_count,
88  INT *idata)
89  {
90  // Map from CGNS to IOSS/Exodus/Patran order...
91  switch (topo->shape()) {
93  switch (topo->number_nodes()) {
94  case 8:
95  case 20: break;
96  case 27: {
97  // nodes 1 through 20 are the same...
98  //
99  // ioss: 21, 22, 23, 24, 25, 26, 27 [zero-based: 20, 21, 22, 23, 24, 25, 26]
100  // cgns: 27, 21, 26, 25, 23, 22, 24 [zero-based: 26, 20, 25, 24, 22, 21, 23]
101  static std::array<int, 7> hex27_map{26, 20, 25, 24, 22, 21, 23};
102  for (size_t i = 0; i < element_count; i++) {
103  size_t con_beg = 27 * i; // start of connectivity for i'th element.
104  std::array<int, 7> reorder;
105  for (size_t j = 0; j < 7; j++) {
106  reorder[j] = idata[con_beg + hex27_map[j]];
107  }
108 
109  for (size_t j = 0; j < 7; j++) {
110  idata[con_beg + 20 + j] = reorder[j];
111  }
112  }
113  }
114  }
115  break;
116  default:
117  // do nothing cgns ordering matches ioss/exodus/patran (or not handled yet... todo: add
118  // error checking)
119  ;
120  }
121  }
122 
123  template <typename INT>
124  static void unmap_cgns_connectivity(const Ioss::ElementTopology *topo, size_t element_count,
125  INT *idata)
126  {
127  // Map from IOSS/Exodus/Patran to CGNS order...
128  switch (topo->shape()) {
130  switch (topo->number_nodes()) {
131  case 8:
132  case 20: break;
133  case 27: {
134  // nodes 1 through 20 are the same...
135  //
136  // ioss: 21, 22, 23, 24, 25, 26, 27 [zero-based: 20, 21, 22, 23, 24, 25, 26]
137  // cgns: 27, 21, 26, 25, 23, 22, 24 [zero-based: 26, 20, 25, 24, 22, 21, 23]
138  static std::array<int, 7> hex27_map{26, 20, 25, 24, 22, 21, 23};
139  for (size_t i = 0; i < element_count; i++) {
140  size_t con_beg = 27 * i; // start of connectivity for i'th element.
141  std::array<int, 7> reorder;
142  for (size_t j = 0; j < 7; j++) {
143  reorder[j] = idata[con_beg + 20 + j];
144  }
145 
146  for (size_t j = 0; j < 7; j++) {
147  idata[con_beg + hex27_map[j]] = reorder[j];
148  }
149  }
150  }
151  }
152  break;
153  default:
154  // do nothing cgns ordering matches ioss/exodus/patran (or not handled yet... todo: add
155  // error checking)
156  ;
157  }
158  }
159 
160  template <typename INT>
161  static void map_cgns_face_to_ioss(const Ioss::ElementTopology *parent_topo, size_t num_to_get,
162  INT *idata)
163  {
164  // The {topo}_map[] arrays map from CGNS face# to IOSS face#.
165  // See http://cgns.github.io/CGNS_docs_current/sids/conv.html#unstructgrid
166  // NOTE: '0' for first entry is to account for 1-based face numbering.
167 
168  switch (parent_topo->shape()) {
170  static int hex_map[] = {0, 5, 1, 2, 3, 4, 6};
171  for (size_t i = 0; i < num_to_get; i++) {
172  idata[2 * i + 1] = hex_map[idata[2 * i + 1]];
173  }
174  break;
175 
176  case Ioss::ElementShape::TET:
177  static int tet_map[] = {0, 4, 1, 2, 3};
178  for (size_t i = 0; i < num_to_get; i++) {
179  idata[2 * i + 1] = tet_map[idata[2 * i + 1]];
180  }
181  break;
182 
183  case Ioss::ElementShape::PYRAMID:
184  static int pyr_map[] = {0, 5, 1, 2, 3, 4};
185  for (size_t i = 0; i < num_to_get; i++) {
186  idata[2 * i + 1] = pyr_map[idata[2 * i + 1]];
187  }
188  break;
189 
190  case Ioss::ElementShape::WEDGE:
191 #if 0
192  static int wed_map[] = {0, 1, 2, 3, 4, 5}; // Same
193  // Not needed -- maps 1 to 1
194  for (size_t i=0; i < num_to_get; i++) {
195  idata[2*i+1] = wed_map[idata[2*i+1]];
196  }
197 #endif
198  break;
199  default:;
200  }
201  }
202 
203  static void map_ioss_face_to_cgns(const Ioss::ElementTopology *parent_topo, size_t num_to_get,
205  {
206  // The {topo}_map[] arrays map from CGNS face# to IOSS face#.
207  // See http://cgns.github.io/CGNS_docs_current/sids/conv.html#unstructgrid
208  // NOTE: '0' for first entry is to account for 1-based face numbering.
209 
210  switch (parent_topo->shape()) {
212  static int hex_map[] = {0, 2, 3, 4, 5, 1, 6};
213  for (size_t i = 0; i < num_to_get; i++) {
214  data[num_to_get * 2 + i] = hex_map[data[num_to_get * 2 + i]];
215  }
216  break;
217 
218  case Ioss::ElementShape::TET:
219  static int tet_map[] = {0, 2, 3, 4, 1};
220  for (size_t i = 0; i < num_to_get; i++) {
221  data[num_to_get * 2 + i] = tet_map[data[num_to_get * 2 + i]];
222  }
223  break;
224 
225  case Ioss::ElementShape::PYRAMID:
226  static int pyr_map[] = {0, 2, 3, 4, 5, 1};
227  for (size_t i = 0; i < num_to_get; i++) {
228  data[num_to_get * 2 + i] = pyr_map[data[num_to_get * 2 + i]];
229  }
230  break;
231 
232  case Ioss::ElementShape::WEDGE:
233 #if 0
234  static int wed_map[] = {0, 1, 2, 3, 4, 5}; // Same
235  // Not needed -- maps 1 to 1
236  for (size_t i=0; i < num_to_get; i++) {
237  data[num_to_get * 2 + i] = wed_map[data[num_to_get * 2 + i]];
238  }
239 #endif
240  break;
241  default:;
242  }
243  }
244 
245  static std::vector<ZoneBC> parse_zonebc_sideblocks(int cgns_file_ptr, int base, int zone,
246  int myProcessor);
247 
248  static void
250  std::map<std::string, Ioss::FaceUnorderedSet> &boundary_faces,
251  Ioss::Field::BasicType field_type);
252 
253  static void write_flow_solution_metadata(int file_ptr, int base_ptr, Ioss::Region *region,
254  int state, const int *vertex_solution_index,
255  const int *cell_center_solution_index,
256  bool is_parallel_io);
257  static int find_solution_index(int cgns_file_ptr, int base, int zone, int step,
258  CG_GridLocation_t location);
259  static Ioss::MeshType check_mesh_type(int cgns_file_ptr);
260 
261  static void output_assembly(int file_ptr, const Ioss::Assembly *assembly, bool is_parallel_io,
262  bool appending = false);
263  static void output_assemblies(int file_ptr, const Ioss::Region &region, bool is_parallel_io);
264 
265  static void write_state_meta_data(int file_ptr, const Ioss::Region &region,
266  bool is_parallel_io);
267  static size_t common_write_meta_data(int file_ptr, const Ioss::Region &region,
268  std::vector<size_t> &zone_offset, bool is_parallel);
269  static size_t resolve_nodes(Ioss::Region &region, int my_processor, bool is_parallel);
270  static std::vector<std::vector<std::pair<size_t, size_t>>>
271  resolve_processor_shared_nodes(Ioss::Region &region, int my_processor);
272 
273  static CG_ElementType_t map_topology_to_cgns(const std::string &name);
274  static std::string map_cgns_to_topology_type(CG_ElementType_t type);
275  static void add_sidesets(int cgns_file_ptr, Ioss::DatabaseIO *db);
276  static void add_assemblies(int cgns_file_ptr, Ioss::DatabaseIO *db);
277  static void add_to_assembly(int cgns_file_ptr, Ioss::Region *region, Ioss::EntityBlock *block,
278  int base, int zone);
279 
280  static void add_structured_boundary_conditions(int cgns_file_ptr, Ioss::StructuredBlock *block,
281  bool is_parallel_io);
282  static void add_structured_boundary_conditions_fpp(int cgns_file_ptr,
283  Ioss::StructuredBlock *block);
284  static void add_structured_boundary_conditions_pio(int cgns_file_ptr,
285  Ioss::StructuredBlock *block);
286 
287  static void finalize_database(int cgns_file_ptr, const std::vector<double> &timesteps,
288  Ioss::Region *region, int myProcessor, bool is_parallel_io);
289  static int get_step_times(int cgns_file_ptr, std::vector<double> &timesteps,
290  Ioss::Region *region, double timeScaleFactor, int myProcessor);
291  static void add_transient_variables(int cgns_file_ptr, const std::vector<double> &timesteps,
292  Ioss::Region *region, bool enable_field_recognition,
293  char suffix_separator, int myProcessor,
294  bool is_parallel_io);
295 
296  static void set_line_decomposition(int cgns_file_ptr, const std::string &line_decomposition,
297  std::vector<Iocgns::StructuredZoneData *> &zones, int rank,
298  bool verbose);
299  static void decompose_model(std::vector<Iocgns::StructuredZoneData *> &zones, int proc_count,
300  int rank, double load_balance_threshold, bool verbose);
301  static size_t pre_split(std::vector<Iocgns::StructuredZoneData *> &zones, double avg_work,
302  double load_balance, int proc_rank, int proc_count, bool verbose);
303  static void assign_zones_to_procs(std::vector<Iocgns::StructuredZoneData *> &zones,
304  std::vector<size_t> &work_vector, bool verbose);
305  static void show_config();
306 
307  template <typename INT>
308  static void generate_block_faces(Ioss::ElementTopology *topo, size_t num_elem,
309  const std::vector<INT> &connectivity,
310  Ioss::FaceUnorderedSet &boundary,
311  const std::vector<INT> &zone_local_zone_global);
312  };
313 } // namespace Iocgns
314 
315 #endif
Iocgns::ZoneBC::range_end
cgsize_t range_end
Definition: Iocgns_Utils.h:60
Iocgns::Utils::get_db_zone
static int get_db_zone(const Ioss::GroupingEntity *entity)
Definition: Iocgns_Utils.C:531
Iocgns::Utils::finalize_database
static void finalize_database(int cgns_file_ptr, const std::vector< double > &timesteps, Ioss::Region *region, int myProcessor, bool is_parallel_io)
Definition: Iocgns_Utils.C:2071
Ioss::MeshType
MeshType
The mesh type – structured, unstructured, hybrid (future), or unknown.
Definition: Ioss_MeshType.h:13
Iocgns::Utils::update_db_zone_property
static void update_db_zone_property(int cgns_file_ptr, const Ioss::Region *region, int myProcessor, bool is_parallel, bool is_parallel_io)
Definition: Iocgns_Utils.C:469
Iocgns::Utils::show_config
static void show_config()
Definition: Iocgns_Utils.C:2874
Iocgns::Utils::check_mesh_type
static Ioss::MeshType check_mesh_type(int cgns_file_ptr)
Definition: Iocgns_Utils.C:428
Ioss::Field
Holds metadata for bulk data associated with a GroupingEntity.
Definition: Ioss_Field.h:22
Iocgns::Utils::add_assemblies
static void add_assemblies(int cgns_file_ptr, Ioss::DatabaseIO *db)
Definition: Iocgns_Utils.C:1638
Ioss::Assembly
A homogeneous collection of other GroupingEntities.
Definition: Ioss_Assembly.h:28
Iocgns::Utils::decompose_sb_name
static std::string decompose_sb_name(const std::string &name)
Definition: Iocgns_Utils.C:393
Iocgns::Utils::decompose_model
static void decompose_model(std::vector< Iocgns::StructuredZoneData * > &zones, int proc_count, int rank, double load_balance_threshold, bool verbose)
Definition: Iocgns_Utils.C:2406
Iocgns::Utils::assign_zones_to_procs
static void assign_zones_to_procs(std::vector< Iocgns::StructuredZoneData * > &zones, std::vector< size_t > &work_vector, bool verbose)
Definition: Iocgns_Utils.C:2534
tsl::robin_set
Definition: robin_set.h:83
Iocgns::Utils::output_assembly
static void output_assembly(int file_ptr, const Ioss::Assembly *assembly, bool is_parallel_io, bool appending=false)
Definition: Iocgns_Utils.C:848
Iocgns::Utils::is_cell_field
static bool is_cell_field(const Ioss::Field &field)
Definition: Iocgns_Utils.C:563
Iocgns::ZoneBC::name
std::string name
Definition: Iocgns_Utils.h:58
Iocgns::ZoneBC
Definition: Iocgns_Utils.h:52
Iocgns_Defines.h
Iocgns::Utils::generate_boundary_faces
static void generate_boundary_faces(Ioss::Region *region, std::map< std::string, Ioss::FaceUnorderedSet > &boundary_faces, Ioss::Field::BasicType field_type)
Definition: Iocgns_Utils.C:1972
Iocgns::ZoneBC::range_beg
cgsize_t range_beg
Definition: Iocgns_Utils.h:59
Iocgns::Utils::add_structured_boundary_conditions_fpp
static void add_structured_boundary_conditions_fpp(int cgns_file_ptr, Ioss::StructuredBlock *block)
Definition: Iocgns_Utils.C:2000
Iocgns::Utils::add_to_assembly
static void add_to_assembly(int cgns_file_ptr, Ioss::Region *region, Ioss::EntityBlock *block, int base, int zone)
Definition: Iocgns_Utils.C:1877
Iocgns::Utils::set_line_decomposition
static void set_line_decomposition(int cgns_file_ptr, const std::string &line_decomposition, std::vector< Iocgns::StructuredZoneData * > &zones, int rank, bool verbose)
Definition: Iocgns_Utils.C:2284
Ioss_SideBlock.h
Ioss::Region
A grouping entity that contains other grouping entities.
Definition: Ioss_Region.h:78
Iocgns::Utils::resolve_nodes
static size_t resolve_nodes(Ioss::Region &region, int my_processor, bool is_parallel)
Definition: Iocgns_Utils.C:1696
Ioss::ElementShape::UNKNOWN
@ UNKNOWN
Ioss::StructuredBlock
A structured zone – i,j,k.
Definition: Ioss_StructuredBlock.h:78
Iocgns::Utils::decompose_name
static std::pair< std::string, int > decompose_name(const std::string &name, bool is_parallel)
Definition: Iocgns_Utils.C:370
Iocgns::Utils::~Utils
~Utils()=default
INT
int INT
Definition: Ioss_StructuredBlock.h:27
Iocgns::Utils::write_state_meta_data
static void write_state_meta_data(int file_ptr, const Ioss::Region &region, bool is_parallel_io)
Definition: Iocgns_Utils.C:912
Ioss_StructuredBlock.h
Ioss_SideSet.h
Iocgns::Utils::write_flow_solution_metadata
static void write_flow_solution_metadata(int file_ptr, int base_ptr, Ioss::Region *region, int state, const int *vertex_solution_index, const int *cell_center_solution_index, bool is_parallel_io)
Definition: Iocgns_Utils.C:1439
Iocgns::Utils::CG_VERTEX_FIELD_ID
static const size_t CG_VERTEX_FIELD_ID
Definition: Iocgns_Utils.h:70
Iocgns::Utils::Utils
Utils()=default
anonymous_namespace{Iocgns_DecompositionData.C}::rank
int rank
Definition: Iocgns_DecompositionData.C:30
CGNSIntVector
std::vector< cgsize_t > CGNSIntVector
Definition: Iocgns_Defines.h:13
Iocgns::Utils
Definition: Iocgns_Utils.h:64
Iocgns::Utils::map_cgns_connectivity
static void map_cgns_connectivity(const Ioss::ElementTopology *topo, size_t element_count, INT *idata)
Definition: Iocgns_Utils.h:87
Iocgns::Utils::get_step_times
static int get_step_times(int cgns_file_ptr, std::vector< double > &timesteps, Ioss::Region *region, double timeScaleFactor, int myProcessor)
Definition: Iocgns_Utils.C:2253
Iocgns::Utils::generate_block_faces
static void generate_block_faces(Ioss::ElementTopology *topo, size_t num_elem, const std::vector< INT > &connectivity, Ioss::FaceUnorderedSet &boundary, const std::vector< INT > &zone_local_zone_global)
Definition: Iocgns_Utils.C:2925
Ioss::DatabaseIO
An input or output Database.
Definition: Ioss_DatabaseIO.h:59
Iocgns::Utils::output_assemblies
static void output_assemblies(int file_ptr, const Ioss::Region &region, bool is_parallel_io)
Definition: Iocgns_Utils.C:904
Ioss_Utils.h
Iocgns::Utils::set_field_index
static void set_field_index(const Ioss::Field &field, size_t index, CG_GridLocation_t location)
Definition: Iocgns_Utils.C:551
Iocgns::Utils::unmap_cgns_connectivity
static void unmap_cgns_connectivity(const Ioss::ElementTopology *topo, size_t element_count, INT *idata)
Definition: Iocgns_Utils.h:124
Iocgns::Utils::add_structured_boundary_conditions
static void add_structured_boundary_conditions(int cgns_file_ptr, Ioss::StructuredBlock *block, bool is_parallel_io)
Definition: Iocgns_Utils.C:1893
Iocgns::Utils::map_cgns_to_topology_type
static std::string map_cgns_to_topology_type(CG_ElementType_t type)
Definition: Iocgns_Utils.C:1335
Ioss::EntityBlock
Base class for all 'block'-type grouping entities, which means all members of the block are similar o...
Definition: Ioss_EntityBlock.h:36
Iocgns::Utils::map_topology_to_cgns
static CG_ElementType_t map_topology_to_cgns(const std::string &name)
Definition: Iocgns_Utils.C:1366
Iocgns::Utils::add_transient_variables
static void add_transient_variables(int cgns_file_ptr, const std::vector< double > &timesteps, Ioss::Region *region, bool enable_field_recognition, char suffix_separator, int myProcessor, bool is_parallel_io)
Definition: Iocgns_Utils.C:2162
Ioss::ElementTopology::shape
virtual ElementShape shape() const =0
Iocgns::Utils::map_ioss_face_to_cgns
static void map_ioss_face_to_cgns(const Ioss::ElementTopology *parent_topo, size_t num_to_get, CGNSIntVector &data)
Definition: Iocgns_Utils.h:203
Ioss::ElementTopology
Represents an element topology.
Definition: Ioss_ElementTopology.h:47
Iocgns::Utils::common_write_meta_data
static size_t common_write_meta_data(int file_ptr, const Ioss::Region &region, std::vector< size_t > &zone_offset, bool is_parallel)
Definition: Iocgns_Utils.C:988
Iocgns::Utils::resolve_processor_shared_nodes
static std::vector< std::vector< std::pair< size_t, size_t > > > resolve_processor_shared_nodes(Ioss::Region &region, int my_processor)
Definition: Iocgns_Utils.C:1813
Iocgns::Utils::CG_CELL_CENTER_FIELD_ID
static const size_t CG_CELL_CENTER_FIELD_ID
Definition: Iocgns_Utils.h:69
Iocgns::ZoneBC::ZoneBC
ZoneBC(const std::string &bc_name, std::array< cgsize_t, 2 > &point_range)
Definition: Iocgns_Utils.h:53
anonymous_namespace{cth_pressure_map.C}::data
std::vector< char > data
Definition: cth_pressure_map.C:48
Iocgns::Utils::cgns_error
static void cgns_error(int cgnsid, const char *file, const char *function, int lineno, int processor)
Definition: Iocgns_Utils.C:406
Iocgns::Utils::index
static size_t index(const Ioss::Field &field)
Definition: Iocgns_Utils.C:549
Ioss_FaceGenerator.h
Ioss::ElementTopology::number_nodes
virtual int number_nodes() const =0
Ioss::Field::BasicType
BasicType
The basic data type held in the field.
Definition: Ioss_Field.h:26
Iocgns::Utils::map_cgns_face_to_ioss
static void map_cgns_face_to_ioss(const Ioss::ElementTopology *parent_topo, size_t num_to_get, INT *idata)
Definition: Iocgns_Utils.h:161
Ioss_Region.h
anonymous_namespace{io_info.C}::name
std::string name(const Ioss::GroupingEntity *entity)
Definition: io_info.C:65
Iocgns::Utils::pre_split
static size_t pre_split(std::vector< Iocgns::StructuredZoneData * > &zones, double avg_work, double load_balance, int proc_rank, int proc_count, bool verbose)
Definition: Iocgns_Utils.C:2606
Iocgns
A namespace for the CGNS database format.
Definition: Iocgns_DatabaseIO.C:516
Iocgns::Utils::add_sidesets
static void add_sidesets(int cgns_file_ptr, Ioss::DatabaseIO *db)
Definition: Iocgns_Utils.C:1575
Iocgns::Utils::find_solution_index
static int find_solution_index(int cgns_file_ptr, int base, int zone, int step, CG_GridLocation_t location)
Definition: Iocgns_Utils.C:1514
Ioss::GroupingEntity
Base class for all 'grouping' entities. The following derived classes are typical:
Definition: Ioss_GroupingEntity.h:68
Ioss_CodeTypes.h
Iocgns::Utils::add_structured_boundary_conditions_pio
static void add_structured_boundary_conditions_pio(int cgns_file_ptr, Ioss::StructuredBlock *block)
Definition: Iocgns_Utils.C:1907
Ioss_ElementTopology.h
Ioss_DatabaseIO.h
Iocgns::Utils::parse_zonebc_sideblocks
static std::vector< ZoneBC > parse_zonebc_sideblocks(int cgns_file_ptr, int base, int zone, int myProcessor)
Definition: Iocgns_Utils.C:2833