7#ifndef Iovs_cgns_DatabaseIO_h
8#define Iovs_cgns_DatabaseIO_h
23 std::string
get_format()
const override {
return "Embedded CGNS Visualization"; }
40 void * ,
size_t )
const override
45 void * ,
size_t )
const override
50 void * ,
size_t )
const override
55 void * ,
size_t )
const override
60 void * ,
size_t )
const override
65 void * ,
size_t )
const override
70 void * ,
size_t )
const override
75 void * ,
size_t )
const override
80 void * ,
size_t )
const override
85 void * ,
size_t )
const override
90 void * ,
size_t )
const override
95 void * ,
size_t )
const override
100 void * ,
size_t )
const override
105 void * ,
size_t )
const override
110 void * ,
size_t )
const override
116 void * ,
size_t )
const override
121 void * ,
size_t )
const override
126 void * ,
size_t )
const override
131 void * ,
size_t )
const override
136 void * ,
size_t )
const override
141 void * ,
size_t )
const override
146 void * ,
size_t )
const override
151 void * ,
size_t )
const override
156 void * ,
size_t )
const override
161 void * ,
size_t )
const override
166 void * ,
size_t )
const override
171 void * ,
size_t )
const override
176 void *data,
size_t data_size)
const override;
178 void * ,
size_t )
const override
183 void * ,
size_t )
const override
193 void outputId(
const std::string idName, std::vector<int64_t> &ids,
bool isCellField,
int Ioss_MPI_Comm
Definition Ioss_CodeTypes.h:64
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
An input or output Database.
Definition Ioss_DatabaseIO.h:63
IOSS_NODISCARD int int_byte_size_api() const
Returns 4 or 8.
Definition Ioss_DatabaseIO.C:384
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
Holds metadata for bulk data associated with a GroupingEntity.
Definition Ioss_Field.h:25
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
Definition Iovs_cgns_DatabaseIO.h:16
int64_t get_field_internal(const Ioss::ElementBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:59
int64_t get_field_internal(const Ioss::FaceBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:54
int64_t get_field_internal(const Ioss::ElementSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:84
void write_meta_data()
Definition Iovs_cgns_DatabaseIO.C:81
int64_t get_field_internal(const Ioss::Assembly *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:104
int64_t get_field_internal(const Ioss::NodeBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:44
int64_t put_field_internal(const Ioss::SideBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:140
int64_t get_field_internal(const Ioss::EdgeBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:49
int64_t get_field_internal(const Ioss::SideBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:64
int64_t put_field_internal(const Ioss::ElementSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:160
void outputId(const std::string idName, std::vector< int64_t > &ids, bool isCellField, const Ioss::StructuredBlock *sb)
Definition Iovs_cgns_DatabaseIO.C:114
int64_t put_field_internal(const Ioss::NodeBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:120
bool begin_state_nl(int state, double time) override
Definition Iovs_cgns_DatabaseIO.C:55
int64_t put_field_internal(const Ioss::SideSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:165
bool end_nl(Ioss::State state) override
Definition Iovs_cgns_DatabaseIO.C:43
unsigned entity_field_support() const override
Definition Iovs_cgns_DatabaseIO.h:25
bool begin_nl(Ioss::State state) override
Definition Iovs_cgns_DatabaseIO.C:41
std::string get_format() const override
Definition Iovs_cgns_DatabaseIO.h:23
bool isIdOutputCreated
Definition Iovs_cgns_DatabaseIO.h:189
int64_t put_field_internal(const Ioss::Region *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:115
int64_t get_field_internal(const Ioss::Region *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:39
int64_t get_field_internal(const Ioss::EdgeSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:74
~DatabaseIO() override
Definition Iovs_cgns_DatabaseIO.C:39
std::unique_ptr< CatalystCGNSMeshBase > catCGNSMesh
Definition Iovs_cgns_DatabaseIO.h:188
int64_t put_field_internal(const Ioss::ElementBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:135
int64_t put_field_internal(const Ioss::Blob *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:182
void initZoneDataFromStructuredBlock(CatalystCGNSMeshBase::ZoneData &zoneData, const Ioss::StructuredBlock *sb) const
Definition Iovs_cgns_DatabaseIO.C:129
int64_t put_field_internal(const Ioss::EdgeBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:125
int64_t put_field_internal(const Ioss::EdgeSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:150
bool end_state_nl(int state, double time) override
Definition Iovs_cgns_DatabaseIO.C:66
int64_t get_field_internal(const Ioss::CommSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:94
int64_t get_field_internal(const Ioss::Blob *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:109
void read_meta_data_nl() override
Definition Iovs_cgns_DatabaseIO.C:79
int64_t put_field_internal(const Ioss::Assembly *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:177
int64_t put_field_internal(const Ioss::FaceSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:155
int64_t get_field_internal(const Ioss::SideSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:89
int64_t get_field_internal(const Ioss::StructuredBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:99
int int_byte_size_db() const override
Definition Iovs_cgns_DatabaseIO.h:27
void createIdOutput()
Definition Iovs_cgns_DatabaseIO.C:91
int64_t get_field_internal(const Ioss::FaceSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:79
int64_t put_field_internal(const Ioss::FaceBlock *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:130
int64_t put_field_internal(const Ioss::CommSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:170
int64_t put_field_internal(const Ioss::NodeSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:145
int64_t get_field_internal(const Ioss::NodeSet *, const Ioss::Field &, void *, size_t) const override
Definition Iovs_cgns_DatabaseIO.h:69
State
Access states for a database.
Definition Ioss_State.h:15
DatabaseUsage
Specifies how an Ioss::DatabaseIO object will be used.
Definition Ioss_DBUsage.h:13
@ REGION
Definition Ioss_EntityType.h:25
Definition CatalystCGNSMesh.h:19
Definition CatalystCGNSMeshBase.h:54