MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "moab/Core.hpp"
#include "moab_mpi.h"
#include "moab/ParallelComm.hpp"
#include "MBParallelConventions.h"
#include "moab/iMOAB.h"
#include "TestUtil.hpp"
#include "moab/CpuTimer.hpp"
#include "moab/ProgOptions.hpp"
#include <iostream>
#include <sstream>
Go to the source code of this file.
Macros | |
#define | CHECKIERR(rc, message) |
Functions | |
std::string | readopts ("PARALLEL=READ_PART;PARTITION=PARALLEL_PARTITION;PARALLEL_RESOLVE_SHARED_ENTS") |
std::string | readoptsPC ("PARALLEL=READ_PART;PARTITION=PARALLEL_PARTITION") |
std::string | fileWriteOptions ("PARALLEL=WRITE_PART") |
std::string | tagT ("a2oTbot") |
std::string | tagU ("a2oUbot") |
std::string | tagV ("a2oVbot") |
std::string | separ (":") |
std::string | tagT1 ("a2oTbot_1") |
std::string | tagU1 ("a2oUbot_1") |
std::string | tagV1 ("a2oVbot_1") |
std::string | tagT2 ("a2oTbot_2") |
int | commgraphtest () |
void | testspectral_phys () |
void | testspectral_lnd () |
void | testphysatm_lnd () |
int | main (int argc, char *argv[]) |
Variables | |
int | ierr |
int | rankInGlobalComm |
int | numProcesses |
MPI_Group | jgroup |
std::string | atmFilename = TestDir + "unittest/wholeATM_T.h5m" |
int | rankInAtmComm = -1 |
int | cmpatm = 605 |
std::string | atmPhysFilename = TestDir + "unittest/AtmPhys.h5m" |
std::string | atmPhysOutFilename = "outPhys.h5m" |
std::string | atmFilename2 = "wholeATM_new.h5m" |
int | rankInPhysComm = -1 |
int | physatm = 5 |
int | nghlay = 0 |
std::vector< int > | groupTasks |
int | startG1 = 0 |
int | startG2 = 0 |
int | endG1 = numProcesses - 1 |
int | endG2 = numProcesses - 1 |
int | typeA = 1 |
int | typeB = 2 |
#define CHECKIERR | ( | rc, | |
message | |||
) |
Definition at line 50 of file commgraph_test.cpp.
int commgraphtest | ( | ) |
Definition at line 136 of file commgraph_test.cpp.
References atmFilename, atmFilename2, atmPhysFilename, atmPhysOutFilename, CHECKIERR, cmpatm, DENSE_DOUBLE, endG1, endG2, fileWriteOptions(), groupTasks, ierr, iMOAB_AppID, iMOAB_DefineTagStorage(), iMOAB_DeregisterApplication(), iMOAB_Finalize(), iMOAB_Initialize(), iMOAB_LoadMesh(), iMOAB_RegisterApplication(), iMOAB_WriteMesh(), jgroup, MPI_COMM_WORLD, nghlay, numProcesses, physatm, rankInAtmComm, rankInGlobalComm, rankInPhysComm, readopts(), readoptsPC(), separ(), startG1, startG2, tagT(), tagT1(), tagT2(), tagU(), tagU1(), tagV(), tagV1(), typeA, and typeB.
Referenced by testphysatm_lnd(), testspectral_lnd(), and testspectral_phys().
std::string fileWriteOptions | ( | ) |
Referenced by commgraphtest(), and main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 333 of file commgraph_test.cpp.
References ProgOptions::addOpt(), atmFilename, atmFilename2, atmPhysFilename, atmPhysOutFilename, endG1, endG2, jgroup, MPI_COMM_WORLD, numProcesses, ProgOptions::parseCommandLine(), rankInGlobalComm, RUN_TEST, startG1, startG2, testphysatm_lnd(), testspectral_lnd(), testspectral_phys(), typeA, and typeB.
std::string readopts | ( | ) |
Referenced by commgraphtest(), fdriver(), imoab_coupler_fortran(), moab::Remapper::LoadNativeMesh(), main(), migrate(), migrate_smart(), migratemesh(), and setup_component_coupler_meshes().
std::string readoptsPC | ( | ) |
Referenced by commgraphtest().
std::string separ | ( | ":" | ) |
Referenced by commgraphtest().
std::string tagT | ( | "a2oTbot" | ) |
Referenced by commgraphtest(), and testphysatm_lnd().
std::string tagT1 | ( | "a2oTbot_1" | ) |
Referenced by commgraphtest(), and testphysatm_lnd().
std::string tagT2 | ( | "a2oTbot_2" | ) |
Referenced by commgraphtest(), and testphysatm_lnd().
std::string tagU | ( | "a2oUbot" | ) |
Referenced by commgraphtest(), and testphysatm_lnd().
std::string tagU1 | ( | "a2oUbot_1" | ) |
Referenced by commgraphtest(), and testphysatm_lnd().
std::string tagV | ( | "a2oVbot" | ) |
Referenced by commgraphtest(), and testphysatm_lnd().
std::string tagV1 | ( | "a2oVbot_1" | ) |
Referenced by commgraphtest(), and testphysatm_lnd().
void testphysatm_lnd | ( | ) |
Definition at line 121 of file commgraph_test.cpp.
References atmFilename, atmFilename2, atmPhysFilename, atmPhysOutFilename, commgraphtest(), tagT(), tagT1(), tagT2(), tagU(), tagU1(), tagV(), tagV1(), and typeA.
Referenced by main().
void testspectral_lnd | ( | ) |
Definition at line 112 of file commgraph_test.cpp.
References atmFilename2, atmPhysFilename, atmPhysOutFilename, and commgraphtest().
Referenced by main().
void testspectral_phys | ( | ) |
Definition at line 106 of file commgraph_test.cpp.
References commgraphtest().
Referenced by main().
std::string atmFilename = TestDir + "unittest/wholeATM_T.h5m" |
Definition at line 66 of file commgraph_test.cpp.
Referenced by commgraphtest(), main(), and testphysatm_lnd().
std::string atmFilename2 = "wholeATM_new.h5m" |
Definition at line 78 of file commgraph_test.cpp.
Referenced by commgraphtest(), main(), testphysatm_lnd(), and testspectral_lnd().
std::string atmPhysFilename = TestDir + "unittest/AtmPhys.h5m" |
Definition at line 76 of file commgraph_test.cpp.
Referenced by commgraphtest(), main(), testphysatm_lnd(), and testspectral_lnd().
std::string atmPhysOutFilename = "outPhys.h5m" |
Definition at line 77 of file commgraph_test.cpp.
Referenced by commgraphtest(), main(), testphysatm_lnd(), and testspectral_lnd().
int cmpatm = 605 |
Definition at line 74 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int endG1 = numProcesses - 1 |
Definition at line 88 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int endG2 = numProcesses - 1 |
Definition at line 88 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
std::vector< int > groupTasks |
Definition at line 87 of file commgraph_test.cpp.
Referenced by commgraphtest(), create_group_and_comm(), and main().
int ierr |
Definition at line 63 of file commgraph_test.cpp.
Referenced by PartMap::build_map(), check_consistent_ids(), check_one_layer(), cleanup_after_intersection(), cleanup_after_simulation(), commgraphtest(), create_group_and_comm(), create_joint_comm_group(), create_mesh(), create_mesh_in_memory(), moab::Coupler::do_normalization(), moab::ParallelComm::exchange_all_shared_handles(), moab::ReadHDF5::find_sets_containing(), get_adj(), get_boundary_vertices(), get_coords(), get_imesh_mesh(), get_local_parts(), moab::Coupler::get_matching_entities(), get_num_adj_all(), get_num_adj_quads(), get_part_boundary_verts(), get_part_quads_and_verts(), iMeshP_getNumOfTopoAll(), iMeshP_getNumOfTypeAll(), initialize_area_and_tracer(), interface_verts(), intersection_at_level(), moab::TempestOnlineMap::IsConservative(), moab::TempestOnlineMap::IsConsistent(), moab::TempestOnlineMap::IsMonotone(), main(), PartMap::part_from_coords(), moab::ReadHDF5::read_all_set_meta(), moab::ParCommGraph::receive_comm_graph(), moab::ParCommGraph::receive_mesh(), moab::ParCommGraph::receive_tag_values(), moab::ParCommGraph::release_send_buffers(), run_global_smoother(), run_local_smoother(), run_local_smoother2(), run_quality_optimizer(), run_solution_mesh_optimizer(), run_test(), moab::ParCommGraph::send_graph(), moab::ParCommGraph::send_graph_partition(), moab::ParCommGraph::send_mesh_parts(), moab::ParCommGraph::send_tag_values(), moab::TempestOnlineMap::SetDOFmapTags(), setup_component_coupler_meshes(), test_create_ghost_ents(), test_entity_copies(), test_entity_copy_parts(), test_entity_owner(), test_entity_status(), test_exchange_ents(), test_get_by_topo(), test_get_by_type(), test_get_by_type_topo_all(), test_get_by_type_topo_local(), test_get_neighbors(), test_get_part_boundary(), test_get_partitions(), test_get_parts(), test_interface_owners_common(), test_load(), test_part_boundary_iter(), test_part_id_handle(), test_part_rank(), test_push_tag_data_common(), test_tempest_cs_create(), test_tempest_ico_create(), test_tempest_mpas_create(), test_tempest_overlap_combinations(), test_tempest_rll_create(), update_tracer(), update_tracer_test(), vertex_tag(), and moab::TempestOnlineMap::WriteSCRIPMapFile().
MPI_Group jgroup |
Definition at line 65 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int nghlay = 0 |
Definition at line 85 of file commgraph_test.cpp.
Referenced by commgraphtest(), main(), and setup_component_coupler_meshes().
int numProcesses |
Definition at line 64 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int physatm = 5 |
Definition at line 81 of file commgraph_test.cpp.
Referenced by commgraphtest().
int rankInAtmComm = -1 |
Definition at line 72 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int rankInGlobalComm |
Definition at line 64 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int rankInPhysComm = -1 |
Definition at line 79 of file commgraph_test.cpp.
Referenced by commgraphtest().
int startG1 = 0 |
Definition at line 88 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int startG2 = 0 |
Definition at line 88 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().
int typeA = 1 |
Definition at line 89 of file commgraph_test.cpp.
Referenced by commgraphtest(), main(), and testphysatm_lnd().
int typeB = 2 |
Definition at line 90 of file commgraph_test.cpp.
Referenced by commgraphtest(), and main().