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"
Go to the source code of this file.
Functions | |
void | test_read_parallel_ucd_trivial () |
void | test_read_parallel_ucd_trivial_spectral () |
void | test_read_parallel (int num_verts, bool test_nb_nodes) |
void | test_multiple_loads_of_same_file () |
int | main (int argc, char *argv[]) |
Variables | |
std::string | example = TestDir + "unittest/io/homme3x3458.t.3.nc" |
std::string | partition_method |
const int | levels = 3 |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 21 of file ucdtrvpart.cpp.
References RUN_TEST, test_multiple_loads_of_same_file(), test_read_parallel_ucd_trivial(), and test_read_parallel_ucd_trivial_spectral().
void test_multiple_loads_of_same_file | ( | ) |
Definition at line 131 of file ucdtrvpart.cpp.
References moab::Range::begin(), CHECK_EQUAL, CHECK_ERR, CHECK_REAL_EQUAL, moab::Core::create_meshset(), moab::Range::end(), eps, ErrorCode, example, moab::Core::get_entities_by_handle(), moab::Core::get_entities_by_type(), moab::ReadUtilIface::get_gather_set(), moab::ParallelComm::get_pcomm(), levels, moab::Core::load_file(), mb, MB_TAG_DENSE, MB_TYPE_DOUBLE, MBVERTEX, MESHSET_SET, moab::ParallelComm::proc_config(), moab::ProcConfig::proc_rank(), moab::ProcConfig::proc_size(), moab::Interface::query_interface(), rank, moab::Range::size(), moab::subtract(), moab::Core::tag_get_handle(), and moab::Core::tag_iterate().
Referenced by main().
void test_read_parallel | ( | int | num_verts, |
bool | test_nb_nodes | ||
) |
Definition at line 46 of file ucdtrvpart.cpp.
References moab::ParallelComm::check_all_shared_handles(), CHECK_EQUAL, CHECK_ERR, moab::Core::create_meshset(), ErrorCode, example, moab::ParallelComm::filter_pstatus(), moab::Core::get_entities_by_handle(), moab::Core::get_entities_by_type(), moab::ReadUtilIface::get_gather_set(), moab::ParallelComm::get_pcomm(), moab::Core::load_file(), mb, MBVERTEX, MESHSET_SET, partition_method, moab::ProcConfig::proc_comm(), moab::ParallelComm::proc_config(), moab::ProcConfig::proc_rank(), moab::ProcConfig::proc_size(), PSTATUS_NOT, PSTATUS_NOT_OWNED, moab::Interface::query_interface(), rank, moab::Range::size(), moab::subtract(), and moab::Core::write_file().
Referenced by test_read_parallel_ucd_trivial(), and test_read_parallel_ucd_trivial_spectral().
void test_read_parallel_ucd_trivial | ( | ) |
Definition at line 34 of file ucdtrvpart.cpp.
References partition_method, and test_read_parallel().
Referenced by main().
void test_read_parallel_ucd_trivial_spectral | ( | ) |
Definition at line 40 of file ucdtrvpart.cpp.
References partition_method, and test_read_parallel().
Referenced by main().
std::string example = TestDir + "unittest/io/homme3x3458.t.3.nc" |
Definition at line 10 of file ucdtrvpart.cpp.
Referenced by test_multiple_loads_of_same_file(), and test_read_parallel().
const int levels = 3 |
Definition at line 19 of file ucdtrvpart.cpp.
Referenced by test_multiple_loads_of_same_file().
std::string partition_method |
Definition at line 18 of file ucdtrvpart.cpp.
Referenced by test_read_parallel(), test_read_parallel_ucd_trivial(), and test_read_parallel_ucd_trivial_spectral().