Home
last modified time | relevance | path

Searched refs:vertex_by_index (Results 1 – 25 of 27) sorted by relevance

12

/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/QualityMetric/TMP/
H A DAffineMapMetric.cpp123 c[0] = pd.vertex_by_index( conn[adj[0]] ) - pd.vertex_by_index( conn[s.number] ); in evaluate()
124 c[1] = pd.vertex_by_index( conn[adj[1]] ) - pd.vertex_by_index( conn[s.number] ); in evaluate()
125 c[2] = pd.vertex_by_index( conn[adj[2]] ) - pd.vertex_by_index( conn[s.number] ); in evaluate()
141 c[0] = pd.vertex_by_index( conn[adj[0]] ) - pd.vertex_by_index( conn[s.number] ); in evaluate()
142 c[1] = pd.vertex_by_index( conn[adj[1]] ) - pd.vertex_by_index( conn[s.number] ); in evaluate()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/QualityMetric/Volume/
H A DEdgeLengthMetric.cpp62 Vector3D diff = pd.vertex_by_index( svi ) - pd.vertex_by_index( evi ); in evaluate()
85 Vector3D diff = pd.vertex_by_index( svi ) - pd.vertex_by_index( evi ); in evaluate_with_gradient()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/test/mesquite/unit/
H A DMsqFreeVertexIndexIteratorTest.cpp114 CPPUNIT_ASSERT(pd.vertex_by_index(indices[0]).is_free_vertex()); in test_hard_fixed_flags()
115 CPPUNIT_ASSERT(pd.vertex_by_index(indices[1]).is_free_vertex()); in test_hard_fixed_flags()
133 CPPUNIT_ASSERT(pd.vertex_by_index(indices[0]).is_free_vertex()); in test_soft_fixed_flags()
H A DQualityMetricTest.cpp130 value = pd.vertex_by_index( vtx_idx )[0]; in evaluate()
135 value = pd.vertex_by_index( vtx_idx )[0]; in evaluate_with_indices()
182 value = pd.vertex_by_index( vtx_idx )[1]; in evaluate()
188 value = pd.vertex_by_index( vtx_idx )[1]; in evaluate_with_indices()
214 M.set_row( 0, pd.vertex_by_index( conn[0] ).to_array() ); in matrix()
215 M.set_row( 1, pd.vertex_by_index( conn[1] ).to_array() ); in matrix()
216 M.set_row( 2, pd.vertex_by_index( conn[2] ).to_array() ); in matrix()
457 const double expected_y = 2*tri_pd.vertex_by_index(VERTEX)[1]; in test_gradient_parabolic()
H A DPatchDataTest.cpp402 CPPUNIT_ASSERT_VECTORS_EQUAL( pd.vertex_by_index(idx), sub.vertex_by_index(i), 1e-12 ); in check_sub_patch()
571 MsqVertex vtx = pd.vertex_by_index(i); in test_patch_contents()
582 CPPUNIT_ASSERT( !pd.vertex_by_index(i).is_free_vertex() ); in test_patch_contents()
586 CPPUNIT_ASSERT( pd.vertex_by_index(i).is_free_vertex() ); in test_patch_contents()
664 vtx_coords[i] = pd.vertex_by_index(conn[i]); in test_update_slave_node_coords()
824 const MsqVertex& vtx = pd.vertex_by_index(i); in test_quad8_patch()
840 const MsqVertex& vtx = pd.vertex_by_index(i); in test_quad8_patch()
1042 bool act = pd.vertex_by_index(i).is_flag_set(MsqVertex::MSQ_DEPENDENT); in check_higher_order_vertices_slaved()
H A DTerminationCriterionTest.cpp572 if (fabs(pd.vertex_by_index(i)[d]) > maxcoord) in test_vertex_bound()
573 maxcoord = fabs(pd.vertex_by_index(i)[d]); in test_vertex_bound()
586 Vector3D pos = pd.vertex_by_index(idx); in test_vertex_bound()
610 Vector3D saved_coords = pd.vertex_by_index(vtx2); in test_untangled_mesh()
611 Vector3D opposite_coords = pd.vertex_by_index(vtx1); in test_untangled_mesh()
H A DMappingFunctionTest.cpp108 J_exp += MsqVector<3>( pd.vertex_by_index( idx ).to_array() ) * transpose( coeff_exp[j] ); in test_jacobian_2d()
158 J_exp += MsqVector<3>( pd.vertex_by_index( idx ).to_array() ) * transpose( coeff_exp[j] ); in test_jacobian_3d()
H A DTMPQualityMetricTest.hpp572 CPPUNIT_ASSERT_DOUBLES_EQUAL( pd.vertex_by_index(i)[2], 0.0, 1e-6 ); in get_nonideal_element()
628 Vector3D orig = pd.vertex_by_index(i); in test_evaluate_2D()
643 Vector3D orig = pd.vertex_by_index(i); in test_evaluate_2D()
681 Vector3D orig = pd.vertex_by_index(i); in test_evaluate_surface()
696 Vector3D orig = pd.vertex_by_index(i); in test_evaluate_surface()
738 Vector3D orig = pd.vertex_by_index(i); in test_evaluate_3D()
H A DMsqMeshEntityTest.cpp460 const Vector3D old_pos = pd.vertex_by_index( conn[i] ); in test_check_element_orientation()
464 new_pos += 3*pd.vertex_by_index( conn[0] ); in test_check_element_orientation()
H A DPMeanPTemplateTest.cpp287 const MsqVertex& vtx = pd.vertex_by_index( vtx_idx ); in evaluate()
305 const MsqVertex& vtx = pd.vertex_by_index( vtx_idx ); in evaluate_with_indices()
H A DNumericalOFTest.cpp134 const MsqVertex& v = pd.vertex_by_index(i); in evaluate()
H A DObjectiveFunctionTests.cpp548 Vector3D ik = pd.vertex_by_index(i); in compare_numerical_hessian()
549 Vector3D im = pd.vertex_by_index(j); in compare_numerical_hessian()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/Misc/
H A DEdgeIterator.hpp81 { return patchPtr->vertex_by_index( vertIdx ); } in start()
84 { return patchPtr->vertex_by_index( adjIter->otherVertex ); } in end()
88 &patchPtr->vertex_by_index( adjIter->midVertex ) : 0; } in mid()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/QualityMetric/
H A DQualityMetric.cpp88 Vector3D diff = pd.vertex_by_index(*iter); in get_delta_C()
89 diff -= pd.vertex_by_index(*iter2); in get_delta_C()
130 const Vector3D pos = pd.vertex_by_index(indices[v]); in evaluate_with_gradient()
213 const Vector3D pos = pd.vertex_by_index(indices[v]); in evaluate_with_Hessian()
H A DVertexQM.cpp64 if (!(pd.vertex_by_index(i).get_flags() & MsqVertex::MSQ_PATCH_FIXED)) in get_vertex_evaluations()
H A DEdgeQM.cpp86 if (pd.vertex_by_index(i).is_flag_set( MsqVertex::MSQ_PATCH_FIXED )) in get_edge_evaluations()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/Mesh/
H A DMsqFreeVertexIndexIterator.hpp90 if (!iterOriginator.vertex_by_index(iterCurrentIndex).is_flag_set(MsqVertex::MSQ_CULLED)) in next()
H A DPatchData.cpp132 const double len_sqr = (vertex_by_index(conn[edge[0]]) - in get_minmax_edge_length()
133 vertex_by_index(conn[edge[1]])).length_squared(); in get_minmax_edge_length()
872 vert = coeff[0] * vertex_by_index( conn[index[0]] ); in update_slave_node_coordinates()
874 vert += coeff[j] * vertex_by_index( conn[index[j]] ); in update_slave_node_coordinates()
883 if (vertex_by_index(i).is_flag_set(MsqVertex::MSQ_MARK)) { in update_slave_node_coordinates()
963 vert = coeff[0] * vertex_by_index( conn[index[0]] ); in update_slave_node_coordinates()
965 vert += coeff[j] * vertex_by_index( conn[index[j]] ); in update_slave_node_coordinates()
1308 const MsqVertex& v1 = vertex_by_index( elem.get_vertex_index_array()[edge[0]] ); in get_domain_normal_at_mid_edge()
1309 const MsqVertex& v2 = vertex_by_index( elem.get_vertex_index_array()[edge[1]] ); in get_domain_normal_at_mid_edge()
2007 result = coeff[0] * vertex_by_index( conn[index[0]] ); in get_sample_location()
[all …]
H A DMsqMeshEntity.cpp409 normals[i] = (pd.vertex_by_index(next_idx) - pd.vertex_by_index(this_idx)) in compute_corner_normals()
410 * (pd.vertex_by_index(prev_idx) - pd.vertex_by_index(this_idx)); in compute_corner_normals()
H A DMeshWriter.cpp140 file << pd.vertex_by_index(i)[0] << ' ' in write_vtk()
141 << pd.vertex_by_index(i)[1] << ' ' in write_vtk()
142 << pd.vertex_by_index(i)[2] << '\n'; in write_vtk()
186 if (pd.vertex_by_index(i).get_flags() & MsqVertex::MSQ_CULLED) in write_vtk()
194 if (pd.vertex_by_index(i).is_free_vertex()) in write_vtk()
H A DPatchData.hpp269 MESQUITE_EXPORT const MsqVertex& vertex_by_index(size_t index) const;
878 inline const MsqVertex& PatchData::vertex_by_index( size_t index ) const in vertex_by_index() function in MBMesquite::PatchData
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/ObjectiveFunction/
H A DObjectiveFunction.cpp71 tmp_var = pd.vertex_by_index(vertex_index)[dim]; in get_eps()
76 delta = pd.vertex_by_index(vertex_index); in get_eps()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/MappingFunction/
H A DMappingFunction.cpp155 MsqMatrix<3,1> coords( pd.vertex_by_index( i ).to_array() ); in jacobian()
218 MsqMatrix<3,1> coords( pd.vertex_by_index( i ).to_array() ); in jacobian()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/tools/mesquite/
H A Drandomize.cpp72 assert( pd.num_free_vertices() == 1 && pd.vertex_by_index(0).is_free_vertex() ); in optimize_vertex_positions()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/QualityImprover/OptSolvers/
H A DNonGradient.cpp174 Vector3D originalVec = pd.vertex_by_index(vertexIndex); in evaluate()

12