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 "InitCGMA.hpp"
#include "GeometryQueryTool.hpp"
#include "moab/MeshTopoUtil.hpp"
Go to the source code of this file.
Macros | |
#define | IS_BUILDING_MB |
#define | CHKERR(A) |
Functions | |
void | read_file (Interface *moab, const char *input_file) |
void | cube_verts_connectivity_test () |
void | cube_tris_connectivity_test () |
void | cube_tri_curve_coincidence_test () |
void | cube_edge_adjacencies_test () |
void | cube_tri_vertex_test () |
void | match_tri_edges_w_curve (const Range &tri_edges, const Range &curves) |
int | main (int, char **) |
Variables | |
std::string | input_cube = TestDir + "unittest/io/cube.sat" |
#define CHKERR | ( | A | ) |
Definition at line 15 of file read_cgm_connectivity_test.cpp.
#define IS_BUILDING_MB |
Definition at line 4 of file read_cgm_connectivity_test.cpp.
void cube_edge_adjacencies_test | ( | ) |
Definition at line 176 of file read_cgm_connectivity_test.cpp.
References moab::Range::begin(), CHECK, CHECK_ERR, moab::Range::end(), ErrorCode, moab::Core::get_adjacencies(), moab::Core::get_entities_by_type(), input_cube, mb, MBEDGE, read_file(), and moab::Range::size().
void cube_tri_curve_coincidence_test | ( | ) |
Definition at line 123 of file read_cgm_connectivity_test.cpp.
References moab::Range::begin(), CHECK_EQUAL, CHECK_ERR, moab::Range::end(), ErrorCode, moab::Core::get_adjacencies(), moab::Core::get_entities_by_type(), input_cube, match_tri_edges_w_curve(), mb, MBEDGE, MBTRI, moab::Range::print(), read_file(), and moab::Range::size().
Referenced by main().
void cube_tri_vertex_test | ( | ) |
Definition at line 201 of file read_cgm_connectivity_test.cpp.
References moab::Range::begin(), CHECK, CHECK_ERR, moab::Range::end(), ErrorCode, moab::Core::get_connectivity(), moab::Core::get_entities_by_type(), input_cube, mb, MBTRI, read_file(), and moab::Range::size().
Referenced by main().
void cube_tris_connectivity_test | ( | ) |
Definition at line 92 of file read_cgm_connectivity_test.cpp.
References moab::Range::begin(), CHECK_EQUAL, CHECK_ERR, moab::Range::end(), ErrorCode, moab::MeshTopoUtil::get_bridge_adjacencies(), moab::Core::get_entities_by_type(), input_cube, mb, MBTRI, read_file(), moab::Range::size(), and moab::Range::subset_by_type().
Referenced by main().
void cube_verts_connectivity_test | ( | ) |
Definition at line 66 of file read_cgm_connectivity_test.cpp.
References moab::Range::begin(), CHECK, CHECK_ERR, moab::Range::end(), ErrorCode, moab::Core::get_adjacencies(), moab::Core::get_entities_by_type(), input_cube, mb, MBVERTEX, and read_file().
Referenced by main().
int main | ( | int | , |
char ** | |||
) |
Definition at line 44 of file read_cgm_connectivity_test.cpp.
References cube_tri_curve_coincidence_test(), cube_tri_vertex_test(), cube_tris_connectivity_test(), cube_verts_connectivity_test(), and RUN_TEST.
Definition at line 155 of file read_cgm_connectivity_test.cpp.
References moab::Range::begin(), CHECK, CHECK_EQUAL, moab::Range::end(), and moab::Range::size().
Referenced by cube_tri_curve_coincidence_test().
void read_file | ( | Interface * | moab, |
const char * | input_file | ||
) |
Definition at line 56 of file read_cgm_connectivity_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by cube_edge_adjacencies_test(), cube_tri_curve_coincidence_test(), cube_tri_vertex_test(), cube_tris_connectivity_test(), and cube_verts_connectivity_test().
std::string input_cube = TestDir + "unittest/io/cube.sat" |
Definition at line 28 of file read_cgm_connectivity_test.cpp.
Referenced by cube_edge_adjacencies_test(), cube_tri_curve_coincidence_test(), cube_tri_vertex_test(), cube_tris_connectivity_test(), and cube_verts_connectivity_test().