MOAB: Mesh Oriented datABase  (version 5.2.1)
PatchDataTest.cpp File Reference
#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>
+ Include dependency graph for PatchDataTest.cpp:

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]

Detailed Description

Unit testing of various functions in the PatchData class.

Definition in file PatchDataTest.cpp.


Function Documentation


Variable Documentation

const bool fixed[NUM_VTX]
Initial value:
 { 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 720 of file PatchDataTest.cpp.

const size_t input_conn[8 *NUM_ELEM]
Initial value:
 { 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 723 of file PatchDataTest.cpp.

Referenced by PatchDataTest::get_quad8_mesh(), and PatchDataTest::test_quad8_patch().

const double input_coords[3 *NUM_VTX]
Initial value:
 { -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 712 of file PatchDataTest.cpp.

Referenced by PatchDataTest::get_quad8_mesh(), and PatchDataTest::test_quad8_patch().

const int NUM_CORNER = 16

Definition at line 711 of file PatchDataTest.cpp.

Referenced by PatchDataTest::test_quad8_patch().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines