MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "TestUtil.hpp"
#include "moab/Core.hpp"
#include "moab/ParallelComm.hpp"
#include "moab/ProgOptions.hpp"
#include "MBParallelConventions.h"
#include "moab/ReadUtilIface.hpp"
#include "MBTagConventions.hpp"
#include <sstream>
Go to the source code of this file.
Functions | |
void | test_read_onevar_trivial () |
void | test_read_mesh_parallel_trivial () |
void | test_gather_onevar_on_rank0 () |
void | test_gather_onevar_on_rank1 () |
void | test_multiple_loads_of_same_file () |
void | read_one_cell_var (bool rcbzoltan) |
void | read_mesh_parallel (bool rcbzoltan) |
void | gather_one_cell_var (int gather_set_rank) |
void | multiple_loads_of_same_file () |
int | main (int argc, char *argv[]) |
void | test_read_onevar_rcbzoltan () |
void | test_read_mesh_parallel_rcbzoltan () |
Variables | |
std::string | example = TestDir + "unittest/io/gcrm_r3.nc" |
std::string | read_options |
const double | eps = 1e-6 |
const int | layers = 3 |
void gather_one_cell_var | ( | int | gather_set_rank | ) |
Definition at line 470 of file gcrm_par.cpp.
References CHECK_EQUAL, CHECK_ERR, CHECK_REAL_EQUAL, moab::Core::create_meshset(), eps, ErrorCode, example, moab::ParallelComm::filter_pstatus(), moab::ParallelComm::gather_data(), moab::Core::get_entities_by_type(), moab::ReadUtilIface::get_gather_set(), moab::ParallelComm::get_pcomm(), moab::Core::globalId_tag(), layers, moab::Core::load_file(), mb, MB_TAG_DENSE, MB_TYPE_DOUBLE, MBPOLYGON, MESHSET_SET, moab::ParallelComm::proc_config(), moab::ProcConfig::proc_rank(), moab::ProcConfig::proc_size(), moab::Range::psize(), PSTATUS_NOT, PSTATUS_NOT_OWNED, moab::Interface::query_interface(), rank, read_options, moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by test_gather_onevar_on_rank0(), and test_gather_onevar_on_rank1().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 40 of file gcrm_par.cpp.
References RUN_TEST, test_gather_onevar_on_rank0(), test_gather_onevar_on_rank1(), test_multiple_loads_of_same_file(), test_read_mesh_parallel_rcbzoltan(), test_read_mesh_parallel_trivial(), test_read_onevar_rcbzoltan(), and test_read_onevar_trivial().
void multiple_loads_of_same_file | ( | ) |
Definition at line 544 of file gcrm_par.cpp.
References CHECK_EQUAL, CHECK_ERR, CHECK_REAL_EQUAL, moab::Core::create_meshset(), eps, ErrorCode, example, moab::Core::get_entities_by_type(), moab::ParallelComm::get_pcomm(), layers, moab::Core::load_file(), mb, MB_TYPE_DOUBLE, MBEDGE, MBPOLYGON, MBVERTEX, MESHSET_SET, moab::ParallelComm::proc_config(), moab::ProcConfig::proc_rank(), moab::ProcConfig::proc_size(), moab::Range::psize(), rank, read_options, moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by test_multiple_loads_of_same_file().
void read_mesh_parallel | ( | bool | rcbzoltan | ) |
Definition at line 288 of file gcrm_par.cpp.
References moab::ParallelComm::check_all_shared_handles(), CHECK_EQUAL, CHECK_ERR, ErrorCode, example, moab::ParallelComm::filter_pstatus(), moab::Core::get_entities_by_type(), moab::ParallelComm::get_pcomm(), moab::Core::load_file(), mb, MBEDGE, MBPOLYGON, MBVERTEX, moab::ProcConfig::proc_comm(), moab::ParallelComm::proc_config(), moab::ProcConfig::proc_rank(), moab::ProcConfig::proc_size(), moab::Range::psize(), PSTATUS_NOT, PSTATUS_NOT_OWNED, rank, read_options, moab::Range::size(), and moab::Core::write_file().
Referenced by test_read_mesh_parallel_rcbzoltan(), and test_read_mesh_parallel_trivial().
void read_one_cell_var | ( | bool | rcbzoltan | ) |
Definition at line 100 of file gcrm_par.cpp.
References CHECK_EQUAL, CHECK_ERR, CHECK_REAL_EQUAL, eps, ErrorCode, example, moab::Core::get_entities_by_type(), moab::ParallelComm::get_pcomm(), moab::Core::globalId_tag(), layers, moab::Core::load_file(), mb, MB_TYPE_DOUBLE, MBEDGE, MBPOLYGON, moab::ParallelComm::proc_config(), moab::ProcConfig::proc_rank(), moab::ProcConfig::proc_size(), moab::Range::psize(), rank, read_options, moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by test_read_onevar_rcbzoltan(), and test_read_onevar_trivial().
void test_gather_onevar_on_rank0 | ( | ) |
void test_gather_onevar_on_rank1 | ( | ) |
void test_multiple_loads_of_same_file | ( | ) |
Definition at line 94 of file gcrm_par.cpp.
References multiple_loads_of_same_file().
Referenced by main().
void test_read_mesh_parallel_rcbzoltan | ( | ) |
void test_read_mesh_parallel_trivial | ( | ) |
void test_read_onevar_rcbzoltan | ( | ) |
void test_read_onevar_trivial | ( | ) |
const double eps = 1e-6 |
Definition at line 37 of file gcrm_par.cpp.
Referenced by gather_one_cell_var(), multiple_loads_of_same_file(), and read_one_cell_var().
std::string example = TestDir + "unittest/io/gcrm_r3.nc" |
Definition at line 13 of file gcrm_par.cpp.
Referenced by gather_one_cell_var(), multiple_loads_of_same_file(), read_mesh_parallel(), and read_one_cell_var().
const int layers = 3 |
Definition at line 38 of file gcrm_par.cpp.
Referenced by gather_one_cell_var(), multiple_loads_of_same_file(), and read_one_cell_var().
std::string read_options |
Definition at line 36 of file gcrm_par.cpp.
Referenced by adj_perf(), ahf_test(), closedsurface_uref_hirec_convergence_study(), gather_one_cell_var(), iMOAB_LoadMesh(), load_meshset_hirec(), main(), multiple_loads_of_same_file(), perf_inmesh(), read_mesh_parallel(), read_one_cell_var(), test_closedsurface_mesh(), test_mesh(), and test_new_pcomm_instance().