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) |
int | geom_id_by_handle (Interface *moab, const EntityHandle set) |
void | check_group_data (std::vector< int > &group_ids, std::vector< std::string > &group_names, std::vector< int > &group_ent_ids) |
void | load_group_references (std::vector< int > &ids, std::vector< std::string > &names, std::vector< int > &ent_ids) |
void | read_cylcube_groups_test () |
int | main (int, char **) |
Variables | |
std::string | input_cylcube = TestDir + "unittest/io/cylcube.sat" |
#define CHKERR | ( | A | ) |
Definition at line 15 of file read_cgm_group_test.cpp.
#define IS_BUILDING_MB |
Definition at line 4 of file read_cgm_group_test.cpp.
void check_group_data | ( | std::vector< int > & | group_ids, |
std::vector< std::string > & | group_names, | ||
std::vector< int > & | group_ent_ids | ||
) |
Definition at line 122 of file read_cgm_group_test.cpp.
References CHECK_EQUAL, and load_group_references().
Referenced by read_cylcube_groups_test().
int geom_id_by_handle | ( | Interface * | moab, |
const EntityHandle | set | ||
) |
Definition at line 191 of file read_cgm_group_test.cpp.
References CHECK_ERR, ErrorCode, and id_tag.
Referenced by read_cylcube_groups_test().
void load_group_references | ( | std::vector< int > & | ids, |
std::vector< std::string > & | names, | ||
std::vector< int > & | ent_ids | ||
) |
int main | ( | int | , |
char ** | |||
) |
Definition at line 52 of file read_cgm_group_test.cpp.
References read_cylcube_groups_test(), and RUN_TEST.
void read_cylcube_groups_test | ( | ) |
Definition at line 73 of file read_cgm_group_test.cpp.
References moab::Range::begin(), category_tag, CATEGORY_TAG_NAME, CATEGORY_TAG_SIZE, CHECK, CHECK_ERR, check_group_data(), moab::Range::end(), ErrorCode, geom_id_by_handle(), moab::Core::get_entities_by_type(), moab::Core::get_entities_by_type_and_tag(), input_cylcube, mb, MB_TAG_CREAT, MB_TAG_SPARSE, MB_TYPE_OPAQUE, MBENTITYSET, name_tag, NAME_TAG_NAME, NAME_TAG_SIZE, read_file(), moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by main().
void read_file | ( | Interface * | moab, |
const char * | input_file | ||
) |
Definition at line 61 of file read_cgm_group_test.cpp.
References CHECK_ERR, ErrorCode, and input_file.
Referenced by read_cylcube_groups_test().
std::string input_cylcube = TestDir + "unittest/io/cylcube.sat" |
Definition at line 28 of file read_cgm_group_test.cpp.
Referenced by read_cylcube_groups_test().