MOAB: Mesh Oriented datABase
(version 5.5.0)
|
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_triangles () |
int | main () |
Variables | |
static const char | example [] = "three.smf" |
#define IS_BUILDING_MB |
Definition at line 3 of file smf_test.cpp.
int main | ( | ) |
Definition at line 18 of file smf_test.cpp.
References RUN_TEST, test_read_nodes(), and test_read_triangles().
void read_file | ( | Interface & | moab, |
const char * | input_file | ||
) |
Definition at line 28 of file smf_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by test_read_nodes(), and test_read_triangles().
void test_read_nodes | ( | ) |
Definition at line 33 of file smf_test.cpp.
References CHECK_EQUAL, CHECK_ERR, CHECK_REAL_EQUAL, eps, ErrorCode, example, moab::Core::get_coords(), moab::Core::get_entities_by_type(), mb, MBVERTEX, and read_file().
Referenced by main().
void test_read_triangles | ( | ) |
Definition at line 74 of file smf_test.cpp.
References CHECK_ARRAYS_EQUAL, CHECK_EQUAL, CHECK_ERR, ErrorCode, example, moab::Core::get_connectivity(), moab::Core::get_entities_by_type(), moab::Core::id_from_handle(), mb, MBTRI, and read_file().
Referenced by main().
|
static |
Definition at line 11 of file smf_test.cpp.
Referenced by test_read_nodes(), and test_read_triangles().