MOAB: Mesh Oriented datABase  (version 5.4.1)
ArrayMeshTest.cpp File Reference
#include "Mesquite.hpp"
#include "ArrayMesh.hpp"
#include "MsqVertex.hpp"
#include "MsqError.hpp"
#include "UnitUtil.hpp"
+ Include dependency graph for ArrayMeshTest.cpp:

Go to the source code of this file.

Classes

class  ArrayMeshTest

Functions

 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (ArrayMeshTest,"ArrayMeshTest")
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (ArrayMeshTest,"Unit")

Variables

const double coords_2d [] = { 0, 2, 1, 2, 2, 2, 0, 1, 1, 1, 2, 1, 0, 0, 1, 0, 2, 0 }
const double coords_3d [] = { 0, 2, -2, 1, 2, -2, 2, 2, -2, 0, 1, -2, 1, 1, -2, 2, 1, -2, 0, 0, -2, 1, 0, -2, 2, 0, -2 }
const unsigned long conn_zero_based [] = { 3, 4, 1, 0, 4, 5, 2, 1, 6, 7, 4, 3, 7, 8, 5, 4 }
const unsigned long conn_one_based [] = { 4, 5, 2, 1, 5, 6, 3, 2, 7, 8, 5, 4, 8, 9, 6, 5 }
const int fixed [] = { 1, 1, 1, 1, 0, 1, 1, 1, 1 }
const double mixed_coords []
const unsigned long mixed_conn_zero [] = { 7, 6, 1, 0, 6, 5, 1, 2, 1, 5, 5, 4, 3, 2 }
const unsigned long mixed_conn_one [] = { 8, 7, 2, 1, 7, 6, 2, 3, 2, 6, 6, 5, 4, 3 }
const EntityTopology mixed_types [] = { QUADRILATERAL, TRIANGLE, TRIANGLE, QUADRILATERAL }
const unsigned long conn_offsets_zero [] = { 0, 4, 7, 10, 14 }

Detailed Description

Author:
Jason Kraftcheck

Definition in file ArrayMeshTest.cpp.


Function Documentation


Variable Documentation

const unsigned long conn_offsets_zero[] = { 0, 4, 7, 10, 14 }

Definition at line 226 of file ArrayMeshTest.cpp.

Referenced by ArrayMeshTest::setUp().

const unsigned long conn_one_based[] = { 4, 5, 2, 1, 5, 6, 3, 2, 7, 8, 5, 4, 8, 9, 6, 5 }

Definition at line 209 of file ArrayMeshTest.cpp.

Referenced by ArrayMeshTest::setUp().

const unsigned long conn_zero_based[] = { 3, 4, 1, 0, 4, 5, 2, 1, 6, 7, 4, 3, 7, 8, 5, 4 }

Definition at line 208 of file ArrayMeshTest.cpp.

Referenced by ArrayMeshTest::setUp().

const double coords_2d[] = { 0, 2, 1, 2, 2, 2, 0, 1, 1, 1, 2, 1, 0, 0, 1, 0, 2, 0 }
const double coords_3d[] = { 0, 2, -2, 1, 2, -2, 2, 2, -2, 0, 1, -2, 1, 1, -2, 2, 1, -2, 0, 0, -2, 1, 0, -2, 2, 0, -2 }
const int fixed[] = { 1, 1, 1, 1, 0, 1, 1, 1, 1 }
Examples:
LaplacianSmoother.cpp, and LloydRelaxation.cpp.

Definition at line 211 of file ArrayMeshTest.cpp.

Referenced by HigherOrderTest::basic_hex_test(), HigherOrderTest::basic_quad_test(), HigherOrderTest::basic_tet_test(), HigherOrderTest::basic_tri_test(), AveragingQMTest::check_average_gradients(), check_global_patch_slaved(), AveragingQMTest::check_hessian_diagonal_fails(), AveragingQMTest::check_hessian_fails(), AveragingQMTest::check_pmean_hessian(), AveragingQMTest::check_pmean_hessian_diagonals(), check_slaved_coords(), MBMesquite::VertexMover::commit_jacobi_coords(), MBMesquite::create_ideal_element_patch(), MBMesquite::create_six_quads_patch_with_domain(), MBMesquite::create_twelve_hex_patch(), MBMesquite::PlanarDomain::fit_vertices(), moab::LloydSmoother::fixed_tag(), MBMesquite::DomainUtil::get_fixed_vertices(), PatchDataTest::get_higher_order_vertices(), QualityMetricTester::get_ideal_element(), QualityMetricTester::get_ideal_hexes(), QualityMetricTester::get_ideal_quads(), QualityMetricTester::get_ideal_tris(), get_imesh_mesh(), MBMesquite::VertexMover::get_jacobi_coord_tag(), PatchDataTest::get_quad8_mesh(), init_pd(), moab::LloydSmoother::initialize(), TCTFauxOptimizer::initialize(), MBMesquite::MeshTransform::loop_over_mesh(), MBMesquite::SlaveBoundaryVertices::loop_over_mesh(), main(), print_vertex_fields(), TQualityMetricTest::regression_inverse_mean_ratio_hess(), MBMesquite::MeshImplData::reset_vertex(), run_local_smoother(), QualityMetricTest::setUp(), ArrayMeshTest::setUp(), MeshImplTest::skin_mesh_2D(), MeshImplTest::skin_mesh_3D(), MeshImplTest::skin_mesh_higher_order(), MeshImplTest::skin_mesh_mixed(), TerminationCriterionTest::test_abs_vtx_movement_culling(), TerminationCriterionTest::test_absolute_vertex_movement_edge_length(), MsqMeshEntityTest::test_all_nodes(), MeshUtilTest::test_edge_length_distribution_types(), MeshUtilTest::test_edge_length_distribution_unique(), SphericalDomainTest::test_fit_vertices(), QualityMetricTest::test_fixed_vertex_list(), QualityAssessorTest::test_free_only(), TargetCalculatorTest::test_get_refmesh_Jacobian_2D(), TargetCalculatorTest::test_get_refmesh_Jacobian_3D(), HigherOrderTest::test_hex_basic(), MappingFunctionTest::test_jacobian_2d(), MappingFunctionTest::test_jacobian_3d(), MeshUtilTest::test_lambda_distribution(), MeshUtilTest::test_lambda_distribution_mixed(), PatchDataTest::test_patch_contents(), PatchDataTest::test_quad8_patch(), VtkTest::test_read_fixed_attrib(), SlaveBoundaryVerticesTest::test_slaved_common(), HigherOrderTest::test_tri_open_domain(), HigherOrderTest::test_tri_slac(), MsqMeshEntityTest::test_unsigned_area_common(), MsqMeshEntityTest::test_unsigned_area_poly(), PatchDataTest::test_update_slave_node_coords(), MeshInterfaceTest::test_vertex_is_fixed(), PatchSetTest::test_vertex_patches(), MeshImplTest::test_zero_length_data(), iMeshTest::testVertexFlag(), MBMesquite::MeshWriter::write_eps_triangle(), and MBMesquite::MeshImpl::write_exodus().

const unsigned long mixed_conn_one[] = { 8, 7, 2, 1, 7, 6, 2, 3, 2, 6, 6, 5, 4, 3 }

Definition at line 224 of file ArrayMeshTest.cpp.

Referenced by ArrayMeshTest::setUp().

const unsigned long mixed_conn_zero[] = { 7, 6, 1, 0, 6, 5, 1, 2, 1, 5, 5, 4, 3, 2 }

Definition at line 223 of file ArrayMeshTest.cpp.

Referenced by ArrayMeshTest::setUp().

const double mixed_coords[]
Initial value:
 { 0.0, 1.0, 0.0, 1.0, 1.0, 0.0, 2.0, 1.0, 0.0, 3.0, 1.0, 0.0,
                                3.0, 0.0, 0.0, 2.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0 }

Definition at line 221 of file ArrayMeshTest.cpp.

Referenced by ArrayMeshTest::setUp().

const EntityTopology mixed_types[] = { QUADRILATERAL, TRIANGLE, TRIANGLE, QUADRILATERAL }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines