18#include "ioex_export.h"
304 void get_global_counts();
339 const std::string &base_filename);
348 static void copy_database(
int in_file,
int out_file,
bool transient_also =
true);
352 int put_metadata(
const std::vector<Assembly> &assemblies);
354 int put_metadata(
const std::vector<NodeBlock> &nodeblocks,
bool count_only =
false);
355 int put_metadata(
const std::vector<EdgeBlock> &blocks,
bool count_only =
false);
356 int put_metadata(
const std::vector<FaceBlock> &blocks,
bool count_only =
false);
357 int put_metadata(
const std::vector<ElemBlock> &blocks,
bool count_only =
false);
359 int put_metadata(
const std::vector<NodeSet> &nodesets,
bool count_only =
false);
360 int put_metadata(
const std::vector<EdgeSet> &edgesets,
bool count_only =
false);
361 int put_metadata(
const std::vector<FaceSet> &facesets,
bool count_only =
false);
362 int put_metadata(
const std::vector<ElemSet> &elemsets,
bool count_only =
false);
364 int put_metadata(
const std::vector<SideSet> &sidesets,
bool count_only =
false);
int64_t entity_id
Definition Ioex_Internals.h:36
static void update_assembly_data(int exoid, std::vector< Assembly > &assemblies, int stage=0)
Definition Ioex_Internals.C:1033
int exodusFilePtr
Definition Ioex_Internals.h:383
int put_metadata(const std::vector< NodeBlock > &nodeblocks, bool count_only=false)
int elemCommIndexVar
Definition Ioex_Internals.h:387
Ioss::ParallelUtils parallelUtil
Definition Ioex_Internals.h:389
int elementMapVarID[2]
Definition Ioex_Internals.h:385
int put_non_define_data(const std::vector< NodeBlock > &nodeblocks)
int commIndexVar
Definition Ioex_Internals.h:386
int max_name_length() const
Definition Ioex_Internals.h:381
int nodeMapVarID[3]
Definition Ioex_Internals.h:384
Internals(int exoid, int maximum_name_length, const Ioss::ParallelUtils &util)
Definition Ioex_Internals.C:369
int put_metadata(const Mesh &mesh, const CommunicationMetaData &comm)
Definition Ioex_Internals.C:1048
int initialize_state_file(Mesh &mesh, const ex_var_params &var_params, const std::string &base_filename)
Definition Ioex_Internals.C:374
int write_meta_data(Mesh &mesh)
Definition Ioex_Internals.C:895
Internals & operator=(const Internals &from)=delete
static void copy_database(int in_file, int out_file, bool transient_also=true)
Definition Ioex_Internals.C:1025
int maximumNameLength
Definition Ioex_Internals.h:388
int put_non_define_data(const CommunicationMetaData &comm, bool minimal_nemesis_data)
Definition Ioex_Internals.C:2427
Internals(const Internals &from)=delete
Definition Ioex_Internals.h:295
char title[MAX_LINE_LENGTH+1]
Definition Ioex_Internals.h:306
bool use_face_map
Definition Ioex_Internals.h:311
CommunicationMetaData comm
Definition Ioex_Internals.h:327
std::vector< EdgeSet > edgesets
Definition Ioex_Internals.h:323
std::vector< FaceBlock > faceblocks
Definition Ioex_Internals.h:320
Ioss::ParallelUtils parallelUtil
Definition Ioex_Internals.h:328
int dimensionality
Definition Ioex_Internals.h:307
std::vector< Assembly > assemblies
Definition Ioex_Internals.h:315
bool full_nemesis_data
Definition Ioex_Internals.h:313
bool use_node_map
Definition Ioex_Internals.h:309
std::vector< SideSet > sidesets
Definition Ioex_Internals.h:326
std::vector< NodeBlock > nodeblocks
Definition Ioex_Internals.h:318
std::vector< ElemSet > elemsets
Definition Ioex_Internals.h:325
Mesh(int dim, const char *the_title, const Ioss::ParallelUtils &util, bool file_pp)
Definition Ioex_Internals.h:297
std::vector< EdgeBlock > edgeblocks
Definition Ioex_Internals.h:319
std::vector< NodeSet > nodesets
Definition Ioex_Internals.h:322
bool use_edge_map
Definition Ioex_Internals.h:312
std::vector< Blob > blobs
Definition Ioex_Internals.h:316
bool file_per_processor
Definition Ioex_Internals.h:308
bool use_elem_map
Definition Ioex_Internals.h:310
std::vector< ElemBlock > elemblocks
Definition Ioex_Internals.h:321
std::vector< FaceSet > facesets
Definition Ioex_Internals.h:324
Redefine(int exoid)
Definition Ioex_Internals.C:76
int exodusFilePtr
Definition Ioex_Internals.h:291
Redefine & operator=(const Redefine &from)=delete
Redefine(const Redefine &from)=delete
A homogeneous collection of other GroupingEntities.
Definition Ioss_Assembly.h:31
A homogeneous collection of other GroupingEntities.
Definition Ioss_Blob.h:31
A collection of element edges with the same topology.
Definition Ioss_EdgeBlock.h:29
A collection of element edges.
Definition Ioss_EdgeSet.h:30
A collection of elements having the same topology.
Definition Ioss_ElementBlock.h:29
A collection of elements.
Definition Ioss_ElementSet.h:30
A collection of element faces with the same topology.
Definition Ioss_FaceBlock.h:29
A collection of element faces.
Definition Ioss_FaceSet.h:30
A collection of all nodes in the region.
Definition Ioss_NodeBlock.h:33
A collection of nodes.
Definition Ioss_NodeSet.h:29
Definition Ioss_ParallelUtils.h:32
A grouping entity that contains other grouping entities.
Definition Ioss_Region.h:93
A collection of element sides having the same topology.
Definition Ioss_SideBlock.h:37
A collection of element sides.
Definition Ioss_SideSet.h:29
static void copy_string(char *dest, char const *source, size_t elements)
Definition Ioss_Utils.C:1293
A namespace for the exodus database format.
Definition Ioex_BaseDatabaseIO.C:209
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
std::string name
Definition Ioex_Internals.h:89
ex_entity_type type
Definition Ioex_Internals.h:93
int64_t attributeCount
Definition Ioex_Internals.h:92
int64_t entityCount
Definition Ioex_Internals.h:91
std::vector< int64_t > memberIdList
Definition Ioex_Internals.h:94
Assembly(const Ioss::Assembly &other)
Definition Ioex_Internals.C:105
int64_t procOffset
Definition Ioex_Internals.h:106
Blob(const Ioss::Blob &other)
Definition Ioex_Internals.C:126
int64_t localOwnedCount
Definition Ioex_Internals.h:104
int64_t attributeCount
Definition Ioex_Internals.h:105
int64_t entityCount
Definition Ioex_Internals.h:103
std::string name
Definition Ioex_Internals.h:101
char type
Definition Ioex_Internals.h:260
entity_id id
Definition Ioex_Internals.h:258
int64_t entityCount
Definition Ioex_Internals.h:259
CommunicationMap(entity_id the_id, int64_t count, char the_type)
Definition Ioex_Internals.h:254
Definition Ioex_Internals.h:110
int64_t attributeCount
Definition Ioex_Internals.h:128
std::string name
Definition Ioex_Internals.h:124
char elType[MAX_STR_LENGTH+1]
Definition Ioex_Internals.h:123
int64_t procOffset
Definition Ioex_Internals.h:129
EdgeBlock(const EdgeBlock &other)
Definition Ioex_Internals.h:113
int64_t entityCount
Definition Ioex_Internals.h:126
EdgeBlock()
Definition Ioex_Internals.h:111
entity_id id
Definition Ioex_Internals.h:125
int64_t nodesPerEntity
Definition Ioex_Internals.h:127
std::string name
Definition Ioex_Internals.h:206
int64_t attributeCount
Definition Ioex_Internals.h:209
EdgeSet(const Ioss::EdgeSet &other)
Definition Ioex_Internals.C:275
int64_t dfCount
Definition Ioex_Internals.h:210
int64_t procOffset
Definition Ioex_Internals.h:211
int64_t entityCount
Definition Ioex_Internals.h:208
Definition Ioex_Internals.h:161
int64_t entityCount
Definition Ioex_Internals.h:178
char elType[MAX_STR_LENGTH+1]
Definition Ioex_Internals.h:175
int64_t offset_
Definition Ioex_Internals.h:184
int64_t facesPerEntity
Definition Ioex_Internals.h:182
int64_t procOffset
Definition Ioex_Internals.h:185
int64_t edgesPerEntity
Definition Ioex_Internals.h:181
int64_t globalEntityCount
Definition Ioex_Internals.h:179
std::string name
Definition Ioex_Internals.h:176
int64_t nodesPerEntity
Definition Ioex_Internals.h:180
ElemBlock()
Definition Ioex_Internals.h:162
int64_t attributeCount
Definition Ioex_Internals.h:183
entity_id id
Definition Ioex_Internals.h:177
ElemBlock(const ElemBlock &other)
Definition Ioex_Internals.h:164
int64_t attributeCount
Definition Ioex_Internals.h:233
int64_t dfCount
Definition Ioex_Internals.h:234
int64_t entityCount
Definition Ioex_Internals.h:232
int64_t procOffset
Definition Ioex_Internals.h:235
ElemSet(const Ioss::ElementSet &other)
Definition Ioex_Internals.C:307
std::string name
Definition Ioex_Internals.h:230
Definition Ioex_Internals.h:135
FaceBlock()
Definition Ioex_Internals.h:136
int64_t edgesPerEntity
Definition Ioex_Internals.h:153
int64_t nodesPerEntity
Definition Ioex_Internals.h:152
entity_id id
Definition Ioex_Internals.h:150
int64_t entityCount
Definition Ioex_Internals.h:151
FaceBlock(const FaceBlock &other)
Definition Ioex_Internals.h:138
int64_t attributeCount
Definition Ioex_Internals.h:154
char elType[MAX_STR_LENGTH+1]
Definition Ioex_Internals.h:148
std::string name
Definition Ioex_Internals.h:149
int64_t procOffset
Definition Ioex_Internals.h:155
int64_t dfCount
Definition Ioex_Internals.h:222
FaceSet(const Ioss::FaceSet &other)
Definition Ioex_Internals.C:291
int64_t entityCount
Definition Ioex_Internals.h:220
int64_t procOffset
Definition Ioex_Internals.h:223
int64_t attributeCount
Definition Ioex_Internals.h:221
std::string name
Definition Ioex_Internals.h:218
int64_t localOwnedCount
Definition Ioex_Internals.h:80
std::string name
Definition Ioex_Internals.h:77
NodeBlock(const Ioss::NodeBlock &other)
Definition Ioex_Internals.C:140
int64_t entityCount
Definition Ioex_Internals.h:79
int64_t procOffset
Definition Ioex_Internals.h:82
int64_t attributeCount
Definition Ioex_Internals.h:81
std::string name
Definition Ioex_Internals.h:192
int64_t procOffset
Definition Ioex_Internals.h:199
NodeSet(const Ioss::NodeSet &other)
Definition Ioex_Internals.C:254
int64_t globalEntityCount
Definition Ioex_Internals.h:195
int64_t dfCount
Definition Ioex_Internals.h:198
int64_t entityCount
Definition Ioex_Internals.h:194
int64_t localOwnedCount
Definition Ioex_Internals.h:196
int64_t attributeCount
Definition Ioex_Internals.h:197
int64_t procOffset
Definition Ioex_Internals.h:248
int64_t globalEntityCount
Definition Ioex_Internals.h:246
std::string name
Definition Ioex_Internals.h:243
int64_t dfProcOffset
Definition Ioex_Internals.h:249
int64_t dfCount
Definition Ioex_Internals.h:247
int64_t entityCount
Definition Ioex_Internals.h:245
SideSet(const Ioss::SideBlock &other)
Definition Ioex_Internals.C:323