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"
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 | read_cube_verts_test () |
void | read_cube_curves_test () |
void | read_cube_tris_test () |
void | read_cube_surfs_test () |
void | read_cube_vols_test () |
void | read_cube_vertex_pos_test () |
int | main (int, char **) |
Variables | |
const std::string | input_cube = TestDir + "unittest/io/cube.sat" |
#define CHKERR | ( | A | ) |
Definition at line 15 of file read_cgm_basic_test.cpp.
#define IS_BUILDING_MB |
Definition at line 4 of file read_cgm_basic_test.cpp.
int main | ( | int | , |
char ** | |||
) |
Definition at line 43 of file read_cgm_basic_test.cpp.
References read_cube_curves_test(), read_cube_surfs_test(), read_cube_tris_test(), read_cube_vertex_pos_test(), read_cube_verts_test(), read_cube_vols_test(), and RUN_TEST.
void read_cube_curves_test | ( | ) |
Definition at line 101 of file read_cgm_basic_test.cpp.
References CHECK_EQUAL, CHECK_ERR, dim, ErrorCode, GEOM_DIMENSION_TAG_NAME, geom_tag, moab::Core::get_number_entities_by_type_and_tag(), input_cube, mb, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_INTEGER, MBENTITYSET, read_file(), and moab::Core::tag_get_handle().
Referenced by main().
void read_cube_surfs_test | ( | ) |
Definition at line 123 of file read_cgm_basic_test.cpp.
References CHECK_EQUAL, CHECK_ERR, dim, ErrorCode, GEOM_DIMENSION_TAG_NAME, geom_tag, moab::Core::get_number_entities_by_type_and_tag(), input_cube, mb, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_INTEGER, MBENTITYSET, read_file(), and moab::Core::tag_get_handle().
Referenced by main().
void read_cube_tris_test | ( | ) |
Definition at line 83 of file read_cgm_basic_test.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, moab::Core::get_number_entities_by_type(), input_cube, mb, MBTRI, and read_file().
Referenced by main().
void read_cube_vertex_pos_test | ( | ) |
Definition at line 168 of file read_cgm_basic_test.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, moab::Core::get_coords(), moab::Core::get_entities_by_type(), input_cube, mb, MBVERTEX, read_file(), and moab::Range::size().
Referenced by main().
void read_cube_verts_test | ( | ) |
Definition at line 67 of file read_cgm_basic_test.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, moab::Core::get_number_entities_by_type(), input_cube, mb, MBVERTEX, and read_file().
Referenced by main().
void read_cube_vols_test | ( | ) |
Definition at line 145 of file read_cgm_basic_test.cpp.
References CHECK_EQUAL, CHECK_ERR, dim, ErrorCode, GEOM_DIMENSION_TAG_NAME, geom_tag, moab::Core::get_number_entities_by_type_and_tag(), input_cube, mb, MB_TAG_CREAT, MB_TAG_DENSE, MB_TYPE_INTEGER, MBENTITYSET, read_file(), and moab::Core::tag_get_handle().
Referenced by main().
bool read_file | ( | Interface * | moab, |
const char * | input_file | ||
) |
Definition at line 57 of file read_cgm_basic_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by read_cube_curves_test(), read_cube_surfs_test(), read_cube_tris_test(), read_cube_vertex_pos_test(), read_cube_verts_test(), and read_cube_vols_test().
const std::string input_cube = TestDir + "unittest/io/cube.sat" |
Definition at line 28 of file read_cgm_basic_test.cpp.
Referenced by read_cube_curves_test(), read_cube_surfs_test(), read_cube_tris_test(), read_cube_vertex_pos_test(), read_cube_verts_test(), and read_cube_vols_test().