MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "TestUtil.hpp"
#include "moab/Core.hpp"
#include "MBTagConventions.hpp"
#include "ReadIDEAS.hpp"
#include "moab/Range.hpp"
#include <cmath>
#include <algorithm>
Go to the source code of this file.
Macros | |
#define | IS_BUILDING_MB |
Functions | |
void | read_file (Interface &moab, const char *input_file) |
void | test_read_nodes () |
void | test_read_tets () |
void | test_read_hexes () |
void | test_read_material_set () |
void | test_read_physical_set () |
int | main () |
Variables | |
static const char | example [] = "test.unv" |
#define IS_BUILDING_MB |
Definition at line 4 of file ideas_test.cpp.
int main | ( | ) |
Definition at line 25 of file ideas_test.cpp.
References RUN_TEST, test_read_hexes(), test_read_material_set(), test_read_nodes(), test_read_physical_set(), and test_read_tets().
void read_file | ( | Interface & | moab, |
const char * | input_file | ||
) |
Definition at line 38 of file ideas_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by test_read_hexes(), test_read_material_set(), test_read_nodes(), test_read_physical_set(), and test_read_tets().
void test_read_hexes | ( | ) |
Definition at line 236 of file ideas_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, MBHEX, read_file(), and moab::Core::tag_get_data().
Referenced by main().
void test_read_material_set | ( | ) |
Definition at line 276 of file ideas_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(), MAT_PROP_TABLE_TAG, mb, MB_TYPE_INTEGER, MBENTITYSET, MBHEX, MBTET, read_file(), moab::Range::size(), and moab::Core::tag_get_handle().
Referenced by main().
void test_read_nodes | ( | ) |
Definition at line 43 of file ideas_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_physical_set | ( | ) |
Definition at line 302 of file ideas_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(), mb, MB_TYPE_INTEGER, MBENTITYSET, MBTET, PHYS_PROP_TABLE_TAG, read_file(), moab::Range::size(), and moab::Core::tag_get_handle().
Referenced by main().
void test_read_tets | ( | ) |
Definition at line 191 of file ideas_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, MBTET, read_file(), swap(), and moab::Core::tag_get_data().
Referenced by main().
|
static |
Definition at line 15 of file ideas_test.cpp.
Referenced by test_read_hexes(), test_read_material_set(), test_read_nodes(), test_read_physical_set(), and test_read_tets().