Mesh Oriented datABase  (version 5.5.0)
An array-based unstructured mesh library
moab::WriteHDF5::TagDesc Struct Reference

Tag to write to file. More...

#include <WriteHDF5.hpp>

+ Collaboration diagram for moab::WriteHDF5::TagDesc:

Public Member Functions

bool have_dense (const ExportType &type) const
 
bool operator< (const TagDesc &) const
 

Public Attributes

Tag tag_id
 The tag handle. More...
 
wid_t sparse_offset
 The offset at which to begin writting this processor's data. Always zero except for parallel IO. More...
 
wid_t var_data_offset
 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. More...
 
bool write_sparse
 Write sparse tag data (for serial, is always equal to !range.empty()) More...
 
unsigned long max_num_ents
 If doing parallel IO, largest number, over all processes, of entities for which to write tag data. Zero if unused. More...
 
unsigned long 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. More...
 
std::vector< ExportTypedense_list
 List of entity groups for which to write tag data in dense format. More...
 

Detailed Description

Tag to write to file.

Definition at line 153 of file WriteHDF5.hpp.

Member Function Documentation

◆ have_dense()

bool moab::WriteHDF5::TagDesc::have_dense ( const ExportType type) const
inline

Definition at line 179 of file WriteHDF5.hpp.

180  {
181  return std::find( dense_list.begin(), dense_list.end(), type ) != dense_list.end();
182  }

References dense_list.

Referenced by moab::WriteHDF5::get_sparse_tagged_entities().

◆ operator<()

bool moab::WriteHDF5::TagDesc::operator< ( const TagDesc ) const

Member Data Documentation

◆ dense_list

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().

◆ max_num_ents

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().

◆ max_num_vals

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().

◆ sparse_offset

wid_t moab::WriteHDF5::TagDesc::sparse_offset

◆ tag_id

◆ var_data_offset

wid_t moab::WriteHDF5::TagDesc::var_data_offset

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

bool moab::WriteHDF5::TagDesc::write_sparse

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().


The documentation for this struct was generated from the following file: