MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "TestUtil.hpp"
#include "moab/Core.hpp"
#include "moab/Range.hpp"
#include "moab/Types.hpp"
#include "MBTagConventions.hpp"
#include <cmath>
#include <algorithm>
Go to the source code of this file.
Functions | |
void | test_loadfile_1 () |
void | test_meshset_tags_1 () |
void | test_tets_1 () |
void | test_tet_tags_1 () |
void | test_triangles_1 () |
void | test_triangles_tags_1 () |
void | test_vertices_1 () |
void | test_loadfile_2 () |
void | test_meshset_tags_2 () |
void | test_tets_2 () |
void | test_tet_tags_2 () |
void | test_triangles_2 () |
void | test_triangles_tags_2 () |
void | test_vertices_2 () |
void | read_file (Interface &moab, const char *input_file) |
int | main () |
Variables | |
std::string | example1 = TestDir + "unittest/io/rtttest_v100.rtt" |
std::string | example2 = TestDir + "unittest/io/rtttest_v101.rtt" |
int main | ( | ) |
Definition at line 35 of file readrtt_test.cpp.
References RUN_TEST, test_loadfile_1(), test_loadfile_2(), test_meshset_tags_1(), test_meshset_tags_2(), test_tet_tags_1(), test_tet_tags_2(), test_tets_1(), test_tets_2(), test_triangles_1(), test_triangles_2(), test_vertices_1(), and test_vertices_2().
void read_file | ( | Interface & | moab, |
const char * | input_file | ||
) |
Definition at line 56 of file readrtt_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by test_loadfile_1(), test_loadfile_2(), test_meshset_tags_1(), test_meshset_tags_2(), test_tet_tags_1(), test_tet_tags_2(), test_tets_1(), test_tets_2(), test_triangles_1(), test_triangles_2(), test_triangles_tags_1(), test_triangles_tags_2(), test_vertices_1(), and test_vertices_2().
void test_loadfile_1 | ( | ) |
Definition at line 62 of file readrtt_test.cpp.
References example1, and read_file().
Referenced by main().
void test_loadfile_2 | ( | ) |
Definition at line 220 of file readrtt_test.cpp.
References example2, and read_file().
Referenced by main().
void test_meshset_tags_1 | ( | ) |
Definition at line 68 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, dim_tag, entities, ErrorCode, example1, GEOM_DIMENSION_TAG_NAME, id_tag, MB_TAG_CREAT, MB_TAG_SPARSE, MB_TYPE_INTEGER, MBENTITYSET, and read_file().
Referenced by main().
void test_meshset_tags_2 | ( | ) |
Definition at line 226 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, dim_tag, entities, ErrorCode, example2, GEOM_DIMENSION_TAG_NAME, id_tag, MB_TAG_CREAT, MB_TAG_SPARSE, MB_TYPE_INTEGER, MBENTITYSET, and read_file().
Referenced by main().
void test_tet_tags_1 | ( | ) |
Definition at line 128 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example1, MB_TAG_CREAT, MB_TAG_SPARSE, MB_TYPE_INTEGER, MBTET, and read_file().
Referenced by main().
void test_tet_tags_2 | ( | ) |
Definition at line 286 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example2, MB_TAG_CREAT, MB_TAG_SPARSE, MB_TYPE_INTEGER, MBTET, and read_file().
Referenced by main().
void test_tets_1 | ( | ) |
Definition at line 114 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example1, MBTET, and read_file().
Referenced by main().
void test_tets_2 | ( | ) |
Definition at line 272 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example2, MBTET, and read_file().
Referenced by main().
void test_triangles_1 | ( | ) |
Definition at line 154 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example1, MBTRI, and read_file().
Referenced by main().
void test_triangles_2 | ( | ) |
Definition at line 312 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example2, MBTRI, and read_file().
Referenced by main().
void test_triangles_tags_1 | ( | ) |
Definition at line 168 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example1, MB_TAG_CREAT, MB_TAG_SPARSE, MB_TYPE_INTEGER, MBTRI, and read_file().
void test_triangles_tags_2 | ( | ) |
Definition at line 326 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example2, MB_TAG_CREAT, MB_TAG_SPARSE, MB_TYPE_INTEGER, MBTRI, and read_file().
void test_vertices_1 | ( | ) |
Definition at line 206 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example1, MBVERTEX, and read_file().
Referenced by main().
void test_vertices_2 | ( | ) |
Definition at line 364 of file readrtt_test.cpp.
References CHECK_EQUAL, CHECK_ERR, entities, ErrorCode, example2, MBVERTEX, and read_file().
Referenced by main().
std::string example1 = TestDir + "unittest/io/rtttest_v100.rtt" |
Definition at line 14 of file readrtt_test.cpp.
Referenced by test_loadfile_1(), test_meshset_tags_1(), test_tet_tags_1(), test_tets_1(), test_triangles_1(), test_triangles_tags_1(), and test_vertices_1().
std::string example2 = TestDir + "unittest/io/rtttest_v101.rtt" |
Definition at line 15 of file readrtt_test.cpp.
Referenced by test_loadfile_2(), test_meshset_tags_2(), test_tet_tags_2(), test_tets_2(), test_triangles_2(), test_triangles_tags_2(), and test_vertices_2().