|
| ElementBlock (DatabaseIO *io_database, const std::string &my_name, const std::string &element_type, int64_t number_elements) |
| Create an element block.
|
|
| ElementBlock (const ElementBlock &)=default |
|
IOSS_NODISCARD std::string | type_string () const override |
| Get the name of the particular type of entity.
|
|
IOSS_NODISCARD std::string | short_type_string () const override |
| Get a short name of the particular type of entity.
|
|
IOSS_NODISCARD std::string | contains_string () const override |
| What does this entity contain.
|
|
IOSS_NODISCARD EntityType | type () const override |
| Get the EntityType, which indicates the particular type of GroupingEntity this is.
|
|
IOSS_NODISCARD Property | get_implicit_property (const std::string &my_name) const override |
| Calculate and get an implicit property.
|
|
IOSS_NODISCARD Ioss::NameList | get_block_adjacencies () const |
|
void | get_block_adjacencies (Ioss::NameList &block_adjacency) const |
|
IOSS_NODISCARD AxisAlignedBoundingBox | get_bounding_box () const |
|
IOSS_NODISCARD bool | operator== (const Ioss::ElementBlock &rhs) const |
|
IOSS_NODISCARD bool | operator!= (const Ioss::ElementBlock &rhs) const |
|
IOSS_NODISCARD bool | equal (const Ioss::ElementBlock &rhs) const |
|
EntityBlock & | operator= (const EntityBlock &)=delete |
|
IOSS_NODISCARD const ElementTopology * | topology () const |
| Get the topology of the entities in the block.
|
|
IOSS_NODISCARD bool | contains (size_t local_id) const |
| Determine whether the block contains the entity with a given id.
|
|
void | set_offset (size_t offset) |
| Set the 'offset' for the block.
|
|
IOSS_NODISCARD size_t | get_offset () const |
| Get the 'offset' for the block.
|
|
IOSS_NODISCARD bool | operator== (const Ioss::EntityBlock &rhs) const |
|
IOSS_NODISCARD bool | operator!= (const Ioss::EntityBlock &rhs) const |
|
IOSS_NODISCARD bool | equal (const Ioss::EntityBlock &rhs) const |
|
| GroupingEntity ()=default |
|
| GroupingEntity (DatabaseIO *io_database, const std::string &my_name, int64_t entity_count) |
| Base class constructor adds "name" and "entity_count" properties to the entity.
|
|
| GroupingEntity (const GroupingEntity &other) |
|
GroupingEntity & | operator= (const GroupingEntity &rhs)=delete |
|
virtual | ~GroupingEntity () |
|
IOSS_NODISCARD State | get_state () const |
| Get the current Ioss::State of the entity.
|
|
IOSS_NODISCARD DatabaseIO * | get_database () const |
|
void | set_database (DatabaseIO *io_database) |
|
void | reset_database (DatabaseIO *io_database) |
|
virtual void | delete_database () |
|
virtual IOSS_NODISCARD const GroupingEntity * | contained_in () const |
|
IOSS_NODISCARD const std::string & | name () const |
| Get name of entity.
|
|
void | set_name (const std::string &new_name) |
| Set the name of the entity.
|
|
IOSS_NODISCARD std::string | generic_name () const |
| Get a generated name based on the type of the entity and the id.
|
|
IOSS_NODISCARD bool | is_alias (const std::string &my_name) const |
|
virtual void | block_membership (Ioss::NameList &) |
| Get list of blocks that the entities in this GroupingEntity "touch".
|
|
IOSS_NODISCARD std::string | get_filename () const |
| Get the file name associated with the database containing this entity.
|
|
void | property_add (const Property &new_prop) |
| Add a property to the entity's property manager.
|
|
void | property_erase (const std::string &property_name) |
| Remove a property from the entity's property manager.
|
|
IOSS_NODISCARD bool | property_exists (const std::string &property_name) const |
| Checks if a property exists in the entity's property manager.
|
|
IOSS_NODISCARD Property | get_property (const std::string &property_name) const |
| Get the Property from the property manager associated with the entity.
|
|
IOSS_NODISCARD int64_t | get_optional_property (const std::string &property, int64_t optional_value) const |
|
IOSS_NODISCARD std::string | get_optional_property (const std::string &property_name, const std::string &optional_value) const |
|
IOSS_NODISCARD NameList | property_describe () const |
| Get the names of all properties in the property manager for this entity.
|
|
int | property_describe (NameList *names) const |
| Get the names of all properties in the property manager for this entity.
|
|
IOSS_NODISCARD NameList | property_describe (Ioss::Property::Origin origin) const |
|
int | property_describe (Ioss::Property::Origin origin, NameList *names) const |
|
IOSS_NODISCARD size_t | property_count () const |
| Get the number of properties defined in the property manager for this entity.
|
|
void | property_update (const std::string &property, int64_t value) const |
|
void | property_update (const std::string &property, const std::string &value) const |
|
void | field_add (Field new_field) |
| Add a field to the entity's field manager.
|
|
void | field_erase (const std::string &field_name) |
| Remove a field from the entity's field manager.
|
|
void | field_erase (Field::RoleType role) |
| Remove all fields of type role from the entity's field manager.
|
|
IOSS_NODISCARD bool | field_exists (const std::string &field_name) const |
| Checks if a field with a given name exists in the entity's field manager.
|
|
IOSS_NODISCARD Field | get_field (const std::string &field_name) const |
| Get a field from the entity's field manager.
|
|
IOSS_NODISCARD const Field & | get_fieldref (const std::string &field_name) const |
| Get a reference to a field from the entity's field manager.
|
|
int | field_describe (NameList *names) const |
| Get the names of all fields in the entity's field manager.
|
|
IOSS_NODISCARD NameList | field_describe () const |
| Get the names of all fields in the entity's field manager.
|
|
int | field_describe (Field::RoleType role, NameList *names) const |
| Get the names of all fields of a specified RoleType in the entity's field manager.
|
|
IOSS_NODISCARD NameList | field_describe (Field::RoleType role) const |
| Get the names of all fields of a specified RoleType in the entity's field manager.
|
|
IOSS_NODISCARD size_t | field_count () const |
| Get the number of fields in the entity's field manager.
|
|
IOSS_NODISCARD size_t | field_count (Field::RoleType role) const |
| Get the number of fields with the given role (MESH, ATTRIBUTE, TRANSIENT, REDUCTION, etc.) in the entity's field manager.
|
|
IOSS_NODISCARD bool | check_for_duplicate (const Ioss::Field &new_field) const |
|
int64_t | get_field_data (const std::string &field_name, void *data, size_t data_size) const |
| Read field data from the database file into memory using a pointer.
|
|
int64_t | put_field_data (const std::string &field_name, void *data, size_t data_size) const |
| Write field data from memory into the database file using a pointer.
|
|
int64_t | get_field_data (const std::string &field_name, void **data, size_t *data_size) const |
|
template<typename T > |
int64_t | get_field_data (const std::string &field_name, std::vector< T > &data) const |
| Read type 'T' field data from the database file into memory using a std::vector.
|
|
template<typename T > |
int64_t | put_field_data (const std::string &field_name, const std::vector< T > &data) const |
| Write type 'T' field data from memory into the database file using a std::vector.
|
|
template<typename T > |
int64_t | put_field_data (const std::string &field_name, std::vector< T > &data) const |
|
IOSS_NODISCARD Ioss::Field::BasicType | field_int_type () const |
|
IOSS_NODISCARD unsigned int | hash () const |
|
IOSS_NODISCARD int64_t | entity_count () const |
|
IOSS_NODISCARD bool | operator!= (const GroupingEntity &rhs) const |
|
IOSS_NODISCARD bool | operator== (const GroupingEntity &rhs) const |
|
IOSS_NODISCARD bool | equal (const GroupingEntity &rhs) const |
|
A collection of elements having the same topology.