IOSS 2.0

Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Iogn::GeneratedMesh Class Reference

`#include <Iogn_GeneratedMesh.h>`

Inheritance diagram for Iogn::GeneratedMesh:
[legend]

## Public Types
enum | ShellLocation { MX = 0, PX = 1, MY = 2, PY = 3, MZ = 4, PZ = 5 }

## Public Member Functions
| GeneratedMesh (const std::string &parameters, int proc_count=1, int my_proc=0)
| GeneratedMesh (int64_t num_x, int64_t num_y, int64_t num_z, int proc_count=1, int my_proc=0)
| GeneratedMesh ()
virtual | ~GeneratedMesh ()
void | create_tets (bool yesno)
int64_t | add_shell_block (ShellLocation loc)
int64_t | add_nodeset (ShellLocation loc)
int64_t | add_sideset (ShellLocation loc)
void | set_scale (double scl_x, double scl_y, double scl_z)
void | set_offset (double off_x, double off_y, double off_z)
void | set_bbox (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)
void | set_rotation (const std::string &axis, double angle_degrees)
virtual int64_t | node_count () const
virtual int64_t | node_count_proc () const
virtual int64_t | block_count () const
virtual int64_t | nodeset_count () const
int64_t | nodeset_node_count (int64_t id) const
virtual int64_t | nodeset_node_count_proc (int64_t id) const
virtual int64_t | sideset_count () const
int64_t | sideset_side_count (int64_t id) const
virtual int64_t | sideset_side_count_proc (int64_t id) const
virtual int64_t | element_count () const
int64_t | shell_element_count (ShellLocation) const
virtual int64_t | element_count_proc () const
int64_t | shell_element_count_proc (ShellLocation) const
int64_t | timestep_count () const
virtual int64_t | element_count (int64_t block_number) const
virtual int64_t | element_count_proc (int64_t block_number) const
virtual std::pair< std::string, int > | topology_type (int64_t block_number) const
void | build_node_map (Ioss::Int64Vector &map, std::vector< int > &proc, int64_t slab, size_t slabOffset, size_t adjacentProc, size_t index)
virtual int64_t | communication_node_count_proc () const
virtual void | node_communication_map (MapVector &map, std::vector< int > &proc)
virtual void | owning_processor (int *owner, int64_t num_node)
virtual void | node_map (MapVector &map) const
virtual void | node_map (Ioss::IntVector &map) const
virtual void | element_map (int64_t block_number, MapVector &map) const
virtual void | element_map (int64_t block_number, Ioss::IntVector &map) const
virtual void | element_map (MapVector &map) const
virtual void | element_map (Ioss::IntVector &map) const
void | element_surface_map (ShellLocation loc, MapVector &map) const
void | connectivity (int64_t block_number, Ioss::Int64Vector &connect) const
void | connectivity (int64_t block_number, Ioss::IntVector &connect) const
void | connectivity (int64_t block_number, int64_t *connect) const
virtual void | connectivity (int64_t block_number, int *connect) const
virtual void | coordinates (std::vector< double > &coord) const
virtual void | coordinates (double *coord) const
virtual void | coordinates (std::vector< double > &x, std::vector< double > &y, std::vector< double > &z) const
virtual void | coordinates (int component, std::vector< double > &xyz) const
virtual void | nodeset_nodes (int64_t id, Ioss::Int64Vector &nodes) const
virtual void | sideset_elem_sides (int64_t id, Ioss::Int64Vector &elem_sides) const
virtual std::vector< std::string > | sideset_touching_blocks (int64_t set_id) const
int64_t | get_num_x () const
int64_t | get_num_y () const
int64_t | get_num_z () const
size_t | get_variable_count (Ioss::EntityType type) const

## Private Member Functions
template<typename INT >
void | raw_element_map (int64_t block_number, std::vector< INT > &map) const
template<typename INT >
void | raw_element_map (std::vector< INT > &map) const
template<typename INT >
void | raw_connectivity (int64_t block_number, INT *connect) const
| GeneratedMesh (const GeneratedMesh &)
GeneratedMesh & | operator= (const GeneratedMesh &)
void | set_variable_count (const std::string &type, size_t count)
void | parse_options (const std::vector< std::string > &groups)
void | show_parameters () const
void | initialize ()

## Private Attributes
std::vector< ShellLocation > | shellBlocks
std::vector< ShellLocation > | nodesets
std::vector< ShellLocation > | sidesets
std::array< std::array< double, 3 >, 3 > | rotmat
size_t | numX
size_t | numY
size_t | numZ
size_t | myNumZ
size_t | myStartZ
size_t | processorCount
size_t | myProcessor
size_t | timestepCount
std::map< Ioss::EntityType, size_t > | variableCount
double | offX
double | offY
double | offZ
double | sclX
double | sclY
double | sclZ
bool | doRotation
bool | createTets

## Member Enumeration Documentation

## ◆ ShellLocation

enum Iogn::GeneratedMesh::ShellLocation

Enumerator
MX |
PX |
MY |
PY |
MZ |
PZ |

## Constructor & Destructor Documentation

## ◆ GeneratedMesh() [1/4]

Iogn::GeneratedMesh::GeneratedMesh | ( | const std::string & | parameters,
|  | int | proc_count = `1`,
|  | int | my_proc = `0`
| ) |  |
| explicit

Generate a cube mesh of size 'num_x' by 'num_y' by 'num_z' elements. By default, the mesh is generated on a single processor. If 'proc_count' is greater than 1, then the mesh will be distributed over 'proc_count' processors and this process will get the portion of the mesh for 'my_proc'. The mesh will be decomposed along the 'Z' axis so 'num_z' must be greater than or equal to 'proc_count' and for even distribution of the hexes 'num_z' mod 'proc_count' should be zero.

The mesh can optionally include shell elements along each face of the cube mesh. These are specified via the 'add_shell_block' function.

The mesh can optionally include nodesets/sidesets along each face of the cube mesh. These are specified via the 'add_nodesets' and 'add_sidesets' functions.

If the 'parameters' string constructor is used, the string is parsed to determine the intervals in each direction and, optionally, additional information. The form of the string is "IxJxK" where I, J, and K are the number of intervals in the X, Y, and Z directions respectively and the "x" are literal 'x' characters. For example, the constructor GeneratedMesh("10x12x14") will create the same mesh as GeneratedMesh(10,12,14)

Additional valid options are:

- help – no argument, shows valid options
- show – no argument, prints out a summary of the GeneratedMesh() parameters. The output will look similar to:
  "10x12x8|shell:xX|bbox:-10,-10,-10,10,10,10|nodeset:xyz|sideset:XYZ|show"
  Mesh Parameters:
  Intervals: 10 by 12 by 8
  X = 2 * (0..10) + -10 Range: -10 <= X <= 10
  Y = 1.66667 * (0..12) + -10 Range: -10 <= Y <= 10
  Z = 2.5 * (0..8) + -10 Range: -10 <= Z <= 10
  Node Count (total) = 1287
  Element Count (total) = 1152
  Block Count = 3
  NodeSet Count = 3
  SideSet Count = 3
- tets – no argument - specifies that each hex should be split into 6 tetrahedral elements. Cannot currently be used with shells or sidesets.
- shell – argument = xXyYzZ which specifies whether there is a shell block at that location. 'x' is minimum x face, 'X' is maximum x face, similarly for y and z. Note that the argument string is a single multicharacter string. You can add multiple shell blocks to a face, for example, shell:xxx would add three layered shell blocks on the minimum x face. An error is output if a non xXyYzZ character is found, but execution continues.
- nodeset – argument = xXyYzZ which specifies whether there is a nodeset at that location. 'x' is minimum x face, 'X' is maximum x face, similarly for y and z. Note that the argument string is a single multicharacter string. You can add multiple nodesets to a face, for example, nodeset:xxx would add three nodesets on the minimum x face. An error is output if a non xXyYzZ character is found, but execution continues.
- sideset – argument = xXyYzZ which specifies whether there is a sideset at that location. 'x' is minimum x face, 'X' is maximum x face, similarly for y and z. Note that the argument string is a single multicharacter string. You can add multiple sidesets to a face, for example, sideset:xxx would add three sidesets on the minimum x face. An error is output if a non xXyYzZ character is found, but execution continues. If there is a shell block specified on that face, then the sideset will be on the shell elements; else the sideset will be on the hex elements.
- zdecomp – argument = n0, n1, n2, ..., n::proc-1 which are the number of intervals in the z direction for each processor in a pallel run. If this option is specified, then the total number of intervals in the z direction is the sum of the n0, n1, ... An interval count must be specified for each processor. If this option is not specified, then the number of intervals on each processor in the z direction is numZ/numProc with the extras added to the lower numbered processors.
- scale – argument = xs, ys, zs which are the scale factors in the x, y, and z directions. All three must be specified if this option is present.
- offset – argument = xoff, yoff, zoff which are the offsets in the x, y, and z directions. All three must be specified if this option is present.
- bbox – argument = xmin, ymin, zmin, xmax, ymax, zmax which specify the lower left and upper right corners of the bounding box for the generated mesh. This will calculate the scale and offset which will fit the mesh in the specified box. All calculations are based on the currently active interval settings. If scale or offset or zdecomp specified later in the option list, you may not get the desired bounding box.
- rotate – argument = axis,angle,axis,angle,... where axis is 'x', 'y', or 'z' and angle is the rotation angle in degrees. Multiple rotations are cumulative. The composite rotation matrix is applied at the time the coordinates are retrieved after scaling and offset are applied.

The unrotated coordinate of a node at grid location i,j,k is:

x = x_scale * i + x_off,
y = z_scale * j + y_off,
z = z_scale * k + z_off,

The extent of the unrotated mesh will be:

x_off <= x <= x_scale * numX + x_off
y_off <= y <= y_scale * numY + y_off
z_off <= z <= z_scale * numZ + z_off

If an unrecognized option is specified, an error message will be output and execution will continue.

An example of valid input is:

"10x20x40|scale:1,0.5,0.25|offset:-5,-5,-5|shell:xX"

This would create a mesh with 10 intervals in x, 20 in y, 40 in z The mesh would be centered on 0,0,0 with a range of 10 in each direction. There would be a shell layer on the min and max x faces.

NOTE: All options are processed in the order they appear in the parameters string (except rotate which is applied at the time the coordinates are generated/retrieved)

## ◆ GeneratedMesh() [2/4]

Iogn::GeneratedMesh::GeneratedMesh | ( | int64_t | num_x,
|  | int64_t | num_y,
|  | int64_t | num_z,
|  | int | proc_count = `1`,
|  | int | my_proc = `0`
| ) |  |

## ◆ GeneratedMesh() [3/4]

Iogn::GeneratedMesh::GeneratedMesh | ( |  | ) |

## ◆ ~GeneratedMesh()

Iogn::GeneratedMesh::~GeneratedMesh | ( |  | ) |
| virtual default

## ◆ GeneratedMesh() [4/4]

Iogn::GeneratedMesh::GeneratedMesh | ( | const GeneratedMesh & |  | ) |
| private

## Member Function Documentation

## ◆ add_nodeset()

int64_t Iogn::GeneratedMesh::add_nodeset | ( | ShellLocation | loc | ) |

Add a nodeset along the specified face of the hex mesh. The nodesets will maintain the order of definition. The first nodeset defined will be nodeset 1. The loc options are:

- MX = add nodeset on the face with minimum X
- PX = add nodeset on the face with maximum X
- MY = add nodeset on the face with minimum Y
- PY = add nodeset on the face with maximum Y
- MZ = add nodeset on the face with minimum Z
- PZ = add nodeset on the face with maximum Z

## ◆ add_shell_block()

int64_t Iogn::GeneratedMesh::add_shell_block | ( | ShellLocation | loc | ) |

Add a shell block along the specified face of the hex mesh. The shell blocks will maintain the order of definition. The first shell block defined will be block 2; the hex block has id

1. The loc options are:

- MX = add shell layer on the face with minimum X
- PX = add shell layer on the face with maximum X
- MY = add shell layer on the face with minimum Y
- PY = add shell layer on the face with maximum Y
- MZ = add shell layer on the face with minimum Z
- PZ = add shell layer on the face with maximum Z

## ◆ add_sideset()

int64_t Iogn::GeneratedMesh::add_sideset | ( | ShellLocation | loc | ) |

Add a sideset along the specified face of the hex mesh. The sidesets will maintain the order of definition. The first sideset defined will be sideset 1. If there is a shell block specified on that face, then the sideset will be on the shell elements; otherwise the sideset will be on the hex elements. The loc options are:

- MX = add sideset on the face with minimum X
- PX = add sideset on the face with maximum X
- MY = add sideset on the face with minimum Y
- PY = add sideset on the face with maximum Y
- MZ = add sideset on the face with minimum Z
- PZ = add sideset on the face with maximum Z

## ◆ block_count()

int64_t Iogn::GeneratedMesh::block_count | ( |  | ) | const
| virtual

Return number of element blocks in the entire model.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ build_node_map()

void Iogn::GeneratedMesh::build_node_map | ( | Ioss::Int64Vector & | map,
|  | std::vector< int > & | proc,
|  | int64_t | slab,
|  | size_t | slabOffset,
|  | size_t | adjacentProc,
|  | size_t | index
| ) |  |

## ◆ communication_node_count_proc()

int64_t Iogn::GeneratedMesh::communication_node_count_proc | ( |  | ) | const
| virtual

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ connectivity() [1/4]

void Iogn::GeneratedMesh::connectivity | ( | int64_t | block_number,
|  | int * | connect
| ) |  | const
| virtual

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ connectivity() [2/4]

void Iogn::GeneratedMesh::connectivity | ( | int64_t | block_number,
|  | int64_t * | connect
| ) |  | const

## ◆ connectivity() [3/4]

void Iogn::GeneratedMesh::connectivity | ( | int64_t | block_number,
|  | Ioss::Int64Vector & | connect
| ) |  | const

Return the connectivity for the elements on this processor in the block with id 'block_number'. If the elements in this block have 'npe' nodes per element, then the first 'npe' entries in the 'conn' vector will be the nodal connectivity for the first element; the next 'npe' entries are the nodal connectivity for the second element. The 'connect' vector will be resized to the size required to contain the nodal connectivity for the specified block; all information in 'connect' will be overwritten.

## ◆ connectivity() [4/4]

void Iogn::GeneratedMesh::connectivity | ( | int64_t | block_number,
|  | Ioss::IntVector & | connect
| ) |  | const

## ◆ coordinates() [1/4]

void Iogn::GeneratedMesh::coordinates | ( | double * | coord | ) | const
| virtual

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ coordinates() [2/4]

void Iogn::GeneratedMesh::coordinates | ( | int | component,
|  | std::vector< double > & | xyz
| ) |  | const
| virtual

Return the coordinates for componenet 'comp' (1=x, 2=y, 3=z) for all nodes on this processor. The vector will be resized to the size required to contain the nodal coordinates; all information in the vector will be overwritten. It is an error to request the coordinates via this function if a rotation is defined.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ coordinates() [3/4]

void Iogn::GeneratedMesh::coordinates | ( | std::vector< double > & | coord | ) | const
| virtual

Return the coordinates for all nodes on this processor. The first 3 entries in the 'coord' vector are the x, y, and z coordinates of the first node, etc. The 'coord' vector will be resized to the size required to contain the nodal coordinates; all information in 'coord' will be overwritten.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ coordinates() [4/4]

void Iogn::GeneratedMesh::coordinates | ( | std::vector< double > & | x,
|  | std::vector< double > & | y,
|  | std::vector< double > & | z
| ) |  | const
| virtual

Return the coordinates for all nodes on this processor in separate vectors. The vectors will be resized to the size required to contain the nodal coordinates; all information in the vectors will be overwritten.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ create_tets()

void Iogn::GeneratedMesh::create_tets | ( | bool | yesno | ) |

Split each hexahedral element into 6 tetrahedral elements. Cannot currently be used with sidesets or shells.

## ◆ element_count() [1/2]

int64_t Iogn::GeneratedMesh::element_count | ( |  | ) | const
| virtual

Return number of elements in all element blocks in the model.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ element_count() [2/2]

int64_t Iogn::GeneratedMesh::element_count | ( | int64_t | block_number | ) | const
| virtual

Return number of elements in the element block with id 'block_number'. The 'block_number' ranges from '1' to 'block_count()'.

Reimplemented in Iogn::DashSurfaceMesh, and Iogn::ExodusMesh.

## ◆ element_count_proc() [1/2]

int64_t Iogn::GeneratedMesh::element_count_proc | ( |  | ) | const
| virtual

Return number of elements in all element blocks on this processor.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ element_count_proc() [2/2]

int64_t Iogn::GeneratedMesh::element_count_proc | ( | int64_t | block_number | ) | const
| virtual

Return number of elements on this processor in the element block with id 'block_number'. The 'block_number' ranges from '1' to 'block_count()'.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ element_map() [1/4]

void Iogn::GeneratedMesh::element_map | ( | int64_t | block_number,
|  | Ioss::IntVector & | map
| ) |  | const
| virtual

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ element_map() [2/4]

void Iogn::GeneratedMesh::element_map | ( | int64_t | block_number,
|  | MapVector & | map
| ) |  | const
| virtual

Fill the passed in 'map' argument with the element map "map[local_position] = global_id" for the elements on this processor in block "block_number".

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ element_map() [3/4]

void Iogn::GeneratedMesh::element_map | ( | Ioss::IntVector & | map | ) | const
| virtual

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ element_map() [4/4]

void Iogn::GeneratedMesh::element_map | ( | MapVector & | map | ) | const
| virtual

Fill the passed in 'map' argument with the element map "map[local_position] = global_id" for all elements on this processor

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ element_surface_map()

void Iogn::GeneratedMesh::element_surface_map | ( | ShellLocation | loc,
|  | MapVector & | map
| ) |  | const

Fill the passed in 'map' argument with the element map pair "map[local_position] = element global_id" and "map[local_position+1] = element local face id (0-based)" for all elements on the current processor having a face on the surface defined by ShellLocation.

## ◆ get_num_x()

int64_t Iogn::GeneratedMesh::get_num_x | ( |  | ) | const
| inline

## ◆ get_num_y()

int64_t Iogn::GeneratedMesh::get_num_y | ( |  | ) | const
| inline

## ◆ get_num_z()

int64_t Iogn::GeneratedMesh::get_num_z | ( |  | ) | const
| inline

## ◆ get_variable_count()

size_t Iogn::GeneratedMesh::get_variable_count | ( | Ioss::EntityType | type | ) | const
| inline

## ◆ initialize()

void Iogn::GeneratedMesh::initialize | ( |  | ) |
| private

## ◆ node_communication_map()

void Iogn::GeneratedMesh::node_communication_map | ( | MapVector & | map,
|  | std::vector< int > & | proc
| ) |  |
| virtual

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ node_count()

int64_t Iogn::GeneratedMesh::node_count | ( |  | ) | const
| virtual

Return number of nodes in the entire model.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ node_count_proc()

int64_t Iogn::GeneratedMesh::node_count_proc | ( |  | ) | const
| virtual

Return number of nodes on this processor.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ node_map() [1/2]

void Iogn::GeneratedMesh::node_map | ( | Ioss::IntVector & | map | ) | const
| virtual

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ node_map() [2/2]

void Iogn::GeneratedMesh::node_map | ( | MapVector & | map | ) | const
| virtual

Fill the passed in 'map' argument with the node map "map[local_position] = global_id" for the nodes on this processor.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ nodeset_count()

int64_t Iogn::GeneratedMesh::nodeset_count | ( |  | ) | const
| virtual

Return number of nodesets in the entire model.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ nodeset_node_count()

int64_t Iogn::GeneratedMesh::nodeset_node_count | ( | int64_t | id | ) | const

Return number of nodeset nodes on nodeset 'id'

## ◆ nodeset_node_count_proc()

int64_t Iogn::GeneratedMesh::nodeset_node_count_proc | ( | int64_t | id | ) | const
| virtual

Return number of nodeset nodes on nodeset 'id' on the current processor

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ nodeset_nodes()

void Iogn::GeneratedMesh::nodeset_nodes | ( | int64_t | id,
|  | Ioss::Int64Vector & | nodes
| ) |  | const
| virtual

Return the list of nodes in nodeset 'id' on this processor. The 'nodes' vector will be resized to the size required to contain the node list. The ids are global ids.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ operator=()

GeneratedMesh& Iogn::GeneratedMesh::operator= | ( | const GeneratedMesh & |  | ) |
| private

## ◆ owning_processor()

void Iogn::GeneratedMesh::owning_processor | ( | int * | owner,
|  | int64_t | num_node
| ) |  |
| virtual

## ◆ parse_options()

void Iogn::GeneratedMesh::parse_options | ( | const std::vector< std::string > & | groups | ) |
| private

## ◆ raw_connectivity()

template<typename INT >

void Iogn::GeneratedMesh::raw_connectivity | ( | int64_t | block_number,
|  | INT * | connect
| ) |  | const
| private

## ◆ raw_element_map() [1/2]

template<typename INT >

void Iogn::GeneratedMesh::raw_element_map | ( | int64_t | block_number,
|  | std::vector< INT > & | map
| ) |  | const
| private

## ◆ raw_element_map() [2/2]

template<typename INT >

void Iogn::GeneratedMesh::raw_element_map | ( | std::vector< INT > & | map | ) | const
| private

## ◆ set_bbox()

void Iogn::GeneratedMesh::set_bbox | ( | double | xmin,
|  | double | ymin,
|  | double | zmin,
|  | double | xmax,
|  | double | ymax,
|  | double | zmax
| ) |  |

## ◆ set_offset()

void Iogn::GeneratedMesh::set_offset | ( | double | off_x,
|  | double | off_y,
|  | double | off_z
| ) |  |

## ◆ set_rotation()

void Iogn::GeneratedMesh::set_rotation | ( | const std::string & | axis,
|  | double | angle_degrees
| ) |  |

Set rotation. Multiple calls are cumulative. Rotate 'angle_degrees' degrees about the axis 'axis' Center of rotation is about the origin and operates on the scaled/offset coordinates of the mesh.

## ◆ set_scale()

void Iogn::GeneratedMesh::set_scale | ( | double | scl_x,
|  | double | scl_y,
|  | double | scl_z
| ) |  |

Specify the coordinate scaling and offset in all three spatial dimensions.

node location of node at (i,j,k) is

X = scale X * i + offset X
Y = scale Y * i + offset Y
Z = scale Z * i + offset Z

WARNING: Should be called before retrieving node coordinates.

## ◆ set_variable_count()

void Iogn::GeneratedMesh::set_variable_count | ( | const std::string & | type,
|  | size_t | count
| ) |  |
| private

## ◆ shell_element_count()

int64_t Iogn::GeneratedMesh::shell_element_count | ( | ShellLocation | loc | ) | const

Return number of shell elements in all element blocks in the model.

## ◆ shell_element_count_proc()

int64_t Iogn::GeneratedMesh::shell_element_count_proc | ( | ShellLocation | loc | ) | const

Return number of shell elements in all element blocks on this processor.

## ◆ show_parameters()

void Iogn::GeneratedMesh::show_parameters | ( |  | ) | const
| private

## ◆ sideset_count()

int64_t Iogn::GeneratedMesh::sideset_count | ( |  | ) | const
| virtual

Return number of sidesets in the entire model.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ sideset_elem_sides()

void Iogn::GeneratedMesh::sideset_elem_sides | ( | int64_t | id,
|  | Ioss::Int64Vector & | elem_sides
| ) |  | const
| virtual

Return the list of the face/ordinal pairs "elem_sides[local_position] = element global_id" and "elem_sides[local_position+1] = element local face id (0-based)" for the faces in sideset 'id' on this processor. The 'elem_sides' vector will be resized to the size required to contain the list. The element ids are global ids, the side ordinal is 0-based.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ sideset_side_count()

int64_t Iogn::GeneratedMesh::sideset_side_count | ( | int64_t | id | ) | const

Return number of sideset 'sides' on sideset 'id'

## ◆ sideset_side_count_proc()

int64_t Iogn::GeneratedMesh::sideset_side_count_proc | ( | int64_t | id | ) | const
| virtual

Return number of sideset 'sides' on sideset 'id' on the current processor.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## ◆ sideset_touching_blocks()

std::vector< std::string > Iogn::GeneratedMesh::sideset_touching_blocks | ( | int64_t | set_id | ) | const
| virtual

Reimplemented in Iogn::ExodusMesh.

## ◆ timestep_count()

int64_t Iogn::GeneratedMesh::timestep_count | ( |  | ) | const
| inline

## ◆ topology_type()

std::pair< std::string, int > Iogn::GeneratedMesh::topology_type | ( | int64_t | block_number | ) | const
| virtual

Returns pair containing "topology type string" and "number of nodes / element". The topology type string will be "hex8" for the hex element block and "shell4" for the shell element blocks.

Reimplemented in Iogn::ExodusMesh, and Iogn::DashSurfaceMesh.

## Member Data Documentation

## ◆ createTets

bool Iogn::GeneratedMesh::createTets
| private

## ◆ doRotation

bool Iogn::GeneratedMesh::doRotation
| private

Scale in X, Y, and Z directions location of node at (i,j,k) position is (sclX*i+offX, sclY*i+offY, sclZ*i+offZ)

## ◆ myNumZ

size_t Iogn::GeneratedMesh::myNumZ
| private

## ◆ myProcessor

size_t Iogn::GeneratedMesh::myProcessor
| private

## ◆ myStartZ

size_t Iogn::GeneratedMesh::myStartZ
| private

## ◆ nodesets

std::vector<ShellLocation> Iogn::GeneratedMesh::nodesets
| private

## ◆ numX

size_t Iogn::GeneratedMesh::numX
| private

## ◆ numY

size_t Iogn::GeneratedMesh::numY
| private

## ◆ numZ

size_t Iogn::GeneratedMesh::numZ
| private

## ◆ offX

double Iogn::GeneratedMesh::offX
| private

## ◆ offY

double Iogn::GeneratedMesh::offY
| private

## ◆ offZ

double Iogn::GeneratedMesh::offZ
| private

## ◆ processorCount

size_t Iogn::GeneratedMesh::processorCount
| private

## ◆ rotmat

std::array<std::array<double, 3>, 3> Iogn::GeneratedMesh::rotmat
| private

## ◆ sclX

double Iogn::GeneratedMesh::sclX
| private

Offsets in X, Y, and Z directions

## ◆ sclY

double Iogn::GeneratedMesh::sclY
| private

## ◆ sclZ

double Iogn::GeneratedMesh::sclZ
| private

## ◆ shellBlocks

std::vector<ShellLocation> Iogn::GeneratedMesh::shellBlocks
| private

## ◆ sidesets

std::vector<ShellLocation> Iogn::GeneratedMesh::sidesets
| private

## ◆ timestepCount

size_t Iogn::GeneratedMesh::timestepCount
| private

## ◆ variableCount

std::map<Ioss::EntityType, size_t> Iogn::GeneratedMesh::variableCount
| private

The documentation for this class was generated from the following files:

- src/generated/Iogn_GeneratedMesh.h
- src/generated/Iogn_GeneratedMesh.C

anonymous_namespace{Ioss_ConcreteVariableType.C}::Y
const std::string Y()
Definition: Ioss_ConcreteVariableType.C:41
Iogn::GeneratedMesh::numY
size_t numY
Definition: Iogn_GeneratedMesh.h:495
Iogn::GeneratedMesh::numZ
size_t numZ
Definition: Iogn_GeneratedMesh.h:495
anonymous_namespace{Ioss_ConcreteVariableType.C}::X
const std::string X()
Definition: Ioss_ConcreteVariableType.C:40
Iogn::GeneratedMesh::numX
size_t numX
Definition: Iogn_GeneratedMesh.h:495
anonymous_namespace{Ioss_ConcreteVariableType.C}::Z
const std::string Z()
Definition: Ioss_ConcreteVariableType.C:42