MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Tag to write to file. More...
#include <WriteHDF5.hpp>
Public Member Functions | |
bool | have_dense (const ExportType &type) const |
bool | operator< (const TagDesc &) const |
Public Attributes | |
Tag | tag_id |
The tag handle. | |
wid_t | sparse_offset |
wid_t | var_data_offset |
bool | write_sparse |
Write sparse tag data (for serial, is always equal to !range.empty()) | |
unsigned long | max_num_ents |
unsigned long | max_num_vals |
std::vector< ExportType > | dense_list |
Tag to write to file.
Definition at line 153 of file WriteHDF5.hpp.
bool moab::WriteHDF5::TagDesc::have_dense | ( | const ExportType & | type | ) | const [inline] |
Definition at line 179 of file WriteHDF5.hpp.
References dense_list, and moab::WriteHDF5::find().
Referenced by moab::WriteHDF5::get_sparse_tagged_entities().
{ return std::find( dense_list.begin(), dense_list.end(), type ) != dense_list.end(); }
bool moab::WriteHDF5::TagDesc::operator< | ( | const TagDesc & | ) | const |
std::vector< ExportType > moab::WriteHDF5::TagDesc::dense_list |
List of entity groups for which to write tag data in dense format
Definition at line 177 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5::create_tag(), have_dense(), and moab::WriteHDF5::write_tag().
unsigned long moab::WriteHDF5::TagDesc::max_num_ents |
If doing parallel IO, largest number, over all processes, of entities for which to write tag data. Zero if unused.
Definition at line 168 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::gather_tags(), moab::WriteHDF5::write_sparse_ids(), moab::WriteHDF5::write_sparse_tag(), and moab::WriteHDF5::write_var_len_indices().
unsigned long moab::WriteHDF5::TagDesc::max_num_vals |
For variable-length tags during parallel IO: the largest number of tag values to be written on by any process, used to calculate the total number of collective writes that all processes must do. Zero for fixed-length tags or if not doing parallel IO.
Definition at line 173 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::gather_tags(), and moab::WriteHDF5::write_var_len_data().
The offset at which to begin writting this processor's data. Always zero except for parallel IO.
Definition at line 159 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::gather_tags(), moab::WriteHDF5::write_sparse_ids(), moab::WriteHDF5::write_sparse_tag(), moab::WriteHDF5::write_var_len_indices(), and moab::WriteHDF5::write_var_len_tag().
The tag handle.
Definition at line 156 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::append_serial_tag_data(), moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::create_tag(), moab::WriteHDF5::gather_tags(), moab::WriteHDF5::get_sparse_tagged_entities(), moab::WriteHDF5::get_tag_data_length(), moab::TagNameCompare::operator()(), moab::WriteHDF5::write_dense_tag(), moab::WriteHDF5::write_sparse_tag(), moab::WriteHDF5::write_tag(), moab::WriteHDF5::write_var_len_data(), and moab::WriteHDF5::write_var_len_indices().
For variable-length tags, a second offset for the tag data table, separate from the offset used for the ID and Index tables. Always zero except for parallel IO.
Definition at line 163 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::gather_tags(), moab::WriteHDF5::write_var_len_data(), and moab::WriteHDF5::write_var_len_indices().
Write sparse tag data (for serial, is always equal to !range.empty())
Definition at line 165 of file WriteHDF5.hpp.
Referenced by moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::gather_tags(), and moab::WriteHDF5::write_tag().