Go to the documentation of this file.
35 #ifndef IOSS_Ioex_Internals_h
36 #define IOSS_Ioex_Internals_h
416 const std::string &base_file_name);
435 int put_metadata(
const std::vector<NodeBlock> &nodeblocks,
bool count_only =
false);
436 int put_metadata(
const std::vector<EdgeBlock> &blocks,
bool count_only =
false);
437 int put_metadata(
const std::vector<FaceBlock> &blocks,
bool count_only =
false);
438 int put_metadata(
const std::vector<ElemBlock> &blocks,
bool count_only =
false);
440 int put_metadata(
const std::vector<NodeSet> &nodesets,
bool count_only =
false);
441 int put_metadata(
const std::vector<EdgeSet> &edgesets,
bool count_only =
false);
442 int put_metadata(
const std::vector<FaceSet> &facesets,
bool count_only =
false);
443 int put_metadata(
const std::vector<ElemSet> &elemsets,
bool count_only =
false);
445 int put_metadata(
const std::vector<SideSet> &sidesets,
bool count_only =
false);
Definition: Ioex_Internals.h:324
bool operator==(const CommunicationMap &) const
Definition: Ioex_Internals.C:468
bool operator==(const FaceBlock &) const
Definition: Ioex_Internals.C:244
int dimensionality
Definition: Ioex_Internals.h:393
bool operator==(const EdgeSet &) const
Definition: Ioex_Internals.C:368
std::vector< EdgeSet > edgesets
Definition: Ioex_Internals.h:401
std::string name
Definition: Ioex_Internals.h:300
int64_t entityCount
Definition: Ioex_Internals.h:253
int64_t attributeCount
Definition: Ioex_Internals.h:303
int64_t attributeCount
Definition: Ioex_Internals.h:238
int64_t procOffset
Definition: Ioex_Internals.h:320
int64_t entityCount
Definition: Ioex_Internals.h:158
int64_t entityCount
Definition: Ioex_Internals.h:318
int64_t procOffset
Definition: Ioex_Internals.h:257
Definition: Ioex_Internals.h:204
std::string name
Definition: Ioex_Internals.h:232
int64_t nodesPerEntity
Definition: Ioex_Internals.h:235
int64_t offset_
Definition: Ioex_Internals.h:239
static void copy_string(char *dest, char const *source, size_t elements)
Definition: Ioss_Utils.C:1372
NodeBlock & operator=(const NodeBlock &other)
Definition: Ioex_Internals.C:150
bool operator!=(const FaceBlock &other) const
Definition: Ioex_Internals.h:190
Internals & operator=(const Internals &from)=delete
int64_t dfProcOffset
Definition: Ioex_Internals.h:321
Redefine & operator=(const Redefine &from)=delete
int64_t procOffset
Definition: Ioex_Internals.h:199
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:155
int put_non_define_data(const CommunicationMetaData &comm)
Definition: Ioex_Internals.C:2252
Mesh()
Definition: Ioex_Internals.h:383
std::vector< FaceSet > facesets
Definition: Ioex_Internals.h:402
int64_t edgesPerEntity
Definition: Ioex_Internals.h:197
std::vector< SideSet > sidesets
Definition: Ioex_Internals.h:404
entity_id id
Definition: Ioex_Internals.h:194
int64_t dfCount
Definition: Ioex_Internals.h:256
int write_meta_data(Mesh &mesh)
Definition: Ioex_Internals.C:852
CommunicationMetaData comm
Definition: Ioex_Internals.h:405
A collection of element edges with the same topology.
Definition: Ioss_EdgeBlock.h:53
int exodusFilePtr
Definition: Ioex_Internals.h:377
bool operator==(const EdgeBlock &) const
Definition: Ioex_Internals.C:195
The main namespace for the Ioss library.
Definition: Ioad_DatabaseIO.C:66
Ioss::ParallelUtils parallelUtil
Definition: Ioex_Internals.h:468
std::string name
Definition: Ioex_Internals.h:316
A grouping entity that contains other grouping entities.
Definition: Ioss_Region.h:98
ElemBlock(const ElemBlock &other)
Definition: Ioex_Internals.h:213
int64_t attributeCount
Definition: Ioex_Internals.h:255
A collection of nodes.
Definition: Ioss_NodeSet.h:53
int64_t dfCount
Definition: Ioex_Internals.h:319
entity_id id
Definition: Ioex_Internals.h:333
int64_t attributeCount
Definition: Ioex_Internals.h:128
int maximumNameLength
Definition: Ioex_Internals.h:467
EdgeBlock & operator=(const EdgeBlock &other)
Definition: Ioex_Internals.C:183
A collection of element faces.
Definition: Ioss_FaceSet.h:54
int max_name_length() const
Definition: Ioex_Internals.h:460
std::vector< FaceBlock > faceblocks
Definition: Ioex_Internals.h:398
bool file_per_processor
Definition: Ioex_Internals.h:394
bool operator==(const FaceSet &) const
Definition: Ioex_Internals.C:390
int64_t dfCount
Definition: Ioex_Internals.h:304
int initialize_state_file(Mesh &mesh, const ex_var_params &var_params, const std::string &base_file_name)
Definition: Ioex_Internals.C:479
void populate(Ioss::Region *region)
Definition: Ioex_Internals.C:770
std::vector< EdgeBlock > edgeblocks
Definition: Ioex_Internals.h:397
A collection of element edges.
Definition: Ioss_EdgeSet.h:54
A collection of elements.
Definition: Ioss_ElementSet.h:54
int exodusFilePtr
Definition: Ioex_Internals.h:462
Redefine(int exoid)
Definition: Ioex_Internals.C:94
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:231
int64_t attributeCount
Definition: Ioex_Internals.h:160
int64_t entity_id
Definition: Ioex_Internals.h:74
bool operator!=(const EdgeBlock &other) const
Definition: Ioex_Internals.h:153
EdgeBlock()
Definition: Ioex_Internals.h:136
int elemCommIndexVar
Definition: Ioex_Internals.h:466
bool operator!=(const NodeSet &other) const
Definition: Ioex_Internals.h:249
std::string name
Definition: Ioex_Internals.h:268
int elementMapVarID[2]
Definition: Ioex_Internals.h:464
Definition: Ioex_Internals.h:292
A collection of element faces with the same topology.
Definition: Ioss_FaceBlock.h:53
int64_t attributeCount
Definition: Ioex_Internals.h:198
int64_t localOwnedCount
Definition: Ioex_Internals.h:127
int nodeMapVarID[3]
Definition: Ioex_Internals.h:463
Definition: Ioex_Internals.h:368
A namespace for the exodus database format.
Definition: Ioex_IOFactory.C:62
int64_t localOwnedCount
Definition: Ioex_Internals.h:254
Definition: Ioex_Internals.h:111
int64_t dfCount
Definition: Ioex_Internals.h:288
bool operator!=(const CommunicationMap &other) const
Definition: Ioex_Internals.h:332
int64_t nodesPerEntity
Definition: Ioex_Internals.h:159
A collection of element sides having the same topology.
Definition: Ioss_SideBlock.h:59
bool operator==(const SideSet &) const
Definition: Ioex_Internals.C:462
int64_t facesPerEntity
Definition: Ioex_Internals.h:237
std::vector< NodeSet > nodesets
Definition: Ioex_Internals.h:400
FaceBlock(const FaceBlock &other)
Definition: Ioex_Internals.h:175
~Redefine()
Definition: Ioex_Internals.C:107
entity_id id
Definition: Ioex_Internals.h:233
int64_t entityCount
Definition: Ioex_Internals.h:234
EdgeBlock(const EdgeBlock &other)
Definition: Ioex_Internals.h:138
int64_t procOffset
Definition: Ioex_Internals.h:273
bool operator==(const ElemSet &) const
Definition: Ioex_Internals.C:412
Mesh(int dim, char *the_title, bool file_pp)
Definition: Ioex_Internals.h:385
int64_t procOffset
Definition: Ioex_Internals.h:305
FaceBlock & operator=(const FaceBlock &other)
Definition: Ioex_Internals.C:231
Definition: Ioex_Internals.h:260
std::string name
Definition: Ioex_Internals.h:156
int64_t dfCount
Definition: Ioex_Internals.h:272
Definition: Ioex_Internals.h:166
bool operator!=(const ElemSet &other) const
Definition: Ioex_Internals.h:298
int64_t edgesPerEntity
Definition: Ioex_Internals.h:236
A collection of elements having the same topology.
Definition: Ioss_ElementBlock.h:48
int64_t procOffset
Definition: Ioex_Internals.h:129
int64_t entityCount
Definition: Ioex_Internals.h:126
std::vector< ElemSet > elemsets
Definition: Ioex_Internals.h:403
CommunicationMap()=default
char type
Definition: Ioex_Internals.h:335
int64_t procOffset
Definition: Ioex_Internals.h:289
int64_t entityCount
Definition: Ioex_Internals.h:302
std::string name
Definition: Ioex_Internals.h:251
Definition: Ioex_Internals.h:308
Definition: Ioex_Internals.h:134
std::string name
Definition: Ioex_Internals.h:124
int64_t entityCount
Definition: Ioex_Internals.h:334
int64_t attributeCount
Definition: Ioex_Internals.h:287
Definition: Ioss_ParallelUtils.h:49
Definition: Ioex_Internals.h:380
bool operator!=(const EdgeSet &other) const
Definition: Ioex_Internals.h:266
Definition: Ioex_Internals.h:408
int64_t entityCount
Definition: Ioex_Internals.h:286
int64_t nodesPerEntity
Definition: Ioex_Internals.h:196
int64_t entityCount
Definition: Ioex_Internals.h:270
void get_global_counts(Mesh &mesh)
Definition: Ioex_Internals.C:968
int64_t procOffset
Definition: Ioex_Internals.h:240
int commIndexVar
Definition: Ioex_Internals.h:465
A collection of all nodes in the region.
Definition: Ioss_NodeBlock.h:53
bool operator!=(const SideSet &other) const
Definition: Ioex_Internals.h:314
bool operator==(const ElemBlock &) const
Definition: Ioex_Internals.C:313
FaceBlock()
Definition: Ioex_Internals.h:168
Definition: Ioex_Internals.h:276
char title[MAX_LINE_LENGTH+1]
Definition: Ioex_Internals.h:392
int64_t entityCount
Definition: Ioex_Internals.h:195
CommunicationMap(entity_id the_id, int64_t count, char the_type)
Definition: Ioex_Internals.h:327
bool operator==(const NodeBlock &) const
int put_metadata(const Mesh &mesh, const CommunicationMetaData &comm)
Definition: Ioex_Internals.C:1081
std::vector< ElemBlock > elemblocks
Definition: Ioex_Internals.h:399
bool operator!=(const ElemBlock &other) const
Definition: Ioex_Internals.h:229
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:192
bool operator==(const NodeSet &) const
Definition: Ioex_Internals.C:346
std::string name
Definition: Ioex_Internals.h:193
int64_t attributeCount
Definition: Ioex_Internals.h:271
A collection of element sides.
Definition: Ioss_SideSet.h:53
std::vector< NodeBlock > nodeblocks
Definition: Ioex_Internals.h:396
std::string name
Definition: Ioex_Internals.h:284
ElemBlock()
Definition: Ioex_Internals.h:206
bool operator!=(const NodeBlock &other) const
Definition: Ioex_Internals.h:122
bool operator!=(const FaceSet &other) const
Definition: Ioex_Internals.h:282
Definition: Ioex_Internals.h:243
entity_id id
Definition: Ioex_Internals.h:157
int64_t procOffset
Definition: Ioex_Internals.h:161
Internals(int exoid, int maximum_name_length, const Ioss::ParallelUtils &util)
Definition: Ioex_Internals.C:473
ElemBlock & operator=(const ElemBlock &other)
Definition: Ioex_Internals.C:298