Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
MBParallelConventions.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PARALLEL_GID_TAG_NAME   "GLOBAL_ID"
 Global identifier for interface mesh.
#define PARALLEL_PARTITION_TAG_NAME   "PARALLEL_PARTITION"
 Tag on a meshset representing a parallel partition.
#define PARALLEL_PART_TAG_NAME   PARALLEL_PARTITION_TAG_NAME
#define PARALLEL_PARTITIONING_TAG_NAME   "PARALLEL_MESH_PARTITIONING"
 Tag that groups the set of parts/partitions that are a covering of the mesh.
#define PARALLEL_SHARED_PROC_TAG_NAME   "__PARALLEL_SHARED_PROC"
 Tag storing which other processor a given entity is shared with.
#define PARALLEL_SHARED_PROCS_TAG_NAME   "__PARALLEL_SHARED_PROCS"
 Tag storing which other processorS a given entity is shared with.
#define PARALLEL_SHARED_HANDLE_TAG_NAME   "__PARALLEL_SHARED_HANDLE"
 Tag storing the handle of a shared entity on the other proc.
#define PARALLEL_SHARED_HANDLES_TAG_NAME   "__PARALLEL_SHARED_HANDLES"
 Tag storing handles of a shared entity on other processors.
#define PARALLEL_STATUS_TAG_NAME   "__PARALLEL_STATUS"
 Tag storing parallel status (as bits in this tag)
#define PSTATUS_NOT_OWNED   0x1
#define PSTATUS_SHARED   0x2
#define PSTATUS_MULTISHARED   0x4
#define PSTATUS_INTERFACE   0x8
#define PSTATUS_GHOST   0x10
#define PSTATUS_AND   0x1
#define PSTATUS_OR   0x2
#define PSTATUS_NOT   0x3

Define Documentation

#define PARALLEL_GID_TAG_NAME   "GLOBAL_ID"

Global identifier for interface mesh.

Tag conventions for naming parallel things. Note this header file belongs in the main MOAB directory because even serial applications (e.g. partitioners) may write tags for use in parallel applications. An integer identifier common to the corresponding mesh entity instances on each processor for a mesh entity on the interface.

Definition at line 15 of file MBParallelConventions.h.

#define PARALLEL_PARTITION_TAG_NAME   "PARALLEL_PARTITION"

Tag on a meshset representing a parallel partition.

When the mesh is partitioned for use in a parallel environment, the each CPUs partition of the mesh is stored in a meshset with this tag. The value of the tag is an integer "part identifier".

Examples:
LoadPartial.cpp.

Definition at line 23 of file MBParallelConventions.h.

Referenced by moab::ParallelComm::augment_default_sets_with_ghosts(), create_coarse_mesh(), create_fine_mesh(), moab::ReadParallel::create_partition_sets(), moab::ReadGmsh::create_sets(), moab::ParallelData::get_partition_sets(), moab::ReadParallel::load_file(), main(), moab::ParallelComm::partition_tag(), moab::ParallelComm::resolve_shared_sets(), moab::WriteGmsh::write_file(), and moab::WriteCCMIO::WriteCCMIO().

#define PARALLEL_PARTITIONING_TAG_NAME   "PARALLEL_MESH_PARTITIONING"

Tag that groups the set of parts/partitions that are a covering of the mesh.

This tag labels an entity set for which the child sets are part(ition)s that together are a single partitioning of the mesh. I.e. There should be no mesh entity that is contained in more than one child part(ition) set, and typically every mesh entity of the dimension used to partition the mesh is contained in exactly one of the child sets.

The data for this tag is a single integer value. The value of the tag is undefined.

Definition at line 38 of file MBParallelConventions.h.

Referenced by iMeshP_createPartitionAll().

#define PARALLEL_SHARED_HANDLE_TAG_NAME   "__PARALLEL_SHARED_HANDLE"

Tag storing the handle of a shared entity on the other proc.

This single-valued tag implies an entity is shared with one other proc

Definition at line 58 of file MBParallelConventions.h.

Referenced by moab::ParallelComm::sharedh_tag().

#define PARALLEL_SHARED_HANDLES_TAG_NAME   "__PARALLEL_SHARED_HANDLES"

Tag storing handles of a shared entity on other processors.

This multiple-valued tag implies an entity is shared with multiple other processors. Length of tag is application-dependent, and depends on what the maximum number of processors is which share an entity

Definition at line 66 of file MBParallelConventions.h.

Referenced by moab::ParallelComm::sharedhs_tag().

#define PARALLEL_SHARED_PROC_TAG_NAME   "__PARALLEL_SHARED_PROC"

Tag storing which other processor a given entity is shared with.

This single-valued tag implies an entity is shared with one other proc

Definition at line 44 of file MBParallelConventions.h.

Referenced by moab::ParallelData::get_interface_sets(), and moab::ParallelComm::sharedp_tag().

#define PARALLEL_SHARED_PROCS_TAG_NAME   "__PARALLEL_SHARED_PROCS"

Tag storing which other processorS a given entity is shared with.

This multiple-valued tag implies an entity is shared with multiple other processors. Length of tag is application-dependent, and depends on what the maximum number of processors is which share an entity

Definition at line 52 of file MBParallelConventions.h.

Referenced by moab::ParallelData::get_interface_sets(), and moab::ParallelComm::sharedps_tag().

#define PARALLEL_STATUS_TAG_NAME   "__PARALLEL_STATUS"

Tag storing parallel status (as bits in this tag)

This tag stores various aspects of parallel status in bits; see also #define's following, to be used in bit mask operations. If an entity is not shared with any other processors, the pstatus is 0, otherwise it's > 0

bit 0: !owned (0=owned, 1=not owned) bit 1: shared (0=not shared, 1=shared) bit 2: multishared (shared by > 2 procs; 0=not shared, 1=shared) bit 3: interface (0=not interface, 1=interface) bit 4: ghost (0=not ghost, 1=ghost)

Definition at line 80 of file MBParallelConventions.h.

Referenced by moab::ParallelComm::pstatus_tag().

#define PSTATUS_NOT_OWNED   0x1
Examples:
HelloParMOAB.cpp, LaplacianSmoother.cpp, and LloydRelaxation.cpp.

Definition at line 82 of file MBParallelConventions.h.

Referenced by moab::ParallelComm::assign_global_ids(), moab::ParallelComm::augment_default_sets_with_ghosts(), moab::ParallelComm::build_sharedhps_list(), moab::ParallelComm::check_clean_iface(), moab::ParallelComm::check_local_shared(), moab::ParallelComm::check_my_shared_handles(), moab::NCWriteGCRM::collect_mesh_info(), moab::NCWriteHOMME::collect_mesh_info(), moab::NCWriteMPAS::collect_mesh_info(), moab::ScdNCWriteHelper::collect_mesh_info(), moab::ParallelComm::correct_thin_ghost_layers(), count_owned(), create_fine_mesh(), moab::ParallelComm::create_interface_sets(), moab::ScdNCHelper::create_quad_coordinate_tag(), moab::ParallelComm::exchange_tags(), moab::WriteHDF5Parallel::gather_interface_meshes(), moab::ParallelComm::get_ghosted_entities(), get_max_volume(), moab::ParallelComm::get_owner_handle(), moab::ParallelComm::get_owning_part(), moab::ParallelComm::get_shared_entities(), hcFilter(), laplacianFilter(), moab::ParallelComm::list_entities(), moab::ReadParallel::load_file(), main(), perform_laplacian_smoothing(), perform_lloyd_relaxation(), moab::LloydSmoother::perform_smooth(), moab::ParallelComm::print_pstatus(), moab::ScdNCHelper::read_scd_variables_to_nonset_allocate(), moab::NCHelperGCRM::read_ucd_variables_to_nonset_allocate(), moab::NCHelperMPAS::read_ucd_variables_to_nonset_allocate(), moab::ParallelComm::resolve_shared_ents(), moab::RefinerTagManager::set_sharing(), moab::ParallelComm::set_sharing_data(), moab::ParallelComm::tag_iface_entities(), moab::ParallelComm::unpack_entities(), moab::ParallelComm::update_remote_data(), and moab::ParallelComm::update_remote_data_old().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines