14#include "ioss_export.h"
#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
void set_offset(size_t offset)
Set the 'offset' for the block.
Definition Ioss_EntityBlock.h:74
EntityBlock(const EntityBlock &)=default
IOSS_NODISCARD Property get_implicit_property(const std::string &my_name) const override=0
Calculate and get an implicit property.
Definition Ioss_EntityBlock.C:71
EntityBlock & operator=(const EntityBlock &)=delete
IOSS_NODISCARD size_t get_offset() const
Get the 'offset' for the block.
Definition Ioss_EntityBlock.h:91
size_t idOffset
Definition Ioss_EntityBlock.h:105
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
IOSS_NODISCARD const ElementTopology * topology() const
Get the topology of the entities in the block.
Definition Ioss_EntityBlock.h:48
IOSS_NODISCARD bool contains(size_t local_id) const
Determine whether the block contains the entity with a given id.
Definition Ioss_EntityBlock.h:55
ElementTopology * topology_
Definition Ioss_EntityBlock.h:103
friend class Property
Definition Ioss_GroupingEntity.h:69
int64_t entityCount
Definition Ioss_GroupingEntity.h:301
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40