MOAB: Mesh Oriented datABase
(version 5.4.1)
|
#include "Mesquite.hpp"
#include "PatchData.hpp"
#include "PatchDataInstances.hpp"
#include "UnitUtil.hpp"
#include "Settings.hpp"
#include "Instruction.hpp"
#include "ArrayMesh.hpp"
#include "DomainClassifier.hpp"
#include "PlanarDomain.hpp"
#include "MeshDomain1D.hpp"
#include "MeshDecorator.hpp"
#include "cppunit/extensions/HelperMacros.h"
#include <algorithm>
#include <set>
#include <map>
Go to the source code of this file.
Classes | |
class | PatchDataTest |
class | HoSlavedMesh |
Functions | |
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (PatchDataTest,"PatchDataTest") | |
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (PatchDataTest,"Unit") | |
Variables | |
const int | NUM_VTX = 40 |
const int | NUM_ELEM = 9 |
const int | NUM_CORNER = 16 |
const double | input_coords [3 *NUM_VTX] |
const bool | fixed [NUM_VTX] |
const size_t | input_conn [8 *NUM_ELEM] |
const size_t | node_per_elem [NUM_ELEM] = { 8, 8, 8, 8, 8, 8, 8, 8, 8 } |
const EntityTopology | elem_types [NUM_ELEM] |
Unit testing of various functions in the PatchData class.
Definition in file PatchDataTest.cpp.
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION | ( | PatchDataTest | , |
"PatchDataTest" | |||
) |
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION | ( | PatchDataTest | , |
"Unit" | |||
) |
const EntityTopology elem_types[NUM_ELEM] |
{ QUADRILATERAL, QUADRILATERAL, QUADRILATERAL, QUADRILATERAL, QUADRILATERAL, QUADRILATERAL, QUADRILATERAL, QUADRILATERAL, QUADRILATERAL }
Definition at line 738 of file PatchDataTest.cpp.
{ true, true, true, true, true, false, false, true, true, false, false, true, true, true, true, true, true, true, true, true, false, false, true, false, false, false, true, false, false, true, false, false, false, true, false, false, true }
Definition at line 729 of file PatchDataTest.cpp.
const size_t input_conn[8 *NUM_ELEM] |
{ 1, 0, 4, 5, 16, 19, 23, 20, 2, 1, 5, 6, 17, 20, 24, 21, 3, 2, 6, 7, 18, 21, 25, 22, 5, 4, 8, 9, 23, 26, 30, 27, 6, 5, 9, 10, 24, 27, 31, 28, 7, 6, 10, 11, 25, 28, 32, 29, 9, 8, 12, 13, 30, 33, 37, 34, 10, 9, 13, 14, 31, 34, 38, 35, 11, 10, 14, 15, 32, 35, 39, 36 }
Definition at line 732 of file PatchDataTest.cpp.
Referenced by PatchDataTest::get_quad8_mesh(), and PatchDataTest::test_quad8_patch().
const double input_coords[3 *NUM_VTX] |
{ -3.0, 3.0, 0, -1.0, 3.0, 0, 1.0, 3.0, 0, 3.0, 3.0, 0, -3.0, 1.0, 0, -1.0, 1.0, 0, 1.0, 1.0, 0, 3.0, 1.0, 0, -3.0, -1.0, 0, -1.0, -1.0, 0, 1.0, -1.0, 0, 3.0, -1.0, 0, -3.0, -3.0, 0, -1.0, -3.0, 0, 1.0, -3.0, 0, 3.0, -3.0, 0, -2.0, 3.0, 0, 0.0, 3.0, 0, 2.0, 3.0, 0, -3.0, 2.0, 0, -1.0, 2.0, 0, 1.0, 2.0, 0, 3.0, 2.0, 0, -2.0, 1.0, 0, 0.0, 1.0, 0, 2.0, 1.0, 0, -3.0, 0.0, 0, -1.0, 0.0, 0, 1.0, 0.0, 0, 3.0, 0.0, 0, -2.0, -1.0, 0, 0.0, -1.0, 0, 2.0, -1.0, 0, -3.0, -2.0, 0, -1.0, -2.0, 0, 1.0, -2.0, 0, 3.0, -2.0, 0, -2.0, -3.0, 0, 0.0, -3.0, 0, 2.0, -3.0, 0 }
Definition at line 721 of file PatchDataTest.cpp.
Referenced by PatchDataTest::get_quad8_mesh(), and PatchDataTest::test_quad8_patch().
const size_t node_per_elem[NUM_ELEM] = { 8, 8, 8, 8, 8, 8, 8, 8, 8 } |
Definition at line 737 of file PatchDataTest.cpp.
Referenced by moab::ReadGmsh::create_elements(), moab::Tqdcfr::read_block(), moab::ReadTetGen::read_elem_file(), moab::ReadHDF5::read_elems(), moab::ReadHDF5::read_node_adj_elems(), moab::ReadUtilIface::reorder(), moab::WriteUtilIface::reorder(), test_element(), and PatchDataTest::test_quad8_patch().
const int NUM_CORNER = 16 |
Definition at line 720 of file PatchDataTest.cpp.
Referenced by PatchDataTest::test_quad8_patch().
const int NUM_ELEM = 9 |
Definition at line 720 of file PatchDataTest.cpp.
Referenced by PatchDataTest::get_quad8_mesh(), main(), PatchDataTest::test_quad8_patch(), and VtkTest::test_read_quadratic().
const int NUM_VTX = 40 |
Definition at line 720 of file PatchDataTest.cpp.
Referenced by PatchDataTest::get_quad8_mesh(), test_bit_tag_big(), test_coords_connect_iterate(), test_iterates(), PatchDataTest::test_quad8_patch(), test_tag_iterate_common(), test_tag_iterate_invalid(), and TestErrorHandling_4().