Home
last modified time | relevance | path

Searched refs:num_adj (Results 1 – 25 of 28) sorted by path

12

/dports/cad/cura-engine/CuraEngine-fadb5d6b/include/stb/
H A Dstb_connected_components.h415 unsigned char num_adj[STBCC__MAX_CLUMPS_PER_CLUSTER] = { 0 }; in stbcc__build_all_connections_for_cluster() local
469 ++num_adj[src]; in stbcc__build_all_connections_for_cluster()
500 int alloc = num_adj[i]+extra; in stbcc__build_all_connections_for_cluster()
/dports/devel/stb/stb-f54acd4/
H A Dstb_connected_components.h415 unsigned char num_adj[STBCC__MAX_CLUMPS_PER_CLUSTER] = { 0 }; in stbcc__build_all_connections_for_cluster() local
469 ++num_adj[src]; in stbcc__build_all_connections_for_cluster()
500 int alloc = num_adj[i]+extra; in stbcc__build_all_connections_for_cluster()
/dports/games/gnugo/gnugo-3.8/doc/
H A Dutils.texi323 @item @code{void superstring_chainlinks(int str, int *num_adj, int adjs[MAXCHAIN], int liberty_cap)}
331 @item @code{void proper_superstring_chainlinks(int str, int *num_adj, int adjs[MAXCHAIN], int liber…
/dports/games/gnugo/gnugo-3.8/engine/
H A Dliberty.h459 void superstring_chainlinks(int str, int *num_adj, int adj[MAXCHAIN],
461 void proper_superstring_chainlinks(int str, int *num_adj,
H A Dreading.c1031 int num_adj; in attack_threats() local
1085 num_adj = chainlinks(str, adjs); in attack_threats()
1086 for (k = 0; k < num_adj; k++) { in attack_threats()
H A Dutils.c1255 int num_adj; in detect_tactical_blunder() local
1257 for (k = 0; k < num_adj; k++) { in detect_tactical_blunder()
1667 if (num_adj) in do_find_superstring()
1668 *num_adj = 0; in do_find_superstring()
1677 num_adj, adjs, liberty_cap, in do_find_superstring()
1729 num_adj, adjs, liberty_cap, in do_find_superstring()
1735 num_adj, adjs, liberty_cap, in do_find_superstring()
1810 num_adj, adjs, liberty_cap, in do_find_superstring()
1887 gg_assert(num_adj); in superstring_add_string()
1896 adjs[*num_adj] = my_adjs[k]; in superstring_add_string()
[all …]
H A Dvalue_moves.c845 int num_adj, adjs[MAXCHAIN]; in induce_secondary_move_reasons() local
877 for (i = 0; i < num_adj; i++) { in induce_secondary_move_reasons()
1175 int num_adj, adjs[MAXCHAIN]; in examine_move_safety() local
1559 int num_adj; in adjusted_worm_attack_value() local
1567 num_adj = chainlinks(ww, adjs); in adjusted_worm_attack_value()
1568 for (s = 0; s < num_adj; s++) { in adjusted_worm_attack_value()
1981 int num_adj; in estimate_territorial_value() local
1988 num_adj = 0; in estimate_territorial_value()
1990 num_adj = chainlinks(aa, adjs); in estimate_territorial_value()
2099 for (s = 0; s < num_adj; s++) { in estimate_territorial_value()
[all …]
H A Dworm.c899 num_adj = chainlinks(str, adjs); in find_worm_threats()
900 for (k = 0; k < num_adj; k++) { in find_worm_threats()
/dports/graphics/blender/blender-2.91.0/extern/quadriflow/src/
H A DOptimizer.cu116 …int* phase, int num_phases, glm::dvec3* N, glm::dvec3* Q, Link* adj, int* adjOffset, int num_adj) { in cudaUpdateOrientation() argument
201 …num_phases, glm::dvec3* N, glm::dvec3* Q, Link* adj, int* adjOffset, int num_adj, glm::dvec3* V, g… in cudaUpdatePosition() argument
257 …int* phase, int num_phases, glm::dvec3* N, glm::dvec3* Q, Link* adj, int* adjOffset, int num_adj) { in UpdateOrientation() argument
258 …ientation << <(num_phases + 255) / 256, 256 >> >(phase, num_phases, N, Q, adj, adjOffset, num_adj); in UpdateOrientation()
273 …num_phases, glm::dvec3* N, glm::dvec3* Q, Link* adj, int* adjOffset, int num_adj, glm::dvec3* V, g… in UpdatePosition() argument
274 …<(num_phases + 255) / 256, 256 >> >(phase, num_phases, N, Q, adj, adjOffset, num_adj, V, O, scale); in UpdatePosition()
H A Doptimizer.hpp40 int* adjOffset, int num_adj);
47 int* adjOffset, int num_adj, glm::dvec3* V, glm::dvec3* O,
/dports/graphics/gimp-app/gimp-2.10.30/app/display/
H A Dgimpdisplayshell-scale-dialog.c51 GtkAdjustment *num_adj; member
167 data->num_adj = (GtkAdjustment *) in gimp_display_shell_scale_dialog()
169 spin = gimp_spin_button_new (data->num_adj, 1.0, 0); in gimp_display_shell_scale_dialog()
208 g_signal_connect (data->num_adj, "value-changed", in gimp_display_shell_scale_dialog()
259 g_signal_handlers_block_by_func (dialog->num_adj, in update_zoom_values()
273 gtk_adjustment_set_value (dialog->num_adj, num); in update_zoom_values()
278 scale = (gtk_adjustment_get_value (dialog->num_adj) / in update_zoom_values()
287 g_signal_handlers_unblock_by_func (dialog->num_adj, in update_zoom_values()
/dports/math/conauto/conauto-2.03/src/
H A Drefinements.c41 sp->num_adj[vertices[v]] = 0; \
43 sp->num_adj[vertices[v]] += UINT64_C(1) << ( g->adj[vertices[pv]][vertices[v]] << 4 ); \
84 sort_cell ( size, target_vert, sp->num_adj ); in set_refinement()
85 adeg = sp->num_adj[target_vert[0]]; in set_refinement()
92 if ( adeg != sp->num_adj[target_vert[v]] ) in set_refinement()
95 adeg = sp->num_adj[target_vert[v]]; in set_refinement()
211 sort_cell ( size, target_vert, sp->num_adj ); in set_ref_compat()
218 hash_vector[hi++] = (uint16_t)(sp->num_adj[target_vert[v]] + 9173); in set_ref_compat()
219 … hash_vector[hi++] = (uint16_t)( (sp->num_adj[target_vert[v]] >> 16) + 9173); in set_ref_compat()
220 … hash_vector[hi++] = (uint16_t)( (sp->num_adj[target_vert[v]] >> 32) + 9173); in set_ref_compat()
[all …]
H A Dseqpart.c293 free ( sp->num_adj ); in free_seqpart()
305 sp->num_adj = malloc ( size * sizeof ( uint64_t ) ); in allocate_seqpart()
H A Dseqpart.h66 uint64_t *num_adj; member
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/itaps/imesh/
H A DiMeshP_MOAB.cpp1106 int num_adj = 0; in iMeshP_getAdjEntities() local
1114 num_adj += tmp_storage.size(); in iMeshP_getAdjEntities()
1119 num_adj += num_conn; in iMeshP_getAdjEntities()
1124 ALLOC_CHECK_ARRAY( adj_entity_handles, num_adj ); in iMeshP_getAdjEntities()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/itaps/mesquite/
H A DMsqIMesh.cpp528 int ierr, num_adj = 0, num_offset; in get_adjacent_entities() local
553 &ptr, &junk1, &num_adj, in get_adjacent_entities()
558 target.resize( num_adj ); in get_adjacent_entities()
563 if (!have_adj && num_adj && (unsigned)num_adj > target.capacity()) in get_adjacent_entities()
565 target.resize( num_adj ); in get_adjacent_entities()
570 &ptr, &junk1, &num_adj, in get_adjacent_entities()
584 &mArray, &junk1, &num_adj, in get_adjacent_entities()
592 target.resize( num_adj ); in get_adjacent_entities()
593 std::copy( mArray, mArray + num_adj, reinterpret_cast<iBase_EntityHandle*>(arrptr(target)) ); in get_adjacent_entities()
606 offsets[num_offset++] = num_adj; in get_adjacent_entities()
H A DMsqMOAB.cpp471 int num_adj = 0, num_offset = 0; in get_adjacent_entities() local
544 num_adj = iadjoff; in get_adjacent_entities()
549 if ( !have_adj && num_adj && ( unsigned ) num_adj > target.capacity() ) in get_adjacent_entities()
551 target.resize ( num_adj ); in get_adjacent_entities()
635 num_adj = mArray.size(); in get_adjacent_entities()
636 target.resize ( num_adj ); in get_adjacent_entities()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/
H A DAEntityFactory.cpp155 int num_adj; in get_associated_meshsets() local
156 result = get_adjacencies( source_entity, adj_vec, num_adj ); in get_associated_meshsets()
164 std::lower_bound(adj_vec, adj_vec+num_adj, CREATE_HANDLE(dim_pair.first, MB_START_ID, dum)); in get_associated_meshsets()
166 std::lower_bound(start_ent, adj_vec+num_adj, CREATE_HANDLE(dim_pair.second, MB_END_ID, dum)); in get_associated_meshsets()
202 int num_adj; in get_element() local
203 result = get_adjacencies( vertex_list[0], adj_vec, num_adj ); in get_element()
214 i_adj = std::lower_bound(adj_vec, adj_vec+num_adj, CREATE_HANDLE(target_type, MB_START_ID, dum)); in get_element()
215 end_adj = std::lower_bound(i_adj, adj_vec+num_adj, CREATE_HANDLE(target_type, MB_END_ID, dum)); in get_element()
H A DWriteUtil.cpp708 int num_adj, id; in get_adjacencies() local
711 rval = mMB->a_entity_factory()->get_adjacencies(entity, adj_array, num_adj); in get_adjacencies()
718 adj.resize(num_adj); // Pre-allocate space in get_adjacencies()
721 const EntityHandle* const end = adj_array + num_adj; in get_adjacencies()
736 int& num_adj) in get_adjacencies() argument
738 return mMB->a_entity_factory()->get_adjacencies(entity, adj_array, num_adj); in get_adjacencies()
H A DWriteUtil.hpp248 int& num_adj);
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/io/
H A DWriteHDF5.cpp1670 int num_adj; in get_adjacencies() local
1671 ErrorCode rval = writeUtil->get_adjacencies(entity, adj_array, num_adj); in get_adjacencies()
1676 adj.resize(num_adj); in get_adjacencies()
1677 for (int i = 0; i < num_adj; ++i) in get_adjacencies()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/Mesh/
H A DMsqMeshEntity.cpp742 unsigned num_adj; in check_element_orientation_corners() local
746 adj_idx = TopologyInfo::adjacent_vertices( mType, j, num_adj ); in check_element_orientation_corners()
747 if (3 != num_adj) in check_element_orientation_corners()
H A DPatchData.cpp635 unsigned num_adj, i; in get_adjacent_vertex_indices() local
650 adj = TopologyInfo::side_vertices( type, dim, id, num_adj ); in get_adjacent_vertex_indices()
657 num_adj = 2; // always 2 for a polygon in get_adjacent_vertex_indices()
661 for (i = 0; i < num_adj; ++i) in get_adjacent_vertex_indices()
673 adj = TopologyInfo::adjacent_vertices( topo, conn_idx, num_adj ); in get_adjacent_vertex_indices()
674 for (i = 0; i < num_adj; ++i) in get_adjacent_vertex_indices()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/QualityMetric/
H A DAveragingQM.cpp61 unsigned i, j, num_adj; in average_corner_gradients() local
74 adj_idx = TopologyInfo::adjacent_vertices( type, i, num_adj ); in average_corner_gradients()
75 rev_idx = TopologyInfo::reverse_vertex_adjacency_offsets( type, i, num_adj ); in average_corner_gradients()
80 for (j = 0; j < num_adj; ++j) in average_corner_gradients()
/dports/math/moab/fathomteam-moab-7bde9dfb84a8/src/mesquite/QualityMetric/Shape/
H A DConditionNumberQualityMetric.cpp160 unsigned num_adj; in evaluate() local
165 adj_idx = TopologyInfo::adjacent_vertices( type, j, num_adj ); in evaluate()
166 assert( num_adj == 3 ); in evaluate()
183 unsigned num_adj; in evaluate() local
188 adj_idx = TopologyInfo::adjacent_vertices( type, j, num_adj ); in evaluate()
189 assert( num_adj == 3 ); in evaluate()

12