MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "moab/Core.hpp"
#include "TestUtil.hpp"
#include "moab/Range.hpp"
#include <algorithm>
#include <iostream>
#include <cstdlib>
#include <cmath>
Go to the source code of this file.
Functions | |
void | calc_centroid (Interface *iface, EntityHandle pent, double result[3]) |
void | test_moab_v3_poly_format () |
int | main () |
void calc_centroid | ( | Interface * | iface, |
EntityHandle | pent, | ||
double | result[3] | ||
) |
Definition at line 12 of file h5legacy.cpp.
References CHECK_EQUAL, CHECK_ERR, ErrorCode, moab::Interface::get_connectivity(), moab::Interface::get_coords(), iface, and pent().
Referenced by test_moab_v3_poly_format().
int main | ( | ) |
void test_moab_v3_poly_format | ( | ) |
Definition at line 32 of file h5legacy.cpp.
References moab::Range::begin(), calc_centroid(), CHECK, CHECK_EQUAL, CHECK_ERR, CHECK_REAL_EQUAL, moab::Range::end(), ErrorCode, moab::Range::front(), moab::Core::get_connectivity(), moab::Core::get_entities_by_type(), moab::Core::load_mesh(), mb, MB_TYPE_DOUBLE, MBPOLYGON, MBPOLYHEDRON, MBVERTEX, moab::Range::size(), moab::Core::tag_get_data(), and moab::Core::tag_get_handle().
Referenced by main().