MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include <iostream>
#include "moab/Interface.hpp"
#include "TestUtil.hpp"
#include "Internals.hpp"
#include "moab/Core.hpp"
#include "MBTagConventions.hpp"
#include "moab/Types.hpp"
#include "moab/GeomTopoTool.hpp"
Go to the source code of this file.
Macros | |
#define | CHKERR(A) |
Functions | |
void | read_file (Interface &moab, const char *input_file) |
void | test_check_num_entities () |
void | test_check_meshsets () |
void | test_check_groups () |
int | main () |
Variables | |
std::string | test = TestDir + "unittest/io/test.obj" |
std::string | shuttle = TestDir + "unittest/io/shuttle.obj" |
GeomTopoTool * | myGeomTool |
Tag | geom_tag |
Tag | name_tag |
Tag | id_tag |
#define CHKERR | ( | A | ) |
Definition at line 12 of file read_obj_test.cpp.
int main | ( | ) |
Definition at line 36 of file read_obj_test.cpp.
References RUN_TEST, test_check_groups(), test_check_meshsets(), and test_check_num_entities().
void read_file | ( | Interface & | moab, |
const char * | input_file | ||
) |
Definition at line 47 of file read_obj_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by test_check_groups(), test_check_meshsets(), and test_check_num_entities().
void test_check_groups | ( | ) |
Definition at line 125 of file read_obj_test.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, moab::Interface::get_entities_by_dimension(), moab::Interface::get_entities_by_type_and_tag(), moab::Interface::globalId_tag(), id_tag, MBENTITYSET, read_file(), shuttle, and moab::Range::size().
Referenced by main().
void test_check_meshsets | ( | ) |
Definition at line 72 of file read_obj_test.cpp.
References moab::Range::begin(), CHECK_EQUAL, CHECK_ERR, children, moab::Range::clear(), dim, moab::Range::end(), ErrorCode, GEOM_DIMENSION_TAG_NAME, geom_tag, moab::Interface::get_child_meshsets(), moab::Interface::get_entities_by_type_and_tag(), moab::Interface::get_parent_meshsets(), moab::GeomTopoTool::get_sense(), MB_TYPE_INTEGER, MBENTITYSET, myGeomTool, read_file(), moab::Range::size(), moab::Interface::tag_get_data(), moab::Interface::tag_get_handle(), and test.
Referenced by main().
void test_check_num_entities | ( | ) |
Definition at line 52 of file read_obj_test.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, moab::Interface::get_entities_by_dimension(), read_file(), moab::Range::size(), and test.
Referenced by main().
Tag geom_tag |
Definition at line 27 of file read_obj_test.cpp.
Referenced by moab::Skinner::find_geometric_skin(), moab::FBEngine::find_vertex_set_for_node(), moab::FBEngine::getNumOfType(), moab::FBEngine::initializeSmoothing(), main(), print_partitioned_entities(), quads_to_tris(), read_cube_curves_test(), read_cube_surfs_test(), read_cube_vols_test(), read_cylcube_curve_senses_test(), read_cylcube_surf_senses_test(), test_check_meshsets(), test_elements_on_several_procs(), test_ghost_elements(), and moab::WriteGmsh::write_file().
Tag id_tag |
Definition at line 29 of file read_obj_test.cpp.
Referenced by test_check_groups().
GeomTopoTool* myGeomTool |
Definition at line 25 of file read_obj_test.cpp.
Referenced by test_check_meshsets().
Tag name_tag |
Definition at line 28 of file read_obj_test.cpp.
Referenced by moab::Tqdcfr::parse_acis_attribs(), and read_cylcube_groups_test().
std::string shuttle = TestDir + "unittest/io/shuttle.obj" |
Definition at line 23 of file read_obj_test.cpp.
Referenced by test_check_groups().
std::string test = TestDir + "unittest/io/test.obj" |
Definition at line 22 of file read_obj_test.cpp.
Referenced by check_ray_intersect_sets(), check_ray_intersect_tris(), find_volume_tests(), main(), register_test(), runner_register_test(), test_check_meshsets(), and test_check_num_entities().