moab
|
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. | |
id_t | first_id |
The first Id allocated by the mhdf library. Entities in range have sequential IDs. | |
long | offset |
long | adj_offset |
Offset for adjacency data. Always zero except for parallel IO. | |
long | max_num_ents |
long | max_num_adjs |
long | total_num_ents |
Range of entities, grouped by type, to export.
Definition at line 101 of file WriteHDF5.hpp.
const char * moab::WriteHDF5::ExportSet::name | ( | ) | const |
Definition at line 333 of file WriteHDF5.cpp.
{ 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] |
Definition at line 122 of file WriteHDF5.hpp.
bool moab::WriteHDF5::ExportSet::operator< | ( | std::pair< int, int > | other | ) | const [inline] |
Definition at line 126 of file WriteHDF5.hpp.
bool moab::WriteHDF5::ExportSet::operator== | ( | const ExportType & | other | ) | const [inline] |
Definition at line 130 of file WriteHDF5.hpp.
bool moab::WriteHDF5::ExportSet::operator== | ( | std::pair< int, int > | other | ) | const [inline] |
Definition at line 133 of file WriteHDF5.hpp.
Offset for adjacency data. Always zero except for parallel IO.
Definition at line 111 of file WriteHDF5.hpp.
The first Id allocated by the mhdf library. Entities in range have sequential IDs.
Definition at line 106 of file WriteHDF5.hpp.
Definition at line 114 of file WriteHDF5.hpp.
If doing parallel IO, largest number of entities to write for any processor (needed to do collective IO). Zero if unused.
Definition at line 114 of file WriteHDF5.hpp.
The offset at which to begin writting this processor's data. Always zero except for parallel IO.
Definition at line 109 of file WriteHDF5.hpp.
The range of entities.
Definition at line 104 of file WriteHDF5.hpp.
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 120 of file WriteHDF5.hpp.