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

Namespaces

namespace  helpers

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 PackedBytes = std::vector<unsigned char>
using PropertyFunction
using key_t = std::pair<std::string, std::string>

Functions

size_t data_size (const Ioss::Field &f)
int map_fields (const Ioss::Region &region, const Ioss::GroupingEntity &entity, FieldFunction op)
int map_fields (const Ioss::Region &region, FieldFunction op)
PackedBytes pack_field (const Ioss::Region &, const Ioss::GroupingEntity &entity, const Ioss::Field &field)
PackedBytes pack_field (const Ioss::Region &, const Ioss::GroupingEntity &, const Ioss::Field &f, void *data, size_t)
size_t data_size (const Ioss::Property &p)
int map_properties (const Ioss::Region &region, const Ioss::GroupingEntity &entity, PropertyFunction op)
int map_properties (const Ioss::Region &region, PropertyFunction op)
PackedBytes pack_property (const Ioss::Region &, const Ioss::GroupingEntity &, const Ioss::Property &property)
int64_t property_get_int (PackedBytes &p)
std::string property_get_string (PackedBytes &p)
PackedBytes pack_sideblock (const Ioss::SideBlock &sb)
int64_t unpack_sideblocks (PackedBytes &v)
PackedBytes pack_structuredblock (const Ioss::StructuredBlock &sb)
void unpack_structuredblock (PackedBytes &v, Ioss::StructuredBlock &sb)
PackedBytes pack_states (const Ioss::Region &r)
key_t make_map_search_key (int rank, const std::string &type, const std::string &name)
key_t make_map_key (int rank, const std::string &type, const std::string &name)
key_t make_node_map_search_key (int rank, const std::string &name)
key_t make_node_map_key (int rank, const std::string &name)
key_t make_edge_map_search_key (int rank, const std::string &name)
key_t make_edge_map_key (int rank, const std::string &name)
key_t make_face_map_search_key (int rank, const std::string &name)
key_t make_face_map_key (int rank, const std::string &name)
key_t make_elem_map_search_key (int rank, const std::string &name)
key_t make_elem_map_key (int rank, const std::string &name)
key_t make_states_search_key (int rank, const Ioss::Region &region)
key_t make_states_key (int rank, const Ioss::Region &region)
key_t sideblocks_search_key (int rank, const Ioss::Region &region, const Ioss::SideSet &sideset)
key_t make_sideblock_key (int rank, const Ioss::Region &region, const Ioss::SideSet &sideset, const Ioss::SideBlock &sideblock)
key_t structuredblock_search_key (int rank, const Ioss::Region &region, const Ioss::StructuredBlock &structuredblock)
key_t make_structuredblock_key (int rank, const Ioss::Region &region, const Ioss::StructuredBlock &structuredblock)
key_t make_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity, const Ioss::Field &field, const std::string &name)
key_t make_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity, const Ioss::Field &field)
key_t make_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity, const Ioss::Property &property)
key_t make_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
key_t entity_search_key (int rank, const Ioss::Region &region, const std::string &entity)
key_t entity_search_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
key_t property_search_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
key_t 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)
key_t field_search_key (int rank, const Ioss::Region &region, const Ioss::GroupingEntity &grouping_entity)
key_t field_search_key (int rank, int state, const Ioss::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 std::string &k, const std::string &target)
std::set< std::string > get_entity_names (const std::vector< std::string > &keys, const std::string &target)

Variables

const std::size_t MAX_STR_LENGTH = 32
const std::size_t MAX_LINE_LENGTH = 80

Typedef Documentation

◆ FieldFunction

Initial value:
std::function<int(const Ioss::Region &, const Ioss::GroupingEntity &, const Ioss::Field &)>
Holds metadata for bulk data associated with a GroupingEntity.
Definition Ioss_Field.h:28
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

◆ key_t

using Ios3::key_t = std::pair<std::string, std::string>

◆ PackedBytes

typedef std::vector< unsigned char > Ios3::PackedBytes = std::vector<unsigned char>

◆ PropertyFunction

Initial value:
std::function<int(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]

IOS3_EXPORT size_t Ios3::data_size ( const Ioss::Field & f)

◆ data_size() [2/2]

IOS3_EXPORT size_t Ios3::data_size ( const Ioss::Property & p)

◆ entity_search_key() [1/2]

IOS3_EXPORT key_t Ios3::entity_search_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ entity_search_key() [2/2]

IOS3_EXPORT key_t Ios3::entity_search_key ( int rank,
const Ioss::Region & region,
const std::string & entity )

◆ field_search_key() [1/2]

IOS3_EXPORT key_t Ios3::field_search_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ field_search_key() [2/2]

IOS3_EXPORT key_t Ios3::field_search_key ( int rank,
int state,
const Ioss::Region & ,
const Ioss::GroupingEntity & grouping_entity )

◆ get_entity_name()

IOS3_EXPORT std::string Ios3::get_entity_name ( const std::string & k,
const std::string & target )

◆ get_entity_names()

IOS3_EXPORT std::set< std::string > Ios3::get_entity_names ( const std::vector< std::string > & keys,
const std::string & target )

◆ make_edge_map_key()

IOS3_EXPORT key_t Ios3::make_edge_map_key ( int rank,
const std::string & name )

◆ make_edge_map_search_key()

IOS3_EXPORT key_t Ios3::make_edge_map_search_key ( int rank,
const std::string & name )

◆ make_elem_map_key()

IOS3_EXPORT key_t Ios3::make_elem_map_key ( int rank,
const std::string & name )

◆ make_elem_map_search_key()

IOS3_EXPORT key_t Ios3::make_elem_map_search_key ( int rank,
const std::string & name )

◆ make_face_map_key()

IOS3_EXPORT key_t Ios3::make_face_map_key ( int rank,
const std::string & name )

◆ make_face_map_search_key()

IOS3_EXPORT key_t Ios3::make_face_map_search_key ( int rank,
const std::string & name )

◆ make_key() [1/4]

IOS3_EXPORT key_t Ios3::make_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ make_key() [2/4]

IOS3_EXPORT key_t Ios3::make_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity,
const Ioss::Field & field )

◆ make_key() [3/4]

IOS3_EXPORT key_t Ios3::make_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity,
const Ioss::Field & field,
const std::string & name )

◆ make_key() [4/4]

IOS3_EXPORT key_t Ios3::make_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity,
const Ioss::Property & property )

◆ make_map_key()

key_t Ios3::make_map_key ( int rank,
const std::string & type,
const std::string & name )

◆ make_map_search_key()

key_t Ios3::make_map_search_key ( int rank,
const std::string & type,
const std::string & name )

◆ make_node_map_key()

IOS3_EXPORT key_t Ios3::make_node_map_key ( int rank,
const std::string & name )

◆ make_node_map_search_key()

IOS3_EXPORT key_t Ios3::make_node_map_search_key ( int rank,
const std::string & name )

◆ make_property_key()

IOS3_EXPORT key_t Ios3::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()

IOS3_EXPORT key_t Ios3::make_sideblock_key ( int rank,
const Ioss::Region & region,
const Ioss::SideSet & sideset,
const Ioss::SideBlock & sideblock )

◆ make_states_key()

IOS3_EXPORT key_t Ios3::make_states_key ( int rank,
const Ioss::Region & region )

◆ make_states_search_key()

IOS3_EXPORT key_t Ios3::make_states_search_key ( int rank,
const Ioss::Region & region )

◆ make_structuredblock_key()

IOS3_EXPORT key_t Ios3::make_structuredblock_key ( int rank,
const Ioss::Region & region,
const Ioss::StructuredBlock & structuredblock )

◆ map_fields() [1/2]

IOS3_EXPORT int Ios3::map_fields ( const Ioss::Region & region,
const Ioss::GroupingEntity & entity,
FieldFunction op )

◆ map_fields() [2/2]

IOS3_EXPORT int Ios3::map_fields ( const Ioss::Region & region,
FieldFunction op )

◆ map_properties() [1/2]

IOS3_EXPORT int Ios3::map_properties ( const Ioss::Region & region,
const Ioss::GroupingEntity & entity,
PropertyFunction op )

◆ map_properties() [2/2]

IOS3_EXPORT int Ios3::map_properties ( const Ioss::Region & region,
PropertyFunction op )

◆ pack_field() [1/2]

IOS3_EXPORT PackedBytes Ios3::pack_field ( const Ioss::Region & ,
const Ioss::GroupingEntity & ,
const Ioss::Field & f,
void * data,
size_t  )

◆ pack_field() [2/2]

IOS3_EXPORT PackedBytes Ios3::pack_field ( const Ioss::Region & ,
const Ioss::GroupingEntity & entity,
const Ioss::Field & field )

◆ pack_property()

IOS3_EXPORT PackedBytes Ios3::pack_property ( const Ioss::Region & ,
const Ioss::GroupingEntity & ,
const Ioss::Property & property )

◆ pack_sideblock()

IOS3_EXPORT PackedBytes Ios3::pack_sideblock ( const Ioss::SideBlock & sb)

◆ pack_states()

IOS3_EXPORT PackedBytes Ios3::pack_states ( const Ioss::Region & r)

◆ pack_structuredblock()

IOS3_EXPORT PackedBytes Ios3::pack_structuredblock ( const Ioss::StructuredBlock & sb)

◆ property_get_int()

IOS3_EXPORT int64_t Ios3::property_get_int ( PackedBytes & p)

◆ property_get_string()

IOS3_EXPORT std::string Ios3::property_get_string ( PackedBytes & p)

◆ property_search_key()

IOS3_EXPORT key_t Ios3::property_search_key ( int rank,
const Ioss::Region & region,
const Ioss::GroupingEntity & grouping_entity )

◆ sideblocks_search_key()

IOS3_EXPORT key_t Ios3::sideblocks_search_key ( int rank,
const Ioss::Region & region,
const Ioss::SideSet & sideset )

◆ structuredblock_search_key()

IOS3_EXPORT key_t Ios3::structuredblock_search_key ( int rank,
const Ioss::Region & region,
const Ioss::StructuredBlock & structuredblock )

◆ to_string() [1/4]

IOS3_EXPORT std::string Ios3::to_string ( const Ioss::EntityType & t)

◆ to_string() [2/4]

IOS3_EXPORT std::string Ios3::to_string ( const Ioss::Field::BasicType & t)

◆ to_string() [3/4]

IOS3_EXPORT std::string Ios3::to_string ( const Ioss::Field::RoleType & t)

◆ to_string() [4/4]

IOS3_EXPORT std::string Ios3::to_string ( const Ioss::Property::BasicType & t)

◆ unpack_sideblocks()

IOS3_EXPORT int64_t Ios3::unpack_sideblocks ( PackedBytes & v)

◆ unpack_structuredblock()

IOS3_EXPORT void Ios3::unpack_structuredblock ( PackedBytes & v,
Ioss::StructuredBlock & sb )

Variable Documentation

◆ MAX_LINE_LENGTH

const std::size_t Ios3::MAX_LINE_LENGTH = 80

◆ MAX_STR_LENGTH

const std::size_t Ios3::MAX_STR_LENGTH = 32