Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
Range of entities, grouped by type, to export. More...
#include <WriteHDF5.hpp>
Public Member Functions | |
bool | operator< (const ExportType &other) const |
bool | operator< (std::pair< int, int > other) const |
bool | operator== (const ExportType &other) const |
bool | operator== (std::pair< int, int > other) const |
const char * | name () const |
Public Attributes | |
Range | range |
The range of entities. | |
wid_t | first_id |
The first Id allocated by the mhdf library. Entities in range have sequential IDs. | |
long | offset |
The offset at which to begin writing this processor's data. Always zero except for parallel IO. | |
long | adj_offset |
Offset for adjacency data. Always zero except for parallel IO. | |
long | max_num_ents |
If doing parallel IO, largest number of entities to write for any processor (needed to do collective IO). Zero if unused. | |
long | max_num_adjs |
long | total_num_ents |
The total number of entities that will be written to the file for this group. For serial IO, this should always be range.size(). For parallel IO, it will be the sum of range size over all processors. For parallel IO, this value is undefined except for on the root processor. |
Range of entities, grouped by type, to export.
Definition at line 108 of file WriteHDF5.hpp.
const char * moab::WriteHDF5::ExportSet::name | ( | ) | const |
Definition at line 376 of file WriteHDF5.cpp.
References buffer, moab::CN::EntityTypeName(), MBENTITYSET, MBVERTEX, mhdf_node_type_handle(), mhdf_set_type_handle(), moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.
Referenced by moab::WriteHDF5Parallel::create_adjacency_tables(), moab::WriteHDF5::create_elem_table(), moab::WriteHDF5::create_tag(), moab::WriteHDF5::write_adjacencies(), moab::WriteHDF5::write_dense_tag(), and moab::WriteHDF5::write_elems().
{ static char buffer[128]; switch( type ) { case MBVERTEX: return mhdf_node_type_handle(); case MBENTITYSET: return mhdf_set_type_handle(); default: sprintf( buffer, "%s%d", CN::EntityTypeName( type ), num_nodes ); return buffer; } }
bool moab::WriteHDF5::ExportSet::operator< | ( | const ExportType & | other | ) | const [inline] |
Reimplemented from moab::WriteHDF5::ExportType.
Definition at line 129 of file WriteHDF5.hpp.
References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.
bool moab::WriteHDF5::ExportSet::operator< | ( | std::pair< int, int > | other | ) | const [inline] |
Definition at line 134 of file WriteHDF5.hpp.
References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.
bool moab::WriteHDF5::ExportSet::operator== | ( | const ExportType & | other | ) | const [inline] |
Reimplemented from moab::WriteHDF5::ExportType.
Definition at line 139 of file WriteHDF5.hpp.
References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.
bool moab::WriteHDF5::ExportSet::operator== | ( | std::pair< int, int > | other | ) | const [inline] |
Definition at line 144 of file WriteHDF5.hpp.
References moab::WriteHDF5::ExportType::num_nodes, and moab::WriteHDF5::ExportType::type.
Offset for adjacency data. Always zero except for parallel IO.
Definition at line 118 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::negotiate_type_list(), moab::WriteHDF5::serial_create_file(), and moab::WriteHDF5::write_adjacencies().
The first Id allocated by the mhdf library. Entities in range have sequential IDs.
Definition at line 113 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::create_meshset_tables(), moab::WriteHDF5Parallel::create_node_table(), moab::WriteHDF5Parallel::negotiate_type_list(), moab::WriteHDF5::serial_create_file(), and moab::WriteHDF5::write_elems().
Definition at line 121 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5::initialize_mesh(), moab::WriteHDF5::serial_create_file(), and moab::WriteHDF5::write_adjacencies().
If doing parallel IO, largest number of entities to write for any processor (needed to do collective IO). Zero if unused.
Definition at line 121 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::create_meshset_tables(), moab::WriteHDF5Parallel::create_node_table(), moab::WriteHDF5::initialize_mesh(), moab::WriteHDF5::serial_create_file(), moab::WriteHDF5::write_dense_tag(), moab::WriteHDF5::write_elems(), moab::WriteHDF5::write_nodes(), and moab::WriteHDF5::write_sets().
The offset at which to begin writing this processor's data. Always zero except for parallel IO.
Definition at line 116 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::create_meshset_tables(), moab::WriteHDF5Parallel::create_node_table(), moab::WriteHDF5Parallel::negotiate_type_list(), moab::WriteHDF5::serial_create_file(), moab::WriteHDF5::write_dense_tag(), moab::WriteHDF5::write_elems(), moab::WriteHDF5::write_nodes(), and moab::WriteHDF5::write_sets().
The range of entities.
Definition at line 111 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5::check_dense_format_tag(), moab::WriteHDF5Parallel::create_meshset_tables(), moab::WriteHDF5Parallel::create_node_table(), moab::WriteHDF5Parallel::create_tag_tables(), moab::WriteHDF5Parallel::exchange_file_ids(), moab::WriteHDF5Parallel::gather_interface_meshes(), moab::WriteHDF5::get_sparse_tagged_entities(), moab::WriteHDF5::get_write_entities(), moab::WriteHDF5::initialize_mesh(), moab::WriteHDF5Parallel::remove_remote_entities(), moab::WriteHDF5Parallel::remove_remote_sets(), moab::WriteHDF5::serial_create_file(), moab::WriteHDF5::write_adjacencies(), moab::WriteHDF5::write_dense_tag(), moab::WriteHDF5::write_elems(), moab::WriteHDF5::write_file_impl(), moab::WriteHDF5::write_finished(), moab::WriteHDF5::write_nodes(), moab::WriteHDF5::write_set_data(), and moab::WriteHDF5::write_sets().
The total number of entities that will be written to the file for this group. For serial IO, this should always be range.size(). For parallel IO, it will be the sum of range size over all processors. For parallel IO, this value is undefined except for on the root processor.
Definition at line 127 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::create_meshset_tables(), moab::WriteHDF5Parallel::create_node_table(), moab::WriteHDF5::create_tag(), moab::WriteHDF5::serial_create_file(), and moab::WriteHDF5::write_nodes().