MOAB: Mesh Oriented datABase
(version 5.5.0)
|
#include "moab/Core.hpp"
#include "moab/CartVect.hpp"
#include "moab/Range.hpp"
#include "moab/verdict/VerdictWrapper.hpp"
#include <iostream>
#include <iomanip>
#include <cstdio>
#include "TestUtil.hpp"
Go to the source code of this file.
Classes | |
struct | test_case |
Macros | |
#define | MAX_NODES_PER_ELEMENT 27 |
#define | MAX_TESTS_PER_ELEMENT 20 |
#define | VERDICT_SIGNIFICANT_FIG 15 |
#define | MAX_STR_LEN 30 |
Functions | |
void | verdict_test1 () |
void | verdict_unit_tests () |
int | main (int argc, char *argv[]) |
Variables | |
std::string | filename = TestDir + "unittest/mbtest1.vtk" |
#define MAX_NODES_PER_ELEMENT 27 |
Definition at line 83 of file verdict_test.cpp.
#define MAX_STR_LEN 30 |
#define MAX_TESTS_PER_ELEMENT 20 |
Definition at line 84 of file verdict_test.cpp.
#define VERDICT_SIGNIFICANT_FIG 15 |
Definition at line 89 of file verdict_test.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 17 of file verdict_test.cpp.
References filename, RUN_TEST, verdict_test1(), and verdict_unit_tests().
void verdict_test1 | ( | ) |
Definition at line 29 of file verdict_test.cpp.
References moab::VerdictWrapper::all_quality_measures(), CHECK_ERR, entities, ErrorCode, filename, moab::Core::get_entities_by_handle(), moab::Core::id_from_handle(), moab::Core::list_entity(), moab::Core::load_mesh(), mb, MB_NOT_IMPLEMENTED, moab::MB_QUALITY_COUNT, MB_SUCCESS, MBHEX, MBVERTEX, moab::VerdictWrapper::quality_measure(), moab::VerdictWrapper::quality_name(), moab::VerdictWrapper::set_size(), moab::Core::type_from_handle(), and moab::TYPE_FROM_HANDLE().
Referenced by main().
void verdict_unit_tests | ( | ) |
Definition at line 107 of file verdict_test.cpp.
References test_case::answer, ErrorCode, test_case::function, iface, MAX_STR_LEN, moab::MB_AREA, moab::MB_ASPECT_RATIO, moab::MB_CONDITION, moab::MB_DIAGONAL, moab::MB_DIMENSION, moab::MB_DISTORTION, moab::MB_JACOBIAN, moab::MB_LENGTH, moab::MB_MAXIMUM_ANGLE, moab::MB_MINIMUM_ANGLE, moab::MB_RELATIVE_SIZE_SQUARED, moab::MB_SCALED_JACOBIAN, MB_SET_ERR_RET, moab::MB_SHAPE, moab::MB_SHAPE_AND_SIZE, moab::MB_SHEAR, moab::MB_SHEAR_AND_SIZE, moab::MB_SKEW, moab::MB_STRETCH, MB_SUCCESS, moab::MB_TAPER, moab::MB_UNDEFINED_QUALITY, moab::MB_VOLUME, moab::MB_WARPAGE, MBEDGE, MBHEX, MBMAXTYPE, MBPRISM, MBQUAD, MBTET, MBTRI, moab::VerdictWrapper::quality_measure(), moab::QualityType_ToString(), test_case::testname, moab::tolerance, and VERDICT_SIGNIFICANT_FIG.
Referenced by main().
std::string filename = TestDir + "unittest/mbtest1.vtk" |
Definition at line 10 of file verdict_test.cpp.
Referenced by main(), and verdict_test1().