MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "moab/ParallelComm.hpp"
#include "moab/Core.hpp"
#include "moab_mpi.h"
#include "TestUtil.hpp"
#include "MBTagConventions.hpp"
#include <iostream>
#include <sstream>
Go to the source code of this file.
Functions | |
void | report_sets (moab::Core *mb, int rank, int nproc) |
void | test_read_with_ghost () |
void | test_read_and_ghost_after () |
void | test_read_with_ghost_no_augment () |
int | main (int argc, char *argv[]) |
Variables | |
std::string | filename = TestDir + "unittest/io/p8ex1.h5m" |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 129 of file augment_with_ghosts.cpp.
References filename, RUN_TEST, test_read_and_ghost_after(), test_read_with_ghost(), and test_read_with_ghost_no_augment().
void report_sets | ( | moab::Core * | mb, |
int | rank, | ||
int | nproc | ||
) |
Definition at line 12 of file augment_with_ghosts.cpp.
References moab::Range::begin(), CHECK_ERR, DIRICHLET_SET_TAG_NAME, moab::Range::end(), ErrorCode, moab::Core::get_entities_by_handle(), moab::Core::get_entities_by_type_and_tag(), moab::Core::id_from_handle(), MATERIAL_SET_TAG_NAME, mb, MB_TAG_ANY, MB_TYPE_INTEGER, MBENTITYSET, MPI_COMM_WORLD, NEUMANN_SET_TAG_NAME, PARALLEL_PARTITION_TAG_NAME, rank, moab::Range::size(), moab::Core::tag_get_data(), moab::Core::tag_get_handle(), and moab::Interface::UNION.
Referenced by test_read_and_ghost_after(), test_read_with_ghost(), and test_read_with_ghost_no_augment().
void test_read_and_ghost_after | ( | ) |
Definition at line 72 of file augment_with_ghosts.cpp.
References moab::ParallelComm::augment_default_sets_with_ghosts(), CHECK_ERR, ErrorCode, moab::ParallelComm::exchange_ghost_cells(), filename, layers, moab::Core::load_file(), mb, MB_SUCCESS, MPI_COMM_WORLD, outfile, rank, report_sets(), moab::ParallelComm::set_debug_verbosity(), and moab::Core::write_file().
Referenced by main().
void test_read_with_ghost | ( | ) |
Definition at line 48 of file augment_with_ghosts.cpp.
References CHECK_ERR, ErrorCode, filename, moab::Core::load_file(), mb, MB_SUCCESS, MPI_COMM_WORLD, outfile, rank, report_sets(), and moab::Core::write_file().
Referenced by main().
void test_read_with_ghost_no_augment | ( | ) |
Definition at line 106 of file augment_with_ghosts.cpp.
References CHECK_ERR, ErrorCode, filename, moab::Core::load_file(), mb, MB_SUCCESS, MPI_COMM_WORLD, outfile, rank, report_sets(), and moab::Core::write_file().
Referenced by main().
std::string filename = TestDir + "unittest/io/p8ex1.h5m" |
Definition at line 9 of file augment_with_ghosts.cpp.
Referenced by main(), test_read_and_ghost_after(), test_read_with_ghost(), and test_read_with_ghost_no_augment().