IOSS 2.0
Loading...
Searching...
No Matches
Iofaodel Namespace Reference

A namespace for the pamgen database format. More...

Classes

class  DatabaseIO
 
struct  field_entry_t
 
class  IOFactory
 
struct  meta_entry_t
 
struct  property_entry_t
 
struct  sideblock_entry_t
 
struct  state_entry_t
 
struct  value_entry_t
 

Typedefs

using FieldFunction
 
using PropertyFunction
 
using DataPair = std::pair<kelpie::Key, lunasa::DataObject>
 

Functions

void unsupported (const char *operation)
 
int get_file_pointer ()
 
const char * Version ()
 
void faodel_error (int exoid, int lineno, int)
 
size_t data_size (const Ioss::Field &f)
 
void map_fields (const Ioss::Region &region, const Ioss::GroupingEntity &entity, FieldFunction op)
 
void map_fields (const Ioss::Region &region, FieldFunction op)
 
lunasa::DataObject pack_field (const Ioss::Region &region, const Ioss::GroupingEntity &entity, const Ioss::Field &field)
 
lunasa::DataObject pack_field (const Ioss::Region &r, const Ioss::GroupingEntity &e, const Ioss::Field &f, void *data, size_t data_size)
 
size_t data_size (const Ioss::Property &p)
 
void map_properties (const Ioss::Region &region, const Ioss::GroupingEntity &entity, PropertyFunction op)
 
void map_properties (const Ioss::Region &region, PropertyFunction op)
 
lunasa::DataObject pack_property (const Ioss::Region &region, const Ioss::GroupingEntity &entity, const Ioss::Property &property)
 
int64_t property_get_int (lunasa::DataObject ldo)
 
std::string property_get_string (lunasa::DataObject ldo)
 
lunasa::DataObject pack_sideblock (const Ioss::SideBlock &sb)
 
int64_t unpack_sideblocks (lunasa::DataObject ldo)
 
lunasa::DataObject pack_structuredblock (const Ioss::StructuredBlock &sb)
 
void unpack_structuredblock (lunasa::DataObject &ldo, Ioss::StructuredBlock &sb)
 
lunasa::DataObject pack_states (const Ioss::Region &r)
 
kelpie::Key make_states_search_key (int rank, const Ioss::Region &region)
 
kelpie::Key make_states_key (int rank, const Ioss::Region &region)
 
kelpie::Key sideblocks_search_key (int rank, const Ioss::Region &region, const Ioss::SideSet &sideset)
 
kelpie::Key make_sideblock_key (int rank, const Ioss::Region &region, const Ioss::SideSet &sideset, const Ioss::SideBlock &sideblock)
 
kelpie::Key structuredblock_search_key (int rank, const Ioss::Region &region, const Ioss::StructuredBlock &structuredblock)
 
kelpie::Key make_structuredblock_key (int rank, const Ioss::Region &region, const Ioss::StructuredBlock &structuredblock)
 
kelpie::Key make_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity, const Ioss::Field &field)
 
kelpie::Key make_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity, const Ioss::Property &property)
 
kelpie::Key make_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
 
kelpie::Key entity_search_key (int rank, const Ioss::Region &region, const std::string &entity)
 
kelpie::Key entity_search_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
 
kelpie::Key property_search_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
 
kelpie::Key make_property_key (int rank, const Ioss::Region &region, const std::string &entity_type, const std::string &entity_name, const std::string &property_type, const std::string &property_name)
 
kelpie::Key field_search_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
 
kelpie::Key field_search_key (int rank, int state, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
 
std::string to_string (const Ioss::Property::BasicType &t)
 
std::string to_string (const Ioss::Field::BasicType &t)
 
std::string to_string (const Ioss::Field::RoleType &t)
 
std::string to_string (const Ioss::EntityType &t)
 
std::string get_entity_name (const kelpie::Key &k, const std::string &target)
 
std::set< std::string > get_entity_names (const std::vector< kelpie::Key > &keys, const std::string &target)
 

Detailed Description

A namespace for the pamgen database format.

Typedef Documentation

◆ DataPair

using Iofaodel::DataPair = std::pair<kelpie::Key, lunasa::DataObject>

◆ FieldFunction

Initial value:
std::function<void(const Ioss::Region &, const Ioss::GroupingEntity &, const Ioss::Field &)>
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 grouping entity that contains other grouping entities.
Definition Ioss_Region.h:93

◆ PropertyFunction

Initial value:
std::function<void(const Ioss::Region &, const Ioss::GroupingEntity &,
const Ioss::Property &)>
A named value that has a known type.
Definition Ioss_Property.h:27

Function Documentation

◆ data_size() [1/2]

IOFAODEL_EXPORT size_t Iofaodel::data_size ( const Ioss::Field & f)

◆ data_size() [2/2]

IOFAODEL_EXPORT size_t Iofaodel::data_size ( const Ioss::Property & p)

◆ entity_search_key() [1/2]

IOFAODEL_EXPORT kelpie::Key Iofaodel::entity_search_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ entity_search_key() [2/2]

IOFAODEL_EXPORT kelpie::Key Iofaodel::entity_search_key ( int rank,
const Ioss::Region & region,
const std::string & entity )

◆ faodel_error()

void Iofaodel::faodel_error ( int exoid,
int lineno,
int  )

◆ field_search_key() [1/2]

IOFAODEL_EXPORT kelpie::Key Iofaodel::field_search_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ field_search_key() [2/2]

IOFAODEL_EXPORT kelpie::Key Iofaodel::field_search_key ( int rank,
int state,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ get_entity_name()

IOFAODEL_EXPORT std::string Iofaodel::get_entity_name ( const kelpie::Key & k,
const std::string & target )

◆ get_entity_names()

IOFAODEL_EXPORT std::set< std::string > Iofaodel::get_entity_names ( const std::vector< kelpie::Key > & keys,
const std::string & target )

◆ get_file_pointer()

int Iofaodel::get_file_pointer ( )

◆ make_key() [1/3]

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ make_key() [2/3]

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity,
const Ioss::Field & field )

◆ make_key() [3/3]

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity,
const Ioss::Property & property )

◆ make_property_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_property_key ( int rank,
const Ioss::Region & region,
const std::string & entity_type,
const std::string & entity_name,
const std::string & property_type,
const std::string & property_name )

◆ make_sideblock_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_sideblock_key ( int rank,
const Ioss::Region & region,
const Ioss::SideSet & sideset,
const Ioss::SideBlock & sideblock )

◆ make_states_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_states_key ( int rank,
const Ioss::Region & region )

◆ make_states_search_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_states_search_key ( int rank,
const Ioss::Region & region )

◆ make_structuredblock_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::make_structuredblock_key ( int rank,
const Ioss::Region & region,
const Ioss::StructuredBlock & structuredblock )

◆ map_fields() [1/2]

IOFAODEL_EXPORT void Iofaodel::map_fields ( const Ioss::Region & region,
const Ioss::GroupingEntity & entity,
FieldFunction op )

◆ map_fields() [2/2]

IOFAODEL_EXPORT void Iofaodel::map_fields ( const Ioss::Region & region,
FieldFunction op )

◆ map_properties() [1/2]

IOFAODEL_EXPORT void Iofaodel::map_properties ( const Ioss::Region & region,
const Ioss::GroupingEntity & entity,
PropertyFunction op )

◆ map_properties() [2/2]

IOFAODEL_EXPORT void Iofaodel::map_properties ( const Ioss::Region & region,
PropertyFunction op )

◆ pack_field() [1/2]

IOFAODEL_EXPORT lunasa::DataObject Iofaodel::pack_field ( const Ioss::Region & r,
const Ioss::GroupingEntity & e,
const Ioss::Field & f,
void * data,
size_t data_size )

◆ pack_field() [2/2]

IOFAODEL_EXPORT lunasa::DataObject Iofaodel::pack_field ( const Ioss::Region & region,
const Ioss::GroupingEntity & entity,
const Ioss::Field & field )

◆ pack_property()

IOFAODEL_EXPORT lunasa::DataObject Iofaodel::pack_property ( const Ioss::Region & region,
const Ioss::GroupingEntity & entity,
const Ioss::Property & property )

◆ pack_sideblock()

IOFAODEL_EXPORT lunasa::DataObject Iofaodel::pack_sideblock ( const Ioss::SideBlock & sb)

◆ pack_states()

IOFAODEL_EXPORT lunasa::DataObject Iofaodel::pack_states ( const Ioss::Region & r)

◆ pack_structuredblock()

IOFAODEL_EXPORT lunasa::DataObject Iofaodel::pack_structuredblock ( const Ioss::StructuredBlock & sb)

◆ property_get_int()

IOFAODEL_EXPORT int64_t Iofaodel::property_get_int ( lunasa::DataObject ldo)

◆ property_get_string()

std::string Iofaodel::property_get_string ( lunasa::DataObject ldo)

◆ property_search_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::property_search_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ sideblocks_search_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::sideblocks_search_key ( int rank,
const Ioss::Region & region,
const Ioss::SideSet & sideset )

◆ structuredblock_search_key()

IOFAODEL_EXPORT kelpie::Key Iofaodel::structuredblock_search_key ( int rank,
const Ioss::Region & region,
const Ioss::StructuredBlock & structuredblock )

◆ to_string() [1/4]

IOFAODEL_EXPORT std::string Iofaodel::to_string ( const Ioss::EntityType & t)

◆ to_string() [2/4]

IOFAODEL_EXPORT std::string Iofaodel::to_string ( const Ioss::Field::BasicType & t)

◆ to_string() [3/4]

IOFAODEL_EXPORT std::string Iofaodel::to_string ( const Ioss::Field::RoleType & t)

◆ to_string() [4/4]

IOFAODEL_EXPORT std::string Iofaodel::to_string ( const Ioss::Property::BasicType & t)

◆ unpack_sideblocks()

IOFAODEL_EXPORT int64_t Iofaodel::unpack_sideblocks ( lunasa::DataObject ldo)

◆ unpack_structuredblock()

IOFAODEL_EXPORT void Iofaodel::unpack_structuredblock ( lunasa::DataObject & ldo,
Ioss::StructuredBlock & sb )

◆ unsupported()

void Iofaodel::unsupported ( const char * operation)

◆ Version()

const char * Iofaodel::Version ( )