MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include <string>
#include <iomanip>
#include <iostream>
#include <cassert>
#include "moab/Core.hpp"
#include "moab/ParallelComm.hpp"
#include "moab/HomXform.hpp"
#include "MBParallelConventions.h"
#include "MBTagConventions.hpp"
Go to the source code of this file.
Functions | |
void | set_local_domain_bounds () |
void | create_hexes_and_verts () |
void | resolve_and_exchange () |
void | error (ErrorCode err) |
int | main (int argc, char *argv[]) |
Variables | |
const int | NI = 2 |
const int | NJ = 2 |
const int | NK = 1 |
Interface * | mbint = NULL |
ParallelComm * | mbpc = NULL |
int | is |
int | js |
int | ks |
int | ie |
int | je |
int | ke |
int | rank |
int | size |
void create_hexes_and_verts | ( | ) |
Definition at line 140 of file scdtest.cpp.
References moab::Core::add_vsequence(), moab::Core::create_scd_sequence(), moab::error(), ErrorCode, moab::Interface::globalId_tag(), ie, is, je, js, ke, ks, MB_SUCCESS, mbcore, MBHEX, mbint, MBVERTEX, NI, NJ, and moab::Interface::tag_set_data().
Referenced by main().
void error | ( | ErrorCode | err | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 44 of file scdtest.cpp.
References create_hexes_and_verts(), mbint, mbpc, MPI_COMM_WORLD, rank, resolve_and_exchange(), set_local_domain_bounds(), and size.
void resolve_and_exchange | ( | ) |
Definition at line 190 of file scdtest.cpp.
References moab::Interface::add_entities(), moab::Interface::create_meshset(), moab::error(), moab::ParallelComm::exchange_ghost_cells(), moab::Interface::get_entities_by_type(), moab::Interface::get_entities_by_type_and_tag(), MATERIAL_SET_TAG_NAME, MB_TYPE_INTEGER, MBENTITYSET, MBHEX, mbint, mbpc, MESHSET_SET, moab::ParallelComm::partition_sets(), rank, moab::ParallelComm::resolve_shared_ents(), moab::Interface::tag_get_handle(), and moab::Interface::tag_set_data().
Referenced by main().
void set_local_domain_bounds | ( | ) |
int ie |
Definition at line 33 of file scdtest.cpp.
Referenced by moab::IntxAreaUtils::area_on_sphere(), moab::MeshGeneration::BrickInstance(), moab::TempestRemapper::ComputeGlobalLocalMaps(), moab::TempestRemapper::ComputeOverlapMesh(), moab::TempestRemapper::ConstructCoveringSet(), moab::TempestRemapper::convert_overlap_mesh_sorted_by_source(), create_fine_mesh(), create_hexes_and_verts(), moab::IntxUtils::deep_copy_set_with_quads(), main(), and set_local_domain_bounds().
int is |
Definition at line 32 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), get_vartag_data(), and set_local_domain_bounds().
int je |
Definition at line 33 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), and set_local_domain_bounds().
int js |
Definition at line 32 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), and set_local_domain_bounds().
int ke |
Definition at line 33 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), and set_local_domain_bounds().
int ks |
Definition at line 32 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), and set_local_domain_bounds().
Interface* mbint = NULL |
Definition at line 28 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), create_parallel_mesh(), main(), and resolve_and_exchange().
ParallelComm* mbpc = NULL |
Definition at line 29 of file scdtest.cpp.
Referenced by MetisPartitioner::assemble_graph(), ZoltanPartitioner::assemble_graph(), ZoltanPartitioner::balance_mesh(), main(), ZoltanPartitioner::mbFinalizePoints(), ZoltanPartitioner::mbGlobalSuccess(), ZoltanPartitioner::mbInitializePoints(), ZoltanPartitioner::mbPrintGlobalResult(), ZoltanPartitioner::mbShowError(), ZoltanPartitioner::partition_inferred_mesh(), MetisPartitioner::partition_mesh(), ZoltanPartitioner::partition_mesh_and_geometry(), ZoltanPartitioner::partition_owned_cells(), PartitionerBase< T >::PartitionerBase(), ZoltanPartitioner::repartition(), resolve_and_exchange(), ZoltanPartitioner::SetHSFC_Parameters(), ZoltanPartitioner::SetHypergraph_Parameters(), ZoltanPartitioner::SetOCTPART_Parameters(), ZoltanPartitioner::SetPARMETIS_Parameters(), ZoltanPartitioner::SetRCB_Parameters(), ZoltanPartitioner::SetRIB_Parameters(), and PartitionerBase< T >::~PartitionerBase().
const int NI = 2 |
Definition at line 17 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), main(), and set_local_domain_bounds().
const int NJ = 2 |
Definition at line 18 of file scdtest.cpp.
Referenced by create_hexes_and_verts(), main(), and set_local_domain_bounds().
const int NK = 1 |
Definition at line 19 of file scdtest.cpp.
Referenced by set_local_domain_bounds().
int rank |
Definition at line 36 of file scdtest.cpp.
Referenced by main(), resolve_and_exchange(), and set_local_domain_bounds().
int size |
Definition at line 37 of file scdtest.cpp.
Referenced by main(), and set_local_domain_bounds().