20#include "ioss_export.h"
32 const std::string &element_type, int64_t number_elements);
54 int64_t internal_get_field_data(
const Field &field,
void *data,
55 size_t data_size)
const override;
57 int64_t internal_put_field_data(
const Field &field,
void *data,
58 size_t data_size)
const override;
60 int64_t internal_get_zc_field_data(
const Field &field,
void **data,
61 size_t *data_size)
const override;
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
An input or output Database.
Definition Ioss_DatabaseIO.h:63
A collection of elements having the same topology.
Definition Ioss_ElementBlock.h:29
ElementBlock(const ElementBlock &)=default
IOSS_NODISCARD std::string short_type_string() const override
Get a short name of the particular type of entity.
Definition Ioss_ElementBlock.h:37
IOSS_NODISCARD EntityType type() const override
Get the EntityType, which indicates the particular type of GroupingEntity this is.
Definition Ioss_ElementBlock.h:39
IOSS_NODISCARD std::string contains_string() const override
What does this entity contain.
Definition Ioss_ElementBlock.h:38
ElementBlock(DatabaseIO *io_database, const std::string &my_name, const std::string &element_type, int64_t number_elements)
Create an element block.
Definition Ioss_ElementBlock.C:28
IOSS_NODISCARD std::string type_string() const override
Get the name of the particular type of entity.
Definition Ioss_ElementBlock.h:36
EntityBlock(DatabaseIO *io_database, const std::string &my_name, const std::string &entity_type, size_t entity_cnt)
Constructor adds "name" and "entity_count" properties to the entity and specifies the topology type f...
Definition Ioss_EntityBlock.C:31
Holds metadata for bulk data associated with a GroupingEntity.
Definition Ioss_Field.h:25
A named value that has a known type.
Definition Ioss_Property.h:27
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
Ioss::NameList NameList
Definition Ioss_ChangeSetFactory.h:25
EntityType
The particular type of GroupingEntity.
Definition Ioss_EntityType.h:12
@ ELEMENTBLOCK
Definition Ioss_EntityType.h:16
Definition Ioss_BoundingBox.h:13