MOAB: Mesh Oriented datABase  (version 5.2.1)
MsqMeshEntityTest.cpp File Reference
#include "MsqMeshEntity.hpp"
#include "Vector3D.hpp"
#include "PatchData.hpp"
#include "PatchDataInstances.hpp"
#include <math.h>
#include <iostream>
#include <sstream>
#include "UnitUtil.hpp"
+ Include dependency graph for MsqMeshEntityTest.cpp:

Go to the source code of this file.

Classes

class  MsqMeshEntityTest

Functions

 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (MsqMeshEntityTest,"MsqMeshEntityTest")
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION (MsqMeshEntityTest,"Unit")

Variables

const size_t conn [] = { 0, 1, 2, 3, 4, 5, 6, 7 }
const bool fixed [] = { false, false, false, false, false, false, false, false }

Detailed Description

Unit testing of various functions in the MsqMeshEntity class.

Author:
Michael Brewer
Thomas Leurent

Definition in file MsqMeshEntityTest.cpp.


Function Documentation

CPPUNIT_TEST_SUITE_NAMED_REGISTRATION ( MsqMeshEntityTest  ,
"MsqMeshEntityTest"   
)

Variable Documentation

const size_t conn[] = { 0, 1, 2, 3, 4, 5, 6, 7 }
Examples:
ComputeTriDual.cpp, and LloydRelaxation.cpp.

Definition at line 214 of file MsqMeshEntityTest.cpp.

Referenced by moab::HalfFacetRep::add_cells_of_single_component(), add_field_value(), moab::VerdictWrapper::all_quality_measures(), moab::HalfFacetRep::another_halfedge(), moab::WriteSTL::ascii_write_triangles(), moab::EntitySource::assign_global_ids(), moab::WriteHDF5::assign_ids(), MBMesquite::RefSizeTargetCalculator::average_edge_length(), HigherOrderTest::basic_hex_test(), HigherOrderTest::basic_quad_test(), HigherOrderTest::basic_tet_test(), HigherOrderTest::basic_tri_test(), moab::WriteSTL::binary_write_triangles(), moab::GeomQueryTool::boundary_case(), moab::FBEngine::BreakTriangle2(), moab::MeshGeneration::BrickInstance(), build_cube(), build_mesh(), build_triangle_box_large(), build_triangle_box_small(), build_triangle_octahedron(), MBMesquite::ArrayMesh::build_vertex_adjacency_list(), calc_centroid(), moab::HigherOrderFactory::center_node_exist(), check_adj_ho_nodes(), check_children(), check_common_vertex(), check_handle_tag(), check_ho_element(), check_mesh_is_tet(), check_point_in_triangles(), check_quad_conn(), check_valid_connectivity(), moab::Skinner::classify_2d_boundary(), MBMesquite::MeshImplData::clear_element(), closedsurface_uref_hirec_convergence_study(), moab::OrientedBoxTreeTool::closest_to_location(), moab::closest_to_triangles(), moab::HalfFacetRep::collect_and_compare(), compare(), compare_tags(), compute_area(), compute_dual_mesh(), moab::NestedRefine::construct_hm_1D(), moab::NestedRefine::construct_hm_2D(), moab::TempestRemapper::convert_tempest_mesh_private(), moab::SpectralMeshTool::convert_to_coarse(), MBMesquite::MeshImplData::copy_mesh(), moab::OrientedBox::covariance_data_from_tris(), create_3dtri_ucd_sequences(), moab::ReadCCMIO::create_cell_from_faces(), moab::ReadIDEAS::create_elements(), create_elements_block(), create_elements_single(), MBMesquite::create_ideal_element_patch(), create_input_file(), create_lagr_mesh(), create_mesh(), create_mesh_in_memory(), create_missing_elements(), MBMesquite::create_qm_two_hex_patch(), MBMesquite::create_qm_two_pyr_patch(), MBMesquite::create_qm_two_quad_patch_with_domain(), MBMesquite::create_qm_two_tet_patch(), MBMesquite::create_qm_two_tri_patch_with_domain(), MBMesquite::create_qm_two_wdg_patch(), create_regular_mesh(), moab::Skinner::create_side(), create_simple_grid(), create_simple_mesh(), create_single_entity(), create_some_mesh(), create_structured_quad_mesh(), create_unitsq_quads(), create_unitsq_tris(), IntxUtilsCSLAM::deep_copy_set(), moab::IntxUtils::deep_copy_set_with_quads(), moab::HalfFacetRep::determine_border_vertices(), moab::HalfFacetRep::determine_incident_halfedges(), moab::HalfFacetRep::determine_incident_halffaces(), moab::HalfFacetRep::determine_incident_halfverts(), moab::HalfFacetRep::determine_sibling_halfedges(), moab::HalfFacetRep::determine_sibling_halffaces(), moab::HalfFacetRep::determine_sibling_halfverts(), DirectAccessNoHolesF90(), do_kdtree_test(), do_linear_test(), do_test_mode(), moab::GQT_IntRegCtxt::edge_node_piercing_intersect(), moab::Skinner::edge_reversed(), MBMesquite::MsqMOAB::elements_get_attached_vertices(), MBMesquite::ArrayMesh::elements_get_attached_vertices(), MBMesquite::MeshImpl::elements_get_attached_vertices(), moab::IntxUtils::enforce_convexity(), MBMesquite::AffineMapMetric::evaluate(), MBMesquite::AffineMapMetric::evaluate_with_indices(), MBMesquite::EdgeQM::evaluate_with_indices(), ConstantElementMetric::evaluate_with_indices(), TriTauMetric::evaluate_with_indices(), moab::Skinner::face_reversed(), find_coincident_edges(), find_coincident_elements(), moab::Skinner::find_match(), moab::HalfFacetRep::find_matching_halfedge(), moab::HalfFacetRep::find_matching_halfface(), moab::HalfFacetRep::find_matching_implicit_edge_in_cell(), find_side(), moab::Skinner::find_skin_noadj(), moab::Skinner::find_skin_vertices_2D(), moab::Skinner::find_skin_vertices_3D(), moab::GeomQueryTool::find_volume(), forward_order_query_element_verts(), forward_order_query_elements(), moab::WriteNCDF::gather_mesh_information(), gather_set_stats(), generate_mesh(), moab::AEntityFactory::get_adjacencies(), moab::Core::get_adjacencies(), moab::get_adjacencies_union(), MBMesquite::PatchData::get_adjacent_vertex_indices(), IdealTargetTest::get_calc_target(), moab::WriteCGNS::get_conn_table(), moab::UnstructuredElemSeq::get_connectivity(), moab::PolyElementSeq::get_connectivity(), moab::Core::get_connectivity(), moab::Core::get_coords(), moab::HalfFacetRep::get_down_adjacencies_2d(), moab::HalfFacetRep::get_down_adjacencies_edg_3d(), moab::HalfFacetRep::get_down_adjacencies_face_3d(), moab::HalfFacetRep::get_face_edges(), QualityMetricTester::get_ideal_element(), moab::NestedRefine::get_local_vid(), MBMesquite::PatchData::get_minmax_edge_length(), moab::FBEngine::get_nodes_from_edge(), moab::GeomQueryTool::get_normal(), PatchDataTest::get_quad8_mesh(), MBMesquite::PatchData::get_sample_location(), get_signed_volume(), moab::HalfFacetRep::get_up_adjacencies_2d(), moab::HalfFacetRep::get_up_adjacencies_edg_3d(), moab::HalfFacetRep::get_up_adjacencies_edg_3d_comp(), moab::HalfFacetRep::get_up_adjacencies_vert_3d(), moab::AEntityFactory::get_up_adjacency_elements(), moab::FBEngine::get_vert_edges(), moab::FBEngine::getEgVtxSense(), moab::FBEngine::getEntNrmlXYZ(), moab::IntxUtils::global_gnomonic_projection(), hex_containing_point(), iMOAB_GetBlockInfo(), iMOAB_GetElementConnectivity(), moab::WriteNCDF::initialize_exodus_file(), moab::WriteHDF5::initialize_mesh(), moab::Coupler::initialize_tree(), interface_verts(), moab::AdaptiveKDTree::intersect_children_with_elems(), moab::Intx2Mesh::intersect_meshes(), moab::Intx2Mesh::intersect_meshes_kdtree(), MBMesquite::is_side_boundary(), MBMesquite::MappingFunction2D::jacobian(), MBMesquite::MappingFunction3D::jacobian(), moab::RayIntersectSets::leaf(), smoab::detail::LinearCellConnectivity::LinearCellConnectivity(), moab::Coupler::locate_points(), MBMesquite::SlaveBoundaryVertices::loop_over_mesh(), main(), make_atomic_pillow(), make_chord_push(), make_face_shrink(), make_mesh(), make_triple_chord_push(), moab::HalfFacetRep::mark_halfedges(), TriTauMetric::matrix(), mb_adjacent_create_test(), mb_adjacent_vertex_test(), mb_bar_connectivity_test(), mb_forced_adjacencies_test(), mb_hex_connectivity_test(), mb_quad_connectivity_test(), mb_skin_adjacent_surf_patches(), mb_skin_fileset_test(), mb_skin_higher_order_faces_common(), mb_skin_higher_order_pyramids(), mb_skin_higher_order_regions_common(), mb_skin_poly_test(), mb_skin_subset_common(), mb_tet_connectivity_test(), mb_tri_connectivity_test(), measure(), moab::GeomQueryTool::measure_area(), moab::GeomQueryTool::measure_volume(), moab::AEntityFactory::merge_adjust_adjacencies(), moab::Core::merge_entities(), moab::MergeMesh::merge_higher_dimensions(), min_edge_length(), MBMesquite::PatchData::non_slave_node_set(), overlap_write_geometry(), parallel_create_mesh(), pent(), perform_lloyd_relaxation(), moab::LloydSmoother::perform_smooth(), moab::permute_this(), moab::GeomQueryTool::poly_solid_angle(), moab::IntxAreaUtils::positive_orientation(), moab::Core::print_database(), print_hex(), print_vertex_fields(), PushParMeshIntoMoab(), moab::VerdictWrapper::quality_measure(), random_order_query_element_verts(), random_order_query_elements(), random_point_in_hex(), moab::OrientedBoxTreeTool::ray_intersect_triangles(), moab::ReadNCDF::read_elements(), moab::Tqdcfr::read_elements(), MBMesquite::MeshImpl::read_exodus(), moab::ReadHDF5::read_poly(), read_sets(), moab::ParCommGraph::receive_mesh(), moab::SimplexTemplateRefiner::refine_entity(), moab::WriteUtilIface::reorder(), moab::ReorderTool::reorder_entities(), moab::NestedRefine::reorder_indices(), moab::rev_permute_this(), reverse_order_query_element_verts(), reverse_order_query_elements(), MBMesquite::MeshImplData::set_element(), MBMesquite::MeshImpl::set_skin_flags(), setup_mesh(), MBMesquite::MeshImplData::skin(), skin_tris(), moab::AdaptiveKDTree::sphere_intersect_triangles(), moab::OrientedBoxTreeTool::sphere_intersect_triangles(), moab::FBEngine::split_bedge_at_new_mesh_node(), moab::split_box(), moab::FBEngine::split_edge_at_mesh_node(), moab::FBEngine::split_quads(), moab::NestedRefine::subdivide_cells(), moab::NestedRefine::subdivide_tets(), TerminationCriterionTest::test_abs_vtx_movement_culling(), TerminationCriterionTest::test_absolute_vertex_movement_edge_length(), test_adjacencies(), MsqMeshEntityTest::test_all_nodes(), test_build_from_tri(), MsqMeshEntityTest::test_check_element_orientation(), test_closedsurface_mesh(), QualityMetricTester::test_diagonal_with_fixed_vertex(), test_edge2(), test_edge3(), MeshUtilTest::test_edge_length_distribution_types(), MeshUtilTest::test_edge_length_distribution_unique(), test_elements(), test_elements_on_several_procs(), test_file_set(), QualityMetricTest::test_fixed_vertex_list(), QualityAssessorTest::test_free_only(), TargetCalculatorTest::test_get_refmesh_Jacobian_2D(), TargetCalculatorTest::test_get_refmesh_Jacobian_3D(), test_getEntArrAdj_conn(), TMPQualityMetricTest< QMType >::test_gradient_3D(), TMPQualityMetricTest< QMType >::test_gradient_common(), QualityMetricTester::test_gradient_with_fixed_vertex(), QualityMetricTester::test_hessian_with_fixed_vertex(), HigherOrderTest::test_hex_basic(), MappingFunctionTest::test_jacobian_2d(), MappingFunctionTest::test_jacobian_3d(), MeshUtilTest::test_lambda_distribution(), MeshUtilTest::test_lambda_distribution_mixed(), test_linear_tet(), test_mesh(), test_pack_poly(), test_pack_tag_data_sparse(), test_pack_tag_handle_data(), PatchDataTest::test_patch_contents(), test_polygon(), test_pyramid(), test_pyramid13(), test_quad8(), PatchDataTest::test_quad8_patch(), test_quad9(), test_read_adjacencies(), test_read_alternate_coord_format(), test_read_handle_tag(), test_read_hexes(), test_read_int_tag(), test_read_one_set_polyhedra(), test_read_prisms(), VtkTest::test_read_quadratic(), test_read_quads(), test_read_real_tag(), test_read_set_contents(), test_read_sides(), test_read_tets(), test_read_triangles(), VtkTest::test_read_unstructured(), test_sets_fileids(), SlaveBoundaryVerticesTest::test_slaved_common(), test_sub_entity_nodes(), test_subset(), test_tet10(), test_tet4(), test_tri3(), test_tri6(), HigherOrderTest::test_tri_open_domain(), HigherOrderTest::test_tri_slac(), test_unitcircle(), test_unitsphere(), test_unitsq_quads(), test_unitsq_tris(), MsqMeshEntityTest::test_unsigned_area_common(), MsqMeshEntityTest::test_unsigned_area_poly(), PatchDataTest::test_update_slave_node_coords(), test_valid_tree(), test_var_length_handle_tag(), test_write_different_element_types(), test_write_free_nodes(), test_write_invalid_elem(), test_write_unbalanced(), MeshImplTest::test_zero_length_data(), testB(), testE(), tri_coords(), umr_perf_test(), moab::BoundBox::update(), moab::NestedRefine::update_global_ahf_1D_sub(), moab::NestedRefine::update_global_ahf_2D(), moab::NestedRefine::update_global_ahf_2D_sub(), moab::NestedRefine::update_global_ahf_3D(), MBMesquite::PatchData::update_slave_node_coordinates(), moab::NestedRefine::update_special_tags(), MBMesquite::NonSmoothDescent::validity_check(), TreeValidator::visit(), MBMesquite::MeshImpl::vtk_create_structured_elems(), MBMesquite::MeshImpl::vtk_read_polygons(), MBMesquite::MeshImpl::vtk_read_unstructured_grid(), moab::WriteCCMIO::write_cells_and_faces(), moab::WriteNCDF::write_elementblocks(), moab::WriteVtk::write_elems(), MBMesquite::MeshImpl::write_exodus(), moab::WriteSmf::write_file(), moab::WriteGmsh::write_file(), moab::WriteAns::write_file(), write_geometry(), moab::WriteNCDF::write_poly_faces(), and MBMesquite::MeshImpl::write_vtk().

const bool fixed[] = { false, false, false, false, false, false, false, false }

Definition at line 215 of file MsqMeshEntityTest.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines