MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "TestUtil.hpp"
#include "moab/Core.hpp"
#include "moab/Range.hpp"
#include "MBTagConventions.hpp"
#include <cmath>
#include <algorithm>
Go to the source code of this file.
Functions | |
void | test_read_nodes () |
void | test_read_quads () |
void | test_read_material_set () |
void | test_read_material_on_nodes () |
void | test_read_geom_set () |
void | test_read_airfoil () |
void | test_read_t1 () |
void | test_read_fgh () |
void | read_file (Interface &moab, const char *input_file) |
int | main () |
Variables | |
static const char | example [] = "gmsh2.msh" |
static const char | example2 [] = "airfoil_exterior.msh" |
static const char | example3 [] = "t1.msh" |
static const char | example4 [] = "ghosts.msh" |
static const char | example5 [] = "gmsh3.msh" |
int main | ( | ) |
Definition at line 39 of file gmsh_test.cpp.
References RUN_TEST, test_read_airfoil(), test_read_fgh(), test_read_geom_set(), test_read_material_on_nodes(), test_read_material_set(), test_read_nodes(), test_read_quads(), and test_read_t1().
void read_file | ( | Interface & | moab, |
const char * | input_file | ||
) |
Definition at line 55 of file gmsh_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by test_read_airfoil(), test_read_fgh(), test_read_geom_set(), test_read_material_on_nodes(), test_read_material_set(), test_read_nodes(), test_read_quads(), and test_read_t1().
void test_read_airfoil | ( | ) |
Definition at line 254 of file gmsh_test.cpp.
References example2, and read_file().
Referenced by main().
void test_read_fgh | ( | ) |
Definition at line 266 of file gmsh_test.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, example4, MBENTITYSET, read_file(), and moab::Range::size().
Referenced by main().
void test_read_geom_set | ( | ) |
Definition at line 222 of file gmsh_test.cpp.
References CHECK_EQUAL, CHECK_ERR, dim, dim_tag, ErrorCode, example, moab::Range::front(), GEOM_DIMENSION_TAG_NAME, moab::Core::get_entities_by_handle(), moab::Core::get_entities_by_type(), moab::Core::get_entities_by_type_and_tag(), moab::Core::globalId_tag(), id_tag, mb, MB_TYPE_INTEGER, MBENTITYSET, MBQUAD, read_file(), moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by main().
void test_read_material_on_nodes | ( | ) |
Definition at line 197 of file gmsh_test.cpp.
References moab::Range::back(), CHECK_EQUAL, CHECK_ERR, ErrorCode, example5, moab::Range::front(), moab::Core::get_entities_by_type_and_tag(), MATERIAL_SET_TAG_NAME, mb, MB_TYPE_INTEGER, MBENTITYSET, read_file(), moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by main().
void test_read_material_set | ( | ) |
Definition at line 170 of file gmsh_test.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, example, moab::Range::front(), moab::Core::get_entities_by_handle(), moab::Core::get_entities_by_type(), moab::Core::get_entities_by_type_and_tag(), MATERIAL_SET_TAG_NAME, mb, MB_TYPE_INTEGER, MBENTITYSET, MBQUAD, read_file(), moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by main().
void test_read_nodes | ( | ) |
Definition at line 61 of file gmsh_test.cpp.
References CHECK_EQUAL, CHECK_ERR, CHECK_REAL_EQUAL, eps, ErrorCode, example, moab::Core::get_coords(), moab::Core::get_entities_by_type(), moab::Core::globalId_tag(), id_tag, mb, MBVERTEX, read_file(), and moab::Core::tag_get_data().
Referenced by main().
void test_read_quads | ( | ) |
Definition at line 127 of file gmsh_test.cpp.
References CHECK_ARRAYS_EQUAL, CHECK_EQUAL, CHECK_ERR, ErrorCode, example, moab::Core::get_connectivity(), moab::Core::get_entities_by_type(), moab::Core::globalId_tag(), id_tag, mb, MBQUAD, read_file(), swap(), and moab::Core::tag_get_data().
Referenced by main().
void test_read_t1 | ( | ) |
Definition at line 260 of file gmsh_test.cpp.
References example3, and read_file().
Referenced by main().
|
static |
Definition at line 21 of file gmsh_test.cpp.
Referenced by test_intx_in_parallel_elem_based(), test_intx_mpas(), test_new_pcomm_instance(), test_read_geom_set(), test_read_material_set(), test_read_nodes(), and test_read_quads().
|
static |
Definition at line 22 of file gmsh_test.cpp.
Referenced by test_read_airfoil().
|
static |
Definition at line 23 of file gmsh_test.cpp.
Referenced by test_read_t1().
|
static |
Definition at line 24 of file gmsh_test.cpp.
Referenced by test_read_fgh().
|
static |
Definition at line 25 of file gmsh_test.cpp.
Referenced by test_read_material_on_nodes().