9#include "iofaodel_export.h"
15#include <kelpie/Key.hh>
16#include <lunasa/DataObject.hh>
23 using DataPair = std::pair<kelpie::Key, lunasa::DataObject>;
37 IofaodelStructuredBlock
80 IOFAODEL_EXPORT kelpie::Key
84 IOFAODEL_EXPORT kelpie::Key
100 const std::string &entity_name);
109 const std::string &entity_type,
110 const std::string &entity_name,
111 const std::string &property_type,
112 const std::string &property_name);
126 IOFAODEL_EXPORT std::string
get_entity_name(
const kelpie::Key &k,
const std::string &target);
127 IOFAODEL_EXPORT std::set<std::string>
get_entity_names(
const std::vector<kelpie::Key> &keys,
128 const std::string &target);
Holds metadata for bulk data associated with a GroupingEntity.
Definition Ioss_Field.h:25
BasicType
The basic data type held in the field.
Definition Ioss_Field.h:29
RoleType
Definition Ioss_Field.h:69
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
BasicType
Definition Ioss_Property.h:29
A grouping entity that contains other grouping entities.
Definition Ioss_Region.h:93
A collection of element sides having the same topology.
Definition Ioss_SideBlock.h:37
A collection of element sides.
Definition Ioss_SideSet.h:29
A structured zone – i,j,k.
Definition Ioss_StructuredBlock.h:91
A namespace for the pamgen database format.
Definition Iofaodel_DatabaseIO.C:46
kelpie::Key make_sideblock_key(int rank, const Ioss::Region ®ion, const Ioss::SideSet &sideset, const Ioss::SideBlock &sideblock)
Definition Iofaodel_Utils.C:176
kelpie::Key make_structuredblock_key(int rank, const Ioss::Region ®ion, const Ioss::StructuredBlock &structuredblock)
Definition Iofaodel_Utils.C:199
kelpie::Key make_property_key(int rank, const Ioss::Region ®ion, const std::string &entity_type, const std::string &entity_name, const std::string &property_type, const std::string &property_name)
Definition Iofaodel_Utils.C:305
std::pair< kelpie::Key, lunasa::DataObject > DataPair
Definition Iofaodel_Utils.h:23
int64_t unpack_sideblocks(lunasa::DataObject ldo)
Definition Iofaodel_Utils.C:72
kelpie::Key field_search_key(int rank, const Ioss::Region ®ion, const Ioss::GroupingEntity &grouping_entity)
Definition Iofaodel_Utils.C:323
kelpie::Key property_search_key(int rank, const Ioss::Region ®ion, const Ioss::GroupingEntity &grouping_entity)
Definition Iofaodel_Utils.C:289
std::string to_string(const Ioss::Property::BasicType &t)
Definition Iofaodel_Utils.C:360
kelpie::Key make_states_key(int rank, const Ioss::Region ®ion)
Definition Iofaodel_Utils.C:156
lunasa::DataObject pack_states(const Ioss::Region &r)
Definition Iofaodel_Utils.C:116
kelpie::Key entity_search_key(int rank, const Ioss::Region ®ion, const std::string &entity)
Definition Iofaodel_Utils.C:262
kelpie::Key make_key(int rank, const Ioss::Region ®ion, const Ioss::GroupingEntity &grouping_entity, const Ioss::Field &field)
Definition Iofaodel_Utils.C:210
std::string get_entity_name(const kelpie::Key &k, const std::string &target)
Definition Iofaodel_Utils.C:406
lunasa::DataObject pack_structuredblock(const Ioss::StructuredBlock &sb)
Definition Iofaodel_Utils.C:86
kelpie::Key sideblocks_search_key(int rank, const Ioss::Region ®ion, const Ioss::SideSet &sideset)
Definition Iofaodel_Utils.C:165
std::set< std::string > get_entity_names(const std::vector< kelpie::Key > &keys, const std::string &target)
Definition Iofaodel_Utils.C:419
lunasa::DataObject pack_sideblock(const Ioss::SideBlock &sb)
Definition Iofaodel_Utils.C:53
kelpie::Key structuredblock_search_key(int rank, const Ioss::Region ®ion, const Ioss::StructuredBlock &structuredblock)
Definition Iofaodel_Utils.C:188
kelpie::Key make_states_search_key(int rank, const Ioss::Region ®ion)
Definition Iofaodel_Utils.C:147
void unpack_structuredblock(lunasa::DataObject &ldo, Ioss::StructuredBlock &sb)
Definition Iofaodel_Utils.C:102
EntityType
The particular type of GroupingEntity.
Definition Ioss_EntityType.h:12
Definition Iofaodel_Utils.h:31
IossType ioss_type
Definition Iofaodel_Utils.h:39
IossType
Definition Iofaodel_Utils.h:32
value_entry_t value
Definition Iofaodel_Utils.h:40
Definition Iofaodel_Utils.h:55
size_t entity_count
Definition Iofaodel_Utils.h:56
Definition Iofaodel_Utils.h:45
size_t count
Definition Iofaodel_Utils.h:47
value_entry_t value
Definition Iofaodel_Utils.h:48
double basic_type
Definition Iofaodel_Utils.h:46
Definition Iofaodel_Utils.h:26
size_t offset
Definition Iofaodel_Utils.h:27