35 #ifndef IOSS_Ioex_Internals_h 36 #define IOSS_Ioex_Internals_h 388 std::strncpy(
title, the_title, MAX_LINE_LENGTH + 1);
389 title[MAX_LINE_LENGTH] =
'\0';
418 const std::string &base_file_name);
437 int put_metadata(
const std::vector<NodeBlock> &nodeblocks,
bool count_only =
false);
438 int put_metadata(
const std::vector<EdgeBlock> &blocks,
bool count_only =
false);
439 int put_metadata(
const std::vector<FaceBlock> &blocks,
bool count_only =
false);
440 int put_metadata(
const std::vector<ElemBlock> &blocks,
bool count_only =
false);
442 int put_metadata(
const std::vector<NodeSet> &nodesets,
bool count_only =
false);
443 int put_metadata(
const std::vector<EdgeSet> &edgesets,
bool count_only =
false);
444 int put_metadata(
const std::vector<FaceSet> &facesets,
bool count_only =
false);
445 int put_metadata(
const std::vector<ElemSet> &elemsets,
bool count_only =
false);
447 int put_metadata(
const std::vector<SideSet> &sidesets,
bool count_only =
false);
bool operator==(const SideSet &) const
Definition: Ioex_Internals.C:472
int64_t attributeCount
Definition: Ioex_Internals.h:129
std::string name
Definition: Ioex_Internals.h:125
~Redefine()
Definition: Ioex_Internals.C:114
FaceBlock(const FaceBlock &other)
Definition: Ioex_Internals.h:176
int64_t procOffset
Definition: Ioex_Internals.h:274
int64_t edgesPerEntity
Definition: Ioex_Internals.h:198
bool operator!=(const NodeSet &other) const
Definition: Ioex_Internals.h:250
Definition: Ioex_Internals.h:369
int maximumNameLength
Definition: Ioex_Internals.h:469
int64_t nodesPerEntity
Definition: Ioex_Internals.h:236
int64_t offset_
Definition: Ioex_Internals.h:240
int dimensionality
Definition: Ioex_Internals.h:395
CommunicationMetaData comm
Definition: Ioex_Internals.h:407
int64_t dfCount
Definition: Ioex_Internals.h:289
entity_id id
Definition: Ioex_Internals.h:158
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:156
Definition: Ioex_Internals.h:381
The main namespace for the Ioss library.
Definition: Iocgns_DatabaseIO.h:50
int commIndexVar
Definition: Ioex_Internals.h:467
int64_t procOffset
Definition: Ioex_Internals.h:162
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:193
bool operator!=(const FaceBlock &other) const
Definition: Ioex_Internals.h:191
int64_t entityCount
Definition: Ioex_Internals.h:235
int64_t attributeCount
Definition: Ioex_Internals.h:239
std::string name
Definition: Ioex_Internals.h:194
int64_t attributeCount
Definition: Ioex_Internals.h:161
int64_t procOffset
Definition: Ioex_Internals.h:241
int64_t procOffset
Definition: Ioex_Internals.h:200
int64_t localOwnedCount
Definition: Ioex_Internals.h:255
A collection of nodes.
Definition: Ioss_NodeSet.h:53
int64_t procOffset
Definition: Ioex_Internals.h:130
A collection of element faces with the same topology.
Definition: Ioss_FaceBlock.h:53
A collection of element faces.
Definition: Ioss_FaceSet.h:54
Definition: Ioex_Internals.h:112
int64_t attributeCount
Definition: Ioex_Internals.h:199
Definition: Ioex_Internals.h:167
int64_t localOwnedCount
Definition: Ioex_Internals.h:128
A collection of element edges.
Definition: Ioss_EdgeSet.h:54
int64_t entityCount
Definition: Ioex_Internals.h:127
int64_t entityCount
Definition: Ioex_Internals.h:335
bool operator==(const FaceBlock &) const
Definition: Ioex_Internals.C:253
entity_id id
Definition: Ioex_Internals.h:195
bool operator!=(const CommunicationMap &other) const
Definition: Ioex_Internals.h:333
A collection of element sides having the same topology.
Definition: Ioss_SideBlock.h:61
ElemBlock()
Definition: Ioex_Internals.h:207
int64_t procOffset
Definition: Ioex_Internals.h:290
int64_t entityCount
Definition: Ioex_Internals.h:303
int64_t dfCount
Definition: Ioex_Internals.h:273
bool operator!=(const ElemSet &other) const
Definition: Ioex_Internals.h:299
CommunicationMap()=default
entity_id id
Definition: Ioex_Internals.h:334
int64_t attributeCount
Definition: Ioex_Internals.h:288
Definition: Ioss_ParallelUtils.h:45
std::vector< FaceSet > facesets
Definition: Ioex_Internals.h:404
int64_t attributeCount
Definition: Ioex_Internals.h:272
bool operator==(const NodeSet &) const
Definition: Ioex_Internals.C:356
int64_t entityCount
Definition: Ioex_Internals.h:287
ElemBlock(const ElemBlock &other)
Definition: Ioex_Internals.h:214
bool operator==(const ElemBlock &) const
Definition: Ioex_Internals.C:323
std::string name
Definition: Ioex_Internals.h:252
Definition: Ioex_Internals.h:277
std::vector< EdgeSet > edgesets
Definition: Ioex_Internals.h:403
A collection of elements having the same topology.
Definition: Ioss_ElementBlock.h:48
int64_t nodesPerEntity
Definition: Ioex_Internals.h:197
Ioss::ParallelUtils parallelUtil
Definition: Ioex_Internals.h:470
Definition: Ioex_Internals.h:325
std::string name
Definition: Ioex_Internals.h:233
int64_t attributeCount
Definition: Ioex_Internals.h:304
A collection of elements.
Definition: Ioss_ElementSet.h:54
int64_t entityCount
Definition: Ioex_Internals.h:196
int64_t procOffset
Definition: Ioex_Internals.h:321
bool operator!=(const EdgeSet &other) const
Definition: Ioex_Internals.h:267
int put_non_define_data(const CommunicationMetaData &comm)
Definition: Ioex_Internals.C:2261
int64_t entityCount
Definition: Ioex_Internals.h:271
Mesh(int dim, char *the_title, bool file_pp)
Definition: Ioex_Internals.h:386
int64_t procOffset
Definition: Ioex_Internals.h:258
int write_meta_data(Mesh &mesh)
Definition: Ioex_Internals.C:857
ElemBlock & operator=(const ElemBlock &other)
Definition: Ioex_Internals.C:308
std::string name
Definition: Ioex_Internals.h:301
std::string name
Definition: Ioex_Internals.h:157
bool operator!=(const SideSet &other) const
Definition: Ioex_Internals.h:315
int initialize_state_file(Mesh &mesh, const ex_var_params &var_params, const std::string &base_file_name)
Definition: Ioex_Internals.C:489
int64_t entityCount
Definition: Ioex_Internals.h:254
bool operator!=(const FaceSet &other) const
Definition: Ioex_Internals.h:283
int64_t entity_id
Definition: Ioex_Internals.h:75
Definition: Ioex_Internals.h:410
A namespace for the exodus database format.
Definition: Ioex_IOFactory.C:61
int exodusFilePtr
Definition: Ioex_Internals.h:464
bool operator!=(const NodeBlock &other) const
Definition: Ioex_Internals.h:123
bool operator!=(const EdgeBlock &other) const
Definition: Ioex_Internals.h:154
A collection of all nodes in the region.
Definition: Ioss_NodeBlock.h:53
CommunicationMap(entity_id the_id, int64_t count, char the_type)
Definition: Ioex_Internals.h:328
int elementMapVarID[2]
Definition: Ioex_Internals.h:466
int max_name_length() const
Definition: Ioex_Internals.h:462
bool operator==(const EdgeSet &) const
Definition: Ioex_Internals.C:378
Definition: Ioex_Internals.h:205
std::string name
Definition: Ioex_Internals.h:285
FaceBlock()
Definition: Ioex_Internals.h:169
std::vector< NodeBlock > nodeblocks
Definition: Ioex_Internals.h:398
Definition: Ioex_Internals.h:135
bool file_per_processor
Definition: Ioex_Internals.h:396
bool operator==(const CommunicationMap &) const
Definition: Ioex_Internals.C:478
EdgeBlock & operator=(const EdgeBlock &other)
Definition: Ioex_Internals.C:191
int64_t nodesPerEntity
Definition: Ioex_Internals.h:160
std::string name
Definition: Ioex_Internals.h:317
int put_metadata(const Mesh &mesh, const CommunicationMetaData &comm)
Definition: Ioex_Internals.C:1085
int64_t attributeCount
Definition: Ioex_Internals.h:256
Definition: Ioex_Internals.h:309
int elemCommIndexVar
Definition: Ioex_Internals.h:468
entity_id id
Definition: Ioex_Internals.h:234
int64_t dfProcOffset
Definition: Ioex_Internals.h:322
int64_t edgesPerEntity
Definition: Ioex_Internals.h:237
char title[MAX_LINE_LENGTH+1]
Definition: Ioex_Internals.h:394
EdgeBlock()
Definition: Ioex_Internals.h:137
std::vector< FaceBlock > faceblocks
Definition: Ioex_Internals.h:400
Redefine & operator=(const Redefine &from)=delete
int nodeMapVarID[3]
Definition: Ioex_Internals.h:465
std::vector< SideSet > sidesets
Definition: Ioex_Internals.h:406
A grouping entity that contains other grouping entities.
Definition: Ioss_Region.h:98
EdgeBlock(const EdgeBlock &other)
Definition: Ioex_Internals.h:139
int64_t entityCount
Definition: Ioex_Internals.h:319
bool operator!=(const ElemBlock &other) const
Definition: Ioex_Internals.h:230
int64_t dfCount
Definition: Ioex_Internals.h:257
A collection of element sides.
Definition: Ioss_SideSet.h:59
std::string name
Definition: Ioex_Internals.h:269
int exodusFilePtr
Definition: Ioex_Internals.h:378
FaceBlock & operator=(const FaceBlock &other)
Definition: Ioex_Internals.C:240
int64_t facesPerEntity
Definition: Ioex_Internals.h:238
Internals(int exoid, int maximum_name_length, const Ioss::ParallelUtils &util)
Definition: Ioex_Internals.C:483
Redefine(int exoid)
Definition: Ioex_Internals.C:101
std::vector< NodeSet > nodesets
Definition: Ioex_Internals.h:402
std::vector< ElemBlock > elemblocks
Definition: Ioex_Internals.h:401
void populate(Ioss::Region *region)
Definition: Ioex_Internals.C:775
Definition: Ioex_Internals.h:244
Internals & operator=(const Internals &from)=delete
char type
Definition: Ioex_Internals.h:336
Definition: Ioex_Internals.h:261
bool operator==(const FaceSet &) const
Definition: Ioex_Internals.C:400
std::vector< EdgeBlock > edgeblocks
Definition: Ioex_Internals.h:399
Mesh()
Definition: Ioex_Internals.h:384
std::vector< ElemSet > elemsets
Definition: Ioex_Internals.h:405
Definition: Ioex_Internals.h:293
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:232
int64_t entityCount
Definition: Ioex_Internals.h:159
A collection of element edges with the same topology.
Definition: Ioss_EdgeBlock.h:53
bool operator==(const ElemSet &) const
Definition: Ioex_Internals.C:422
int64_t dfCount
Definition: Ioex_Internals.h:320
NodeBlock & operator=(const NodeBlock &other)
Definition: Ioex_Internals.C:157
bool operator==(const EdgeBlock &) const
Definition: Ioex_Internals.C:203
int64_t procOffset
Definition: Ioex_Internals.h:306
int64_t dfCount
Definition: Ioex_Internals.h:305
void get_global_counts(Mesh &mesh)
Definition: Ioex_Internals.C:973
bool operator==(const NodeBlock &) const