MOAB: Mesh Oriented datABase  (version 5.2.1)
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.
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< ExportTypedense_list

Detailed Description

Tag to write to file.

Definition at line 148 of file WriteHDF5.hpp.


Member Function Documentation

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

Definition at line 174 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

Member Data Documentation

List of entity groups for which to write tag data in dense format

Definition at line 172 of file WriteHDF5.hpp.

Referenced by moab::WriteHDF5::create_tag(), have_dense(), and moab::WriteHDF5::write_tag().

If doing parallel IO, largest number, over all processes, of entities for which to write tag data. Zero if unused.

Definition at line 163 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().

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 168 of file WriteHDF5.hpp.

Referenced by moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::gather_tags(), and moab::WriteHDF5::write_var_len_data().

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 158 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 160 of file WriteHDF5.hpp.

Referenced by moab::WriteHDF5Parallel::check_serial_tag_data(), moab::WriteHDF5::gather_tags(), and moab::WriteHDF5::write_tag().

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines