IOSS  2.0
Iogs_GeneratedMesh.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_Iogs_GeneratedMesh_h
8 #define IOSS_Iogs_GeneratedMesh_h
9 
10 #include <Ioss_CodeTypes.h>
11 #include <Ioss_EntityType.h> // for EntityType
12 #include <array>
13 #include <cstddef> // for size_t
14 #include <cstdint> // for int64_t
15 #include <map> // for map, etc
16 #include <string> // for string
17 #include <utility> // for pair
18 #include <vector> // for vector
19 
20 namespace Iogs {
21  using MapVector = std::vector<int64_t>;
22 
24  {
25  public:
26  enum ShellLocation { MX = 0, PX = 1, MY = 2, PY = 3, MZ = 4, PZ = 5 };
27 
28  /**
29  Generate a cube mesh of size 'num_x' by 'num_y' by 'num_z' elements.
30  By default, the mesh is gen_struc on a single processor. If 'proc_count' is
31  greater than 1, then the mesh will be distributed over 'proc_count' processors
32  and this process will get the portion of the mesh for 'my_proc'.
33  The mesh will be decomposed along the 'Z' axis so 'num_z' must be greater than
34  or equal to 'proc_count' and for even distribution of the hexes 'num_z' mod 'proc_count'
35  should be zero.
36 
37  The mesh can optionally include sidesets along each
38  face of the cube mesh. These are specified via the
39  'add_sidesets' function.
40 
41  If the 'parameters' string constructor is used, the string
42  is parsed to determine the intervals in each direction and,
43  optionally, additional information. The form of the string
44  is "IxJxK" where I, J, and K are the number of intervals
45  in the X, Y, and Z directions respectively and the "x" are
46  literal 'x' characters. For example, the constructor
47  GeneratedMesh("10x12x14") will create the same mesh as
48  GeneratedMesh(10,12,14)
49 
50  Additional valid options are:
51  - help -- no argument, shows valid options
52  - show -- no argument, prints out a summary of the
53  GeneratedMesh() parameters. The output will look similar
54  to:
55  \code
56  "10x12x8|bbox:-10,-10,-10,10,10,10|sideset:XYZ|show"
57 
58  Mesh Parameters:
59  Intervals: 10 by 12 by 8
60  X = 2 * (0..10) + -10 Range: -10 <= X <= 10
61  Y = 1.66667 * (0..12) + -10 Range: -10 <= Y <= 10
62  Z = 2.5 * (0..8) + -10 Range: -10 <= Z <= 10
63  Node Count (total) = 1287
64  Element Count (total) = 1152
65  Block Count = 3
66  SideSet Count = 3
67  \endcode
68 
69  - sideset -- argument = xXyYzZ which specifies whether there is
70  a sideset at that location. 'x' is minimum x face, 'X' is
71  maximum x face, similarly for y and z. Note that the argument
72  string is a single multicharacter string. You can add multiple
73  sidesets to a face, for example, sideset:xxx would add three
74  sidesets on the minimum x face. An error is output if a non
75  xXyYzZ character is found, but execution continues.
76 
77  - zdecomp -- argument = n0, n1, n2, ..., n#proc-1 which are the number
78  of intervals in the z direction for each processor in a pallel run.
79  If this option is specified, then the total number of intervals in the
80  z direction is the sum of the n0, n1, ... An interval count must be
81  specified for each processor. If this option is not specified, then
82  the number of intervals on each processor in the z direction is
83  numZ/numProc with the extras added to the lower numbered processors.
84 
85  - scale -- argument = xs, ys, zs which are the scale factors in the x,
86  y, and z directions. All three must be specified if this option is
87  present.
88 
89  - offset -- argument = xoff, yoff, zoff which are the offsets in the
90  x, y, and z directions. All three must be specified if this option
91  is present.
92 
93  - bbox -- argument = xmin, ymin, zmin, xmax, ymax, zmax
94  which specify the lower left and upper right corners of
95  the bounding box for the gen_struc mesh. This will
96  calculate the scale and offset which will fit the mesh in
97  the specified box. All calculations are based on the currently
98  active interval settings. If scale or offset or zdecomp
99  specified later in the option list, you may not get the
100  desired bounding box.
101 
102  - rotate -- argument = axis,angle,axis,angle,...
103  where axis is 'x', 'y', or 'z' and angle is the rotation angle in
104  degrees. Multiple rotations are cumulative. The composite rotation
105  matrix is applied at the time the coordinates are retrieved after
106  scaling and offset are applied.
107 
108  The unrotated coordinate of a node at grid location i,j,k is:
109  \code
110  x = x_scale * i + x_off,
111  y = z_scale * j + y_off,
112  z = z_scale * k + z_off,
113  \endcode
114 
115  The extent of the unrotated mesh will be:
116  \code
117  x_off <= x <= x_scale * numX + x_off
118  y_off <= y <= y_scale * numY + y_off
119  z_off <= z <= z_scale * numZ + z_off
120  \endcode
121 
122  If an unrecognized option is specified, an error message will be
123  output and execution will continue.
124 
125  An example of valid input is:
126  \code
127  "10x20x40|scale:1,0.5,0.25|offset:-5,-5,-5"
128  \endcode
129 
130  This would create a mesh with 10 intervals in x, 20 in y, 40 in z
131  The mesh would be centered on 0,0,0 with a range of 10 in each
132  direction.
133 
134  NOTE: All options are processed in the order they appear in
135  the parameters string (except rotate which is applied at the
136  time the coordinates are gen_struc/retrieved)
137  */
138  explicit GeneratedMesh(const std::string &parameters, int proc_count = 1, int my_proc = 0);
139  GeneratedMesh(int64_t num_x, int64_t num_y, int64_t num_z, int proc_count = 1, int my_proc = 0);
140  GeneratedMesh();
141  virtual ~GeneratedMesh();
142 
143  /**
144  * Add a sideset along the specified face of the hex mesh.
145  * The sidesets will maintain the order of definition. The
146  * first sideset defined will be sideset 1.
147  * The loc options are:
148  * - MX = add sideset on the face with minimum X
149  * - PX = add sideset on the face with maximum X
150  * - MY = add sideset on the face with minimum Y
151  * - PY = add sideset on the face with maximum Y
152  * - MZ = add sideset on the face with minimum Z
153  * - PZ = add sideset on the face with maximum Z
154  *
155  */
156  int64_t add_sideset(ShellLocation loc);
157 
158  /**
159  * Specify the coordinate scaling and offset in all three
160  * spatial dimensions.
161  *
162  * node location of node at (i,j,k) is
163  * \code
164  * X = scale X * i + offset X
165  * Y = scale Y * i + offset Y
166  * Z = scale Z * i + offset Z
167  * \endcode
168  *
169  * WARNING: Should be called before retrieving node
170  * coordinates.
171  */
172  void set_scale(double scl_x, double scl_y, double scl_z);
173  void set_offset(double off_x, double off_y, double off_z);
174  void set_bbox(double xmin, double ymin, double zmin, double xmax, double ymax, double zmax);
175 
176  /**
177  * Set rotation. Multiple calls are cumulative.
178  * Rotate 'angle_degrees' degrees about the axis 'axis'
179  * Center of rotation is about the origin and operates
180  * on the scaled/offset coordinates of the mesh.
181  */
182  void set_rotation(const std::string &axis, double angle_degrees);
183 
184  /**
185  * Return number of nodes in the entire model.
186  */
187  virtual int64_t node_count() const;
188 
189  /**
190  * Return number of nodes on this processor.
191  */
192  virtual int64_t node_count_proc() const;
193 
194  /**
195  * Return number of structured blocks in the entire model.
196  */
197  virtual int64_t structured_block_count() const;
198 
199  /**
200  * Return number of sidesets in the entire model.
201  */
202  virtual int64_t sideset_count() const;
203 
204  /**
205  * Return number of sideset 'sides' on sideset 'id'
206  */
207  int64_t sideset_side_count(int64_t id) const;
208 
209  /**
210  * Return number of sideset 'sides' on sideset 'id' on the current
211  * processor.
212  */
213  virtual int64_t sideset_side_count_proc(int64_t id) const;
214 
215  Ioss::IJK_t block_range(int64_t /* id */) const
216  {
217  return Ioss::IJK_t{{(int)numX, (int)numY, (int)numZ}};
218  }
219  Ioss::IJK_t block_range_proc(int64_t id) const;
220  Ioss::IJK_t block_offset_proc(int64_t id) const;
221 
222  /**
223  * Return number of elements in all structured blocks in the model.
224  */
225  virtual int64_t element_count() const;
226 
227  /**
228  * Return number of elements in all structured blocks on this processor.
229  */
230  virtual int64_t element_count_proc() const;
231 
232  int64_t timestep_count() const { return timestepCount; }
233  /**
234  * Return number of elements in the structured block with id
235  * 'block_number'. The 'block_number' ranges from '1' to
236  * 'block_count()'.
237  */
238  virtual int64_t element_count(int64_t block_number) const;
239 
240  /**
241  * Return number of elements on this processor in the structured
242  * block with id 'block_number'. The 'block_number' ranges from
243  * '1' to 'block_count()'.
244  */
245  virtual int64_t element_count_proc(int64_t block_number) const;
246 
247  /**
248  * Returns pair containing "topology type string" and "number of
249  * nodes / element". The topology type string will be "hex8" for
250  * the hex element block
251  */
252  virtual std::pair<std::string, int> topology_type(int64_t block_number) const;
253 
254  void build_node_map(Ioss::Int64Vector &map, std::vector<int> &proc, int64_t slab,
255  size_t slabOffset, size_t adjacentProc, size_t index);
256  virtual int64_t communication_node_count_proc() const;
257  virtual void node_communication_map(MapVector &map, std::vector<int> &proc);
258  virtual void owning_processor(int *owner, int64_t num_node);
259 
260  /**
261  * Fill the passed in 'map' argument with the node map
262  * "map[local_position] = global_id" for the nodes on this
263  * processor.
264  */
265  virtual void node_map(MapVector &map) const;
266  virtual void node_map(Ioss::IntVector &map) const;
267 
268  /**
269  * Fill the passed in 'map' argument with the element map
270  * "map[local_position] = global_id" for the elements on this
271  * processor in block "block_number".
272  */
273  virtual void element_map(int64_t block_number, MapVector &map) const;
274  virtual void element_map(int64_t block_number, Ioss::IntVector &map) const;
275 
276  /**
277  * Fill the passed in 'map' argument with the element map
278  * "map[local_position] = global_id" for all elements on this
279  * processor
280  */
281  virtual void element_map(MapVector &map) const;
282  virtual void element_map(Ioss::IntVector &map) const;
283 
284  /**
285  * Fill the passed in 'map' argument with the element map pair
286  * "map[local_position] = element global_id" and
287  * "map[local_position+1] = element local face id (0-based)" for
288  * all elements on the current processor having a face on the
289  * surface defined by ShellLocation.
290  */
291  void element_surface_map(ShellLocation loc, MapVector &map) const;
292 
293  /**
294  * Return the connectivity for the elements on this processor in
295  * the block with id 'block_number'. If the elements in this block
296  * have 'npe' nodes per element, then the first 'npe' entries in
297  * the 'conn' vector will be the nodal connectivity for the first
298  * element; the next 'npe' entries are the nodal connectivity for
299  * the second element. The 'connect' vector will be resized to the
300  * size required to contain the nodal connectivity for the
301  * specified block; all information in 'connect' will be overwritten.
302  */
303  void connectivity(int64_t block_number, Ioss::Int64Vector &connect) const;
304  void connectivity(int64_t block_number, Ioss::IntVector &connect) const;
305  void connectivity(int64_t block_number, int64_t *connect) const;
306  virtual void connectivity(int64_t block_number, int *connect) const;
307 
308  /**
309  * Return the coordinates for all nodes on this processor. The
310  * first 3 entries in the 'coord' vector are the x, y, and z
311  * coordinates of the first node, etc. The 'coord' vector will be
312  * resized to the size required to contain the nodal coordinates;
313  * all information in 'coord' will be overwritten.
314  */
315  virtual void coordinates(std::vector<double> &coord) const;
316  virtual void coordinates(double *coord) const;
317 
318  /**
319  * Return the coordinates for all nodes on this processor in
320  * separate vectors. The vectors will be resized to the size
321  * required to contain the nodal coordinates; all information in
322  * the vectors will be overwritten.
323  */
324  virtual void coordinates(std::vector<double> &x, std::vector<double> &y,
325  std::vector<double> &z) const;
326 
327  /**
328  * Return the coordinates for componenet 'comp' (1=x, 2=y, 3=z)
329  * for all nodes on this processor. The
330  * vector will be resized to the size required to contain the
331  * nodal coordinates; all information in the vector will be
332  * overwritten.
333  * It is an error to request the coordinates via this function
334  * if a rotation is defined.
335  */
336  virtual void coordinates(int component, std::vector<double> &xyz) const;
337 
338  /**
339  * Return the coordinates for componenet 'comp' (1=x, 2=y, 3=z, 0=all)
340  * for all nodes in zone `zone` on this processor. The
341  * vector will be resized to the size required to contain the
342  * nodal coordinates; all information in the vector will be
343  * overwritten.
344  * It is an error to request the coordinates via this function
345  * if a rotation is defined.
346  */
347  void coordinates(int component, int zone, double *coord) const;
348 
349  /**
350  * Return the list of the face/ordinal pairs
351  * "elem_sides[local_position] = element global_id" and
352  * "elem_sides[local_position+1] = element local face id (0-based)"
353  * for the faces in sideset 'id' on this
354  * processor. The 'elem_sides' vector will be resized to the size
355  * required to contain the list. The element ids are global ids,
356  * the side ordinal is 0-based.
357  */
358  virtual void sideset_elem_sides(int64_t id, Ioss::Int64Vector &elem_sides) const;
359 
360  virtual std::vector<std::string> sideset_touching_blocks(int64_t set_id) const;
361 
362  int64_t get_num_x() const { return numX; }
363  int64_t get_num_y() const { return numY; }
364  int64_t get_num_z() const { return numZ; }
365 
367  {
368  return variableCount.find(type) != variableCount.end() ? variableCount.find(type)->second : 0;
369  }
370 
371  private:
372  template <typename INT> void raw_element_map(int64_t block_number, std::vector<INT> &map) const;
373  template <typename INT> void raw_element_map(std::vector<INT> &map) const;
374  template <typename INT> void raw_connectivity(int64_t block_number, INT *connect) const;
375 
378 
379  void set_variable_count(const std::string &type, size_t count);
380  void parse_options(const std::vector<std::string> &groups);
381  void show_parameters() const;
382  void initialize();
383 
384  std::vector<ShellLocation> sidesets{};
385  std::array<std::array<double, 3>, 3> rotmat;
386  size_t numX{0}, numY{0}, numZ{0};
387  size_t myNumZ{0}, myStartZ{0};
388 
389  size_t processorCount{1};
390  size_t myProcessor{0};
391 
392  size_t timestepCount{0};
393  std::map<Ioss::EntityType, size_t> variableCount{};
394 
395  double offX{0}, offY{0}, offZ{0}; /** Offsets in X, Y, and Z directions */
396  double sclX{1}, sclY{1}, sclZ{1}; /** Scale in X, Y, and Z directions
397  * location of node at (i,j,k)
398  * position is (sclX*i+offX,
399  * sclY*i+offY, sclZ*i+offZ) */
400  bool doRotation{false};
401  };
402 } // namespace Iogs
403 #endif
Iogs::GeneratedMesh::set_variable_count
void set_variable_count(const std::string &type, size_t count)
Definition: Iogs_GeneratedMesh.C:834
Iogs::GeneratedMesh::PX
@ PX
Definition: Iogs_GeneratedMesh.h:26
Iogs::GeneratedMesh::element_map
virtual void element_map(int64_t block_number, MapVector &map) const
Definition: Iogs_GeneratedMesh.C:479
Iogs::GeneratedMesh::myNumZ
size_t myNumZ
Definition: Iogs_GeneratedMesh.h:387
Iogs::GeneratedMesh::build_node_map
void build_node_map(Ioss::Int64Vector &map, std::vector< int > &proc, int64_t slab, size_t slabOffset, size_t adjacentProc, size_t index)
Definition: Iogs_GeneratedMesh.C:446
Iogs
A namespace for the gen_struc database format.
Definition: Iogs_DatabaseIO.C:103
Iogs::GeneratedMesh::sideset_side_count
int64_t sideset_side_count(int64_t id) const
Definition: Iogs_GeneratedMesh.C:358
Iogs::GeneratedMesh::sideset_side_count_proc
virtual int64_t sideset_side_count_proc(int64_t id) const
Definition: Iogs_GeneratedMesh.C:374
Iogs::GeneratedMesh::node_map
virtual void node_map(MapVector &map) const
Definition: Iogs_GeneratedMesh.C:408
Iogs::GeneratedMesh::MZ
@ MZ
Definition: Iogs_GeneratedMesh.h:26
Iogs::GeneratedMesh::set_scale
void set_scale(double scl_x, double scl_y, double scl_z)
Definition: Iogs_GeneratedMesh.C:145
Iogs::GeneratedMesh::numX
size_t numX
Definition: Iogs_GeneratedMesh.h:386
Iogs::GeneratedMesh::operator=
GeneratedMesh & operator=(const GeneratedMesh &)
Iogs::GeneratedMesh::topology_type
virtual std::pair< std::string, int > topology_type(int64_t block_number) const
Definition: Iogs_GeneratedMesh.C:402
Iogs::GeneratedMesh::parse_options
void parse_options(const std::vector< std::string > &groups)
Definition: Iogs_GeneratedMesh.C:159
Iogs::GeneratedMesh::ShellLocation
ShellLocation
Definition: Iogs_GeneratedMesh.h:26
Ioss::IntVector
std::vector< int > IntVector
Definition: Ioss_CodeTypes.h:25
Iogs::GeneratedMesh::PY
@ PY
Definition: Iogs_GeneratedMesh.h:26
Iogs::GeneratedMesh::numZ
size_t numZ
Definition: Iogs_GeneratedMesh.h:386
Iogs::GeneratedMesh::variableCount
std::map< Ioss::EntityType, size_t > variableCount
Definition: Iogs_GeneratedMesh.h:393
Iogs::GeneratedMesh::offZ
double offZ
Definition: Iogs_GeneratedMesh.h:395
Iogs::GeneratedMesh::communication_node_count_proc
virtual int64_t communication_node_count_proc() const
Definition: Iogs_GeneratedMesh.C:422
Iogs::GeneratedMesh::get_num_z
int64_t get_num_z() const
Definition: Iogs_GeneratedMesh.h:364
Iogs::GeneratedMesh::myProcessor
size_t myProcessor
Definition: Iogs_GeneratedMesh.h:390
Iogs::GeneratedMesh::PZ
@ PZ
Definition: Iogs_GeneratedMesh.h:26
Iogs::GeneratedMesh::GeneratedMesh
GeneratedMesh()
Definition: Iogs_GeneratedMesh.C:51
Iogs::GeneratedMesh::block_offset_proc
Ioss::IJK_t block_offset_proc(int64_t id) const
Iogs::MapVector
std::vector< int64_t > MapVector
Definition: Iogs_GeneratedMesh.h:21
Iogs::GeneratedMesh::block_range_proc
Ioss::IJK_t block_range_proc(int64_t id) const
Iogs::GeneratedMesh::processorCount
size_t processorCount
Definition: Iogs_GeneratedMesh.h:389
Iogs::GeneratedMesh::set_offset
void set_offset(double off_x, double off_y, double off_z)
Definition: Iogs_GeneratedMesh.C:152
INT
int INT
Definition: Ioss_StructuredBlock.h:27
Ioss::EntityType
EntityType
The particular type of GroupingEntity.
Definition: Ioss_EntityType.h:13
Iogs::GeneratedMesh::connectivity
void connectivity(int64_t block_number, Ioss::Int64Vector &connect) const
Definition: Iogs_GeneratedMesh.C:761
Iogs::GeneratedMesh::GeneratedMesh
GeneratedMesh(const GeneratedMesh &)
Ioss_EntityType.h
Iogs::GeneratedMesh::set_rotation
void set_rotation(const std::string &axis, double angle_degrees)
Definition: Iogs_GeneratedMesh.C:857
Iogs::GeneratedMesh::owning_processor
virtual void owning_processor(int *owner, int64_t num_node)
Definition: Iogs_GeneratedMesh.C:432
Iogs::GeneratedMesh::numY
size_t numY
Definition: Iogs_GeneratedMesh.h:386
Iogs::GeneratedMesh::sideset_touching_blocks
virtual std::vector< std::string > sideset_touching_blocks(int64_t set_id) const
Definition: Iogs_GeneratedMesh.C:828
Iogs::GeneratedMesh::timestepCount
size_t timestepCount
Definition: Iogs_GeneratedMesh.h:392
Iogs::GeneratedMesh::node_count
virtual int64_t node_count() const
Definition: Iogs_GeneratedMesh.C:323
Iogs::GeneratedMesh::sclY
double sclY
Definition: Iogs_GeneratedMesh.h:396
Iogs::GeneratedMesh::raw_element_map
void raw_element_map(int64_t block_number, std::vector< INT > &map) const
Definition: Iogs_GeneratedMesh.C:490
Iogs::GeneratedMesh::sideset_count
virtual int64_t sideset_count() const
Definition: Iogs_GeneratedMesh.C:329
Ioss::Int64Vector
std::vector< int64_t > Int64Vector
Definition: Ioss_CodeTypes.h:26
Iogs::GeneratedMesh::offY
double offY
Definition: Iogs_GeneratedMesh.h:395
Iogs::GeneratedMesh::structured_block_count
virtual int64_t structured_block_count() const
Definition: Iogs_GeneratedMesh.C:327
Iogs::GeneratedMesh::doRotation
bool doRotation
Definition: Iogs_GeneratedMesh.h:400
Iogs::GeneratedMesh::offX
double offX
Definition: Iogs_GeneratedMesh.h:395
Iogs::GeneratedMesh::get_variable_count
size_t get_variable_count(Ioss::EntityType type) const
Definition: Iogs_GeneratedMesh.h:366
Iogs::GeneratedMesh::get_num_y
int64_t get_num_y() const
Definition: Iogs_GeneratedMesh.h:363
Iogs::GeneratedMesh::node_count_proc
virtual int64_t node_count_proc() const
Definition: Iogs_GeneratedMesh.C:325
Ioss::IJK_t
std::array< int, 3 > IJK_t
Definition: Ioss_CodeTypes.h:28
Iogs::GeneratedMesh::myStartZ
size_t myStartZ
Definition: Iogs_GeneratedMesh.h:387
Iogs::GeneratedMesh
Definition: Iogs_GeneratedMesh.h:24
Iogs::GeneratedMesh::element_surface_map
void element_surface_map(ShellLocation loc, MapVector &map) const
Definition: Iogs_GeneratedMesh.C:524
Iogs::GeneratedMesh::element_count_proc
virtual int64_t element_count_proc() const
Definition: Iogs_GeneratedMesh.C:337
Iogs::GeneratedMesh::~GeneratedMesh
virtual ~GeneratedMesh()
Iogs::GeneratedMesh::raw_connectivity
void raw_connectivity(int64_t block_number, INT *connect) const
Definition: Iogs_GeneratedMesh.C:788
Iogs::GeneratedMesh::block_range
Ioss::IJK_t block_range(int64_t) const
Definition: Iogs_GeneratedMesh.h:215
Iogs::GeneratedMesh::MY
@ MY
Definition: Iogs_GeneratedMesh.h:26
Iogs::GeneratedMesh::rotmat
std::array< std::array< double, 3 >, 3 > rotmat
Definition: Iogs_GeneratedMesh.h:385
Iogs::GeneratedMesh::coordinates
virtual void coordinates(std::vector< double > &coord) const
Definition: Iogs_GeneratedMesh.C:603
Iogs::GeneratedMesh::sideset_elem_sides
virtual void sideset_elem_sides(int64_t id, Ioss::Int64Vector &elem_sides) const
Definition: Iogs_GeneratedMesh.C:820
Iogs::GeneratedMesh::element_count
virtual int64_t element_count() const
Definition: Iogs_GeneratedMesh.C:331
Iogs::GeneratedMesh::sidesets
std::vector< ShellLocation > sidesets
Definition: Iogs_GeneratedMesh.h:384
Iogs::GeneratedMesh::initialize
void initialize()
Definition: Iogs_GeneratedMesh.C:55
Iogs::GeneratedMesh::set_bbox
void set_bbox(double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)
Definition: Iogs_GeneratedMesh.C:115
Iogs::GeneratedMesh::sclX
double sclX
Definition: Iogs_GeneratedMesh.h:396
Iogs::GeneratedMesh::node_communication_map
virtual void node_communication_map(MapVector &map, std::vector< int > &proc)
Definition: Iogs_GeneratedMesh.C:456
Iogs::GeneratedMesh::show_parameters
void show_parameters() const
Definition: Iogs_GeneratedMesh.C:292
Ioss_CodeTypes.h
Ioex::set_id
bool set_id(const Ioss::GroupingEntity *entity, ex_entity_type type, Ioex::EntityIdSet *idset)
Definition: Ioex_Utils.C:292
Iogs::GeneratedMesh::get_num_x
int64_t get_num_x() const
Definition: Iogs_GeneratedMesh.h:362
Iogs::GeneratedMesh::sclZ
double sclZ
Definition: Iogs_GeneratedMesh.h:396
Iogs::GeneratedMesh::MX
@ MX
Definition: Iogs_GeneratedMesh.h:26
Iogs::GeneratedMesh::add_sideset
int64_t add_sideset(ShellLocation loc)
Definition: Iogs_GeneratedMesh.C:109
Iogs::GeneratedMesh::timestep_count
int64_t timestep_count() const
Definition: Iogs_GeneratedMesh.h:232