Example demonstrating MOAB's trace back error handler in serial. More...
Include dependency graph for TestErrorHandling.cpp:Go to the source code of this file.
Functions | |
| ErrorCode | TestErrorHandling_1 () |
| ErrorCode | TestErrorHandling_2 () |
| ErrorCode | TestErrorHandling_3 () |
| ErrorCode | TestErrorHandling_4 () |
| int | main (int argc, char **argv) |
Example demonstrating MOAB's trace back error handler in serial.
This example shows how to:
The example demonstrates four test cases:
Description: This example tests MOAB's trace back error handler in serial.
To run: ./TestErrorHandling <test_case_num(1 to 4)>
| argc | Number of command line arguments |
| argv | Command line arguments array |
Definition in file TestErrorHandling.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 107 of file TestErrorHandling.cpp.
References ErrorCode, MB_CHK_ERR, MB_SUCCESS, moab::MBErrorHandler_Finalize(), moab::MBErrorHandler_Init(), TestErrorHandling_1(), TestErrorHandling_2(), TestErrorHandling_3(), and TestErrorHandling_4().
| ErrorCode TestErrorHandling_1 | ( | ) |
Definition at line 42 of file TestErrorHandling.cpp.
References moab::Core::load_file(), mb, MB_CHK_ERR, MB_SUCCESS, and MESH_DIR.
Referenced by main().
| ErrorCode TestErrorHandling_2 | ( | ) |
Definition at line 55 of file TestErrorHandling.cpp.
References moab::Core::load_file(), mb, MB_CHK_ERR, MB_SUCCESS, and MESH_DIR.
Referenced by main().
| ErrorCode TestErrorHandling_3 | ( | ) |
Definition at line 68 of file TestErrorHandling.cpp.
References moab::Core::load_file(), mb, MB_CHK_ERR, MB_SUCCESS, and MESH_DIR.
Referenced by main().
| ErrorCode TestErrorHandling_4 | ( | ) |
Definition at line 81 of file TestErrorHandling.cpp.
References moab::Range::begin(), moab::Core::create_vertices(), moab::Range::end(), mb, MB_CHK_SET_ERR, MB_SUCCESS, MB_TAG_CREAT, MB_TAG_DENSE, MB_TAG_VARLEN, MB_TYPE_INTEGER, moab::Core::tag_get_handle(), and moab::Core::tag_iterate().
Referenced by main().