26#include "ioex_export.h"
43 class StructuredBlock;
45 class ElementTopology;
50 class PropertyManager;
54 struct CommunicationMetaData;
71 void get_step_times_nl()
override;
72 std::vector<double> get_db_step_times_nl()
override;
73 std::vector<double> internal_get_step_times_nl(
bool setRegionTimeSteps);
75 bool open_input_file(
bool write_message, std::string *error_msg,
int *bad_count,
76 bool abort_if_error)
const override;
77 bool handle_output_file(
bool write_message, std::string *error_msg,
int *bad_count,
78 bool overwrite,
bool abort_if_error)
const override;
79 IOSS_NODISCARD bool check_valid_file_ptr(
bool write_message, std::string *error_msg,
80 int *bad_count,
bool abort_if_error)
const;
83 size_t data_size)
const override;
85 size_t data_size)
const override;
87 size_t data_size)
const override;
89 size_t data_size)
const override;
91 size_t data_size)
const override;
93 size_t data_size)
const override;
95 size_t data_size)
const override;
98 size_t )
const override
104 size_t data_size)
const override;
106 size_t data_size)
const override;
108 size_t data_size)
const override;
110 size_t data_size)
const override;
112 size_t data_size)
const override;
114 size_t data_size)
const override;
116 size_t data_size)
const override;
119 size_t data_size)
const override;
121 size_t data_size)
const override;
123 size_t data_size)
const override;
125 size_t data_size)
const override;
127 size_t data_size)
const override;
129 size_t data_size)
const override;
131 size_t data_size)
const override;
133 size_t data_size)
const override;
135 size_t data_size)
const override;
137 size_t data_size)
const override;
139 size_t data_size)
const override;
141 size_t data_size)
const override;
143 size_t data_size)
const override;
145 size_t data_size)
const override;
149 size_t )
const override
154 size_t data_size)
const;
156 size_t data_size)
const;
162 void compute_node_status()
const;
165 void read_meta_data_nl()
override;
166 void read_communication_metadata();
178 int64_t read_ss_transient_field(
const Ioss::Field &field, int64_t
id,
void *variables,
179 std::vector<int> &is_valid_side)
const;
183 int64_t count,
void *variables)
const;
186 int64_t count,
void *variables)
const;
192 void get_edgeblocks();
193 void get_faceblocks();
194 void get_elemblocks();
195 void get_blocks(ex_entity_type entity_type,
int rank_offset,
const std::string &basename);
199 template <
typename T>
200 void get_sets(ex_entity_type type, int64_t count,
const std::string &base,
212 ex_entity_type entity_type,
213 ex_inquiry inquiry_type)
const;
216 int64_t handle_node_ids(
void *ids, int64_t num_to_get)
const;
217 int64_t handle_element_ids(
const Ioss::ElementBlock *eb,
void *ids,
size_t num_to_get)
const;
218 int64_t handle_face_ids(
const Ioss::FaceBlock *eb,
void *ids,
size_t num_to_get)
const;
219 int64_t handle_edge_ids(
const Ioss::EdgeBlock *eb,
void *ids,
size_t num_to_get)
const;
221 int64_t get_side_connectivity(
const Ioss::SideBlock *sd_blk, int64_t
id, int64_t my_side_count,
222 void *fconnect,
bool map_ids)
const;
223 template <
typename INT>
224 int64_t get_side_connectivity_internal(
const Ioss::SideBlock *sd_blk, int64_t
id,
225 int64_t side_count, INT *fconnect,
bool map_ids)
const;
226 int64_t get_side_distributions(
const Ioss::SideBlock *sd_blk, int64_t
id, int64_t my_side_count,
227 double *dist_fact,
size_t data_size)
const;
230 size_t data_size)
const;
232 size_t data_size)
const;
235 mutable bool isSerialParallel{
false};
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
int Ioss_MPI_Comm
Definition Ioss_CodeTypes.h:64
Definition Ioex_BaseDatabaseIO.h:78
Definition Ioex_DatabaseIO.h:62
void read_elements(const Ioss::ElementBlock &block)
int64_t get_field_internal(const Ioss::StructuredBlock *, const Ioss::Field &, void *, size_t) const override
Definition Ioex_DatabaseIO.h:96
int64_t get_side_field(const Ioss::SideBlock *sd_blk, const Ioss::Field &field, void *data, size_t data_size) const
int64_t put_side_field(const Ioss::SideBlock *sd_blk, const Ioss::Field &field, void *data, size_t data_size) const
true if application code is controlling the processor id.
int64_t read_nodal_coordinates()
int64_t put_field_internal(const Ioss::StructuredBlock *, const Ioss::Field &, void *, size_t) const override
Definition Ioex_DatabaseIO.h:147
A homogeneous collection of other GroupingEntities.
Definition Ioss_Assembly.h:31
A homogeneous collection of other GroupingEntities.
Definition Ioss_Blob.h:31
Definition Ioss_CommSet.h:27
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
Base class for all 'set'-type grouping entities, which means that members of the set are not necessar...
Definition Ioss_EntitySet.h:38
A collection of element faces with the same topology.
Definition Ioss_FaceBlock.h:29
A collection of element faces.
Definition Ioss_FaceSet.h:30
Holds metadata for bulk data associated with a GroupingEntity.
Definition Ioss_Field.h:25
Base class for all 'grouping' entities. The following derived classes are typical:
Definition Ioss_GroupingEntity.h:67
A collection of all nodes in the region.
Definition Ioss_NodeBlock.h:33
A collection of nodes.
Definition Ioss_NodeSet.h:29
A collection of Ioss::Property objects.
Definition Ioss_PropertyManager.h:36
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
A structured zone – i,j,k.
Definition Ioss_StructuredBlock.h:91
A namespace for the exodus database format.
Definition Ioex_BaseDatabaseIO.C:209
std::map< std::string, int, std::less<> > VariableNameMap
Definition Ioex_BaseDatabaseIO.h:61
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
DatabaseUsage
Specifies how an Ioss::DatabaseIO object will be used.
Definition Ioss_DBUsage.h:13
IfDatabaseExistsBehavior
Definition Ioss_DBUsage.h:32