20#include "ioss_export.h"
26 class ElementTopology;
41 SideBlock(
DatabaseIO *io_database,
const std::string &my_name,
const std::string &side_type,
42 const std::string &element_type,
size_t side_count);
71 generate_sideblock_name(
const std::string &sideset_name,
const std::string &block_or_element,
72 const std::string &face_topology_name);
100 parentBlock_ = element_block;
109 return parentTopology_;
123 int64_t internal_get_field_data(
const Field &field,
void *data,
124 size_t data_size)
const override;
126 int64_t internal_put_field_data(
const Field &field,
void *data,
127 size_t data_size)
const override;
129 int64_t internal_get_zc_field_data(
const Field &field,
void **data,
130 size_t *data_size)
const override;
133 bool equal_(
const SideBlock &rhs,
bool quiet)
const;
142 mutable int consistentSideNumber{-1};
#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
Represents an element topology.
Definition Ioss_ElementTopology.h:68
Base class for all 'block'-type grouping entities, which means all members of the block are similar o...
Definition Ioss_EntityBlock.h:38
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 named value that has a known type.
Definition Ioss_Property.h:27
A collection of element sides having the same topology.
Definition Ioss_SideBlock.h:37
IOSS_NODISCARD const SideSet * owner() const
Definition Ioss_SideBlock.h:79
IOSS_NODISCARD EntityType type() const override
Get the EntityType, which indicates the particular type of GroupingEntity this is.
Definition Ioss_SideBlock.h:77
IOSS_NODISCARD const Ioss::GroupingEntity * contained_in() const override
Definition Ioss_SideBlock.h:80
IOSS_NODISCARD const ElementBlock * parent_element_block() const
Definition Ioss_SideBlock.h:93
IOSS_NODISCARD std::string short_type_string() const override
Get a short name of the particular type of entity.
Definition Ioss_SideBlock.h:75
void set_parent_block(const EntityBlock *block)
Definition Ioss_SideBlock.h:104
IOSS_NODISCARD std::string type_string() const override
Get the name of the particular type of entity.
Definition Ioss_SideBlock.h:74
IOSS_NODISCARD const EntityBlock * parent_block() const
Definition Ioss_SideBlock.h:103
void set_consistent_side_number(int side)
Definition Ioss_SideBlock.h:116
void set_parent_element_block(const ElementBlock *element_block)
Definition Ioss_SideBlock.h:98
IOSS_NODISCARD std::string contains_string() const override
What does this entity contain.
Definition Ioss_SideBlock.h:76
IOSS_NODISCARD const ElementTopology * parent_element_topology() const
Definition Ioss_SideBlock.h:107
A collection of element sides.
Definition Ioss_SideSet.h:29
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
@ SIDEBLOCK
Definition Ioss_EntityType.h:24