Home
last modified time | relevance | path

Searched refs:range_size (Results 1 – 2 of 2) sorted by relevance

/petsc/src/vec/is/utils/
H A Dkdtree.c114 PetscCount num_coords = tree->num_coords, range_size = end - start, location; in PetscKDTreeVerifySortedIndices() local
118 PetscCall(PetscArraycpy(temp, &sorted_indices[0 * num_coords + start], range_size)); in PetscKDTreeVerifySortedIndices()
119 PetscCall(PetscSortCount(range_size, temp)); in PetscKDTreeVerifySortedIndices()
120 PetscCall(PetscSortedCheckDupsCount(range_size, temp, &has_duplicates)); in PetscKDTreeVerifySortedIndices()
124 PetscCall(PetscFindCount(sorted_indices[d * num_coords + i], range_size, temp, &location)); in PetscKDTreeVerifySortedIndices()
/petsc/src/sys/tests/
H A Dex64.cxx392 const auto range_size = std::distance(range_begin, range.second); in test_find() local
394 …MapCheck(map, range_size == 1, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Map equal_range() returned a rang… in test_find()