33 #ifndef IOSS_Ioss_EntityBlock_h 34 #define IOSS_Ioss_EntityBlock_h 44 class ElementTopology;
Represents an element topology.
Definition: Ioss_ElementTopology.h:72
A named value that has a known type.
Definition: Ioss_Property.h:47
The main namespace for the Ioss library.
Definition: Iocgns_DatabaseIO.h:50
An input or output Database.
Definition: Ioss_DatabaseIO.h:80
bool contains(size_t local_id) const
Determine whether the block contains the entity with a given id.
Definition: Ioss_EntityBlock.h:77
int64_t entityCount
Definition: Ioss_GroupingEntity.h:286
Base class for all 'grouping' entities. The following derived classes are typical: ...
Definition: Ioss_GroupingEntity.h:93
void set_offset(size_t offset)
Set the 'offset' for the block.
Definition: Ioss_EntityBlock.h:96
size_t idOffset
Definition: Ioss_EntityBlock.h:125
Base class for all 'block'-type grouping entities, which means all members of the block are similar o...
Definition: Ioss_EntityBlock.h:61
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:56
const ElementTopology * topology() const
Get the topology of the entities in the block.
Definition: Ioss_EntityBlock.h:70
ElementTopology * topology_
Definition: Ioss_EntityBlock.h:122
EntityBlock & operator=(const EntityBlock &)=delete
entity_type
Definition: Iovs_DatabaseIO.C:81
Property get_implicit_property(const std::string &my_name) const override=0
Calculate and get an implicit property.
Definition: Ioss_EntityBlock.C:96
size_t get_offset() const
Get the 'offset' for the block.
Definition: Ioss_EntityBlock.h:113