Go to the documentation of this file.
9 #ifndef IOSS_Ioex_Internals_h
10 #define IOSS_Ioex_Internals_h
399 const std::string &base_file_name);
405 static void update_assembly_data(
int filePtr, std::vector<Assembly> &assemblies,
int stage = 0);
408 static void copy_database(
int in_file,
int out_file,
bool transient_also =
true);
414 int put_metadata(
const std::vector<Assembly> &assemblies);
416 int put_metadata(
const std::vector<NodeBlock> &nodeblocks,
bool count_only =
false);
417 int put_metadata(
const std::vector<EdgeBlock> &blocks,
bool count_only =
false);
418 int put_metadata(
const std::vector<FaceBlock> &blocks,
bool count_only =
false);
419 int put_metadata(
const std::vector<ElemBlock> &blocks,
bool count_only =
false);
421 int put_metadata(
const std::vector<NodeSet> &nodesets,
bool count_only =
false);
422 int put_metadata(
const std::vector<EdgeSet> &edgesets,
bool count_only =
false);
423 int put_metadata(
const std::vector<FaceSet> &facesets,
bool count_only =
false);
424 int put_metadata(
const std::vector<ElemSet> &elemsets,
bool count_only =
false);
426 int put_metadata(
const std::vector<SideSet> &sidesets,
bool count_only =
false);
bool operator!=(const Assembly &other) const
Definition: Ioex_Internals.h:101
Definition: Ioex_Internals.h:313
bool operator==(const CommunicationMap &) const
Definition: Ioex_Internals.C:512
bool operator==(const FaceBlock &) const
Definition: Ioex_Internals.C:288
int dimensionality
Definition: Ioex_Internals.h:373
Blob(const Blob &other)=default
bool operator==(const EdgeSet &) const
Definition: Ioex_Internals.C:412
std::vector< EdgeSet > edgesets
Definition: Ioex_Internals.h:384
std::string name
Definition: Ioex_Internals.h:288
int64_t entityCount
Definition: Ioex_Internals.h:241
int64_t attributeCount
Definition: Ioex_Internals.h:291
FaceSet(const FaceSet &other)=default
int64_t attributeCount
Definition: Ioex_Internals.h:226
int64_t attributeCount
Definition: Ioex_Internals.h:106
int64_t procOffset
Definition: Ioex_Internals.h:308
Definition: Ioex_Internals.h:91
int64_t entityCount
Definition: Ioex_Internals.h:156
int64_t entityCount
Definition: Ioex_Internals.h:306
int64_t procOffset
Definition: Ioex_Internals.h:245
Definition: Ioex_Internals.h:198
std::string name
Definition: Ioex_Internals.h:220
int64_t nodesPerEntity
Definition: Ioex_Internals.h:223
A homogeneous collection of other GroupingEntities.
Definition: Ioss_Assembly.h:28
int64_t offset_
Definition: Ioex_Internals.h:227
static void copy_string(char *dest, char const *source, size_t elements)
Definition: Ioss_Utils.C:1356
A homogeneous collection of other GroupingEntities.
Definition: Ioss_Blob.h:28
NodeBlock & operator=(const NodeBlock &other)
Definition: Ioex_Internals.C:194
Definition: Ioex_Internals.h:112
static void copy_database(int in_file, int out_file, bool transient_also=true)
Definition: Ioex_Internals.C:1047
Assembly & operator=(const Assembly &other)
Definition: Ioex_Internals.C:130
bool operator!=(const FaceBlock &other) const
Definition: Ioex_Internals.h:183
Internals & operator=(const Internals &from)=delete
int64_t dfProcOffset
Definition: Ioex_Internals.h:309
Redefine & operator=(const Redefine &from)=delete
int put_metadata(const std::vector< NodeBlock > &nodeblocks, bool count_only=false)
int64_t procOffset
Definition: Ioex_Internals.h:192
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:153
int put_non_define_data(const CommunicationMetaData &comm)
Definition: Ioex_Internals.C:2498
std::vector< FaceSet > facesets
Definition: Ioex_Internals.h:385
std::string name
Definition: Ioex_Internals.h:124
int64_t edgesPerEntity
Definition: Ioex_Internals.h:190
std::vector< SideSet > sidesets
Definition: Ioex_Internals.h:387
entity_id id
Definition: Ioex_Internals.h:187
int64_t dfCount
Definition: Ioex_Internals.h:244
int write_meta_data(Mesh &mesh)
Definition: Ioex_Internals.C:916
CommunicationMetaData comm
Definition: Ioex_Internals.h:388
A collection of element edges with the same topology.
Definition: Ioss_EdgeBlock.h:28
int exodusFilePtr
Definition: Ioex_Internals.h:357
bool operator==(const EdgeBlock &) const
Definition: Ioex_Internals.C:239
int64_t attributeCount
Definition: Ioex_Internals.h:128
The main namespace for the Ioss library.
Definition: Ioad_DatabaseIO.C:40
int64_t localOwnedCount
Definition: Ioex_Internals.h:127
std::vector< int64_t > memberIdList
Definition: Ioex_Internals.h:108
Ioss::ParallelUtils parallelUtil
Definition: Ioex_Internals.h:451
std::string name
Definition: Ioex_Internals.h:304
A grouping entity that contains other grouping entities.
Definition: Ioss_Region.h:78
ElemBlock(const ElemBlock &other)
Definition: Ioex_Internals.h:201
int64_t attributeCount
Definition: Ioex_Internals.h:243
A collection of nodes.
Definition: Ioss_NodeSet.h:28
int64_t dfCount
Definition: Ioex_Internals.h:307
entity_id id
Definition: Ioex_Internals.h:321
int64_t attributeCount
Definition: Ioex_Internals.h:86
int maximumNameLength
Definition: Ioex_Internals.h:450
EdgeBlock & operator=(const EdgeBlock &other)
Definition: Ioex_Internals.C:227
A collection of element faces.
Definition: Ioss_FaceSet.h:29
int max_name_length() const
Definition: Ioex_Internals.h:443
std::vector< FaceBlock > faceblocks
Definition: Ioex_Internals.h:381
bool file_per_processor
Definition: Ioex_Internals.h:374
bool operator==(const FaceSet &) const
Definition: Ioex_Internals.C:434
int64_t dfCount
Definition: Ioex_Internals.h:292
int initialize_state_file(Mesh &mesh, const ex_var_params &var_params, const std::string &base_file_name)
Definition: Ioex_Internals.C:523
void populate(Ioss::Region *region)
Definition: Ioex_Internals.C:814
Blob & operator=(const Blob &other)
Definition: Ioex_Internals.C:159
std::vector< EdgeBlock > edgeblocks
Definition: Ioex_Internals.h:380
A collection of element edges.
Definition: Ioss_EdgeSet.h:29
A collection of elements.
Definition: Ioss_ElementSet.h:29
int64_t entityCount
Definition: Ioex_Internals.h:126
int exodusFilePtr
Definition: Ioex_Internals.h:445
Redefine(int exoid)
Definition: Ioex_Internals.C:74
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:219
int64_t attributeCount
Definition: Ioex_Internals.h:158
int64_t entity_id
Definition: Ioex_Internals.h:32
bool operator!=(const EdgeBlock &other) const
Definition: Ioex_Internals.h:151
EdgeBlock()
Definition: Ioex_Internals.h:134
int elemCommIndexVar
Definition: Ioex_Internals.h:449
bool operator!=(const NodeSet &other) const
Definition: Ioex_Internals.h:237
std::string name
Definition: Ioex_Internals.h:256
int elementMapVarID[2]
Definition: Ioex_Internals.h:447
Definition: Ioex_Internals.h:281
A collection of element faces with the same topology.
Definition: Ioss_FaceBlock.h:28
int64_t attributeCount
Definition: Ioex_Internals.h:191
int64_t localOwnedCount
Definition: Ioex_Internals.h:85
Redefine(const Redefine &from)=delete
int nodeMapVarID[3]
Definition: Ioex_Internals.h:446
Assembly(const Assembly &other)=default
Definition: Ioex_Internals.h:349
std::vector< Blob > blobs
Definition: Ioex_Internals.h:377
A namespace for the exodus database format.
Definition: Ioex_BaseDatabaseIO.C:101
std::string name
Definition: Ioex_Internals.h:103
int64_t localOwnedCount
Definition: Ioex_Internals.h:242
Definition: Ioex_Internals.h:70
int64_t dfCount
Definition: Ioex_Internals.h:276
int64_t procOffset
Definition: Ioex_Internals.h:129
bool operator!=(const CommunicationMap &other) const
Definition: Ioex_Internals.h:320
int put_non_define_data(const std::vector< NodeBlock > &nodeblocks)
int64_t nodesPerEntity
Definition: Ioex_Internals.h:157
A collection of element sides having the same topology.
Definition: Ioss_SideBlock.h:34
bool operator==(const SideSet &) const
Definition: Ioex_Internals.C:506
int64_t facesPerEntity
Definition: Ioex_Internals.h:225
std::vector< NodeSet > nodesets
Definition: Ioex_Internals.h:383
FaceBlock(const FaceBlock &other)
Definition: Ioex_Internals.h:168
~Redefine()
Definition: Ioex_Internals.C:87
entity_id id
Definition: Ioex_Internals.h:221
int64_t entityCount
Definition: Ioex_Internals.h:222
bool operator!=(const Blob &other) const
Definition: Ioex_Internals.h:122
EdgeBlock(const EdgeBlock &other)
Definition: Ioex_Internals.h:136
int64_t procOffset
Definition: Ioex_Internals.h:261
bool operator==(const ElemSet &) const
Definition: Ioex_Internals.C:456
Mesh(int dim, char *the_title, bool file_pp)
Definition: Ioex_Internals.h:365
ex_entity_type type
Definition: Ioex_Internals.h:107
int64_t procOffset
Definition: Ioex_Internals.h:293
FaceBlock & operator=(const FaceBlock &other)
Definition: Ioex_Internals.C:275
Definition: Ioex_Internals.h:249
std::string name
Definition: Ioex_Internals.h:154
int64_t dfCount
Definition: Ioex_Internals.h:260
Definition: Ioex_Internals.h:165
bool operator!=(const ElemSet &other) const
Definition: Ioex_Internals.h:286
int64_t edgesPerEntity
Definition: Ioex_Internals.h:224
A collection of elements having the same topology.
Definition: Ioss_ElementBlock.h:23
int64_t procOffset
Definition: Ioex_Internals.h:87
int64_t entityCount
Definition: Ioex_Internals.h:105
int64_t entityCount
Definition: Ioex_Internals.h:84
std::vector< ElemSet > elemsets
Definition: Ioex_Internals.h:386
CommunicationMap()=default
char type
Definition: Ioex_Internals.h:323
int64_t procOffset
Definition: Ioex_Internals.h:277
int64_t entityCount
Definition: Ioex_Internals.h:290
std::string name
Definition: Ioex_Internals.h:239
NodeSet(const NodeSet &other)=default
static void update_assembly_data(int filePtr, std::vector< Assembly > &assemblies, int stage=0)
Definition: Ioex_Internals.C:1055
Definition: Ioex_Internals.h:297
Internals(const Internals &from)=delete
Definition: Ioex_Internals.h:133
std::string name
Definition: Ioex_Internals.h:82
int64_t entityCount
Definition: Ioex_Internals.h:322
int64_t attributeCount
Definition: Ioex_Internals.h:275
Definition: Ioss_ParallelUtils.h:24
Definition: Ioex_Internals.h:361
bool operator!=(const EdgeSet &other) const
Definition: Ioex_Internals.h:254
bool operator==(const Blob &) const
bool operator==(const Assembly &) const
Definition: Ioex_Internals.h:392
int64_t entityCount
Definition: Ioex_Internals.h:274
int64_t nodesPerEntity
Definition: Ioex_Internals.h:189
int64_t entityCount
Definition: Ioex_Internals.h:258
void get_global_counts(Mesh &mesh)
Definition: Ioex_Internals.C:1070
int64_t procOffset
Definition: Ioex_Internals.h:228
int commIndexVar
Definition: Ioex_Internals.h:448
A collection of all nodes in the region.
Definition: Ioss_NodeBlock.h:28
bool operator!=(const SideSet &other) const
Definition: Ioex_Internals.h:302
bool operator==(const ElemBlock &) const
Definition: Ioex_Internals.C:357
FaceBlock()
Definition: Ioex_Internals.h:166
Definition: Ioex_Internals.h:265
char title[MAX_LINE_LENGTH+1]
Definition: Ioex_Internals.h:372
int64_t entityCount
Definition: Ioex_Internals.h:188
ElemSet(const ElemSet &other)=default
CommunicationMap(entity_id the_id, int64_t count, char the_type)
Definition: Ioex_Internals.h:315
std::vector< Assembly > assemblies
Definition: Ioex_Internals.h:376
bool operator==(const NodeBlock &) const
int put_metadata(const Mesh &mesh, const CommunicationMetaData &comm)
Definition: Ioex_Internals.C:1193
EdgeSet(const EdgeSet &other)=default
std::vector< ElemBlock > elemblocks
Definition: Ioex_Internals.h:382
bool operator!=(const ElemBlock &other) const
Definition: Ioex_Internals.h:217
char elType[MAX_STR_LENGTH+1]
Definition: Ioex_Internals.h:185
bool operator==(const NodeSet &) const
Definition: Ioex_Internals.C:390
std::string name
Definition: Ioex_Internals.h:186
int64_t attributeCount
Definition: Ioex_Internals.h:259
A collection of element sides.
Definition: Ioss_SideSet.h:28
std::vector< NodeBlock > nodeblocks
Definition: Ioex_Internals.h:379
std::string name
Definition: Ioex_Internals.h:272
ElemBlock()
Definition: Ioex_Internals.h:199
bool operator!=(const NodeBlock &other) const
Definition: Ioex_Internals.h:80
bool operator!=(const FaceSet &other) const
Definition: Ioex_Internals.h:270
NodeBlock(const NodeBlock &other)=default
Definition: Ioex_Internals.h:232
entity_id id
Definition: Ioex_Internals.h:155
int64_t procOffset
Definition: Ioex_Internals.h:159
Internals(int exoid, int maximum_name_length, const Ioss::ParallelUtils &util)
Definition: Ioex_Internals.C:517
ElemBlock & operator=(const ElemBlock &other)
Definition: Ioex_Internals.C:342