Home
last modified time | relevance | path

Searched refs:arr2 (Results 1 – 3 of 3) sorted by relevance

/petsc/src/binding/petsc4py/test/
H A Dtest_is.py97 arr2 = self.iset.array
99 self.assertTrue((arr1 == arr2).all())
100 del arr2
H A Dtest_vec.py145 arr2 = self.vec.getArray().copy()
146 self.assertTrue((arr1 == arr2).all())
/petsc/src/sys/utils/
H A Dsortso.c1200 PetscErrorCode PetscIntSortSemiOrderedWithArray(PetscInt n, PetscInt arr1[], PetscInt arr2[]) in PetscIntSortSemiOrderedWithArray() argument
1205 PetscAssertPointer(arr2, 3); in PetscIntSortSemiOrderedWithArray()
1207 …PetscCall(PetscTimSortWithArray(n, arr1, sizeof(PetscInt), arr2, sizeof(PetscInt), Compare_PetscIn… in PetscIntSortSemiOrderedWithArray()
1271 PetscErrorCode PetscMPIIntSortSemiOrderedWithArray(PetscInt n, PetscMPIInt arr1[], PetscMPIInt arr2 in PetscMPIIntSortSemiOrderedWithArray() argument
1276 PetscAssertPointer(arr2, 3); in PetscMPIIntSortSemiOrderedWithArray()
1278 …PetscCall(PetscTimSortWithArray(n, arr1, sizeof(PetscMPIInt), arr2, sizeof(PetscMPIInt), Compare_P… in PetscMPIIntSortSemiOrderedWithArray()
1340 PetscErrorCode PetscRealSortSemiOrderedWithArrayInt(PetscInt n, PetscReal arr1[], PetscInt arr2[]) in PetscRealSortSemiOrderedWithArrayInt() argument
1345 PetscAssertPointer(arr2, 3); in PetscRealSortSemiOrderedWithArrayInt()
1347 …PetscCall(PetscTimSortWithArray(n, arr1, sizeof(PetscReal), arr2, sizeof(PetscInt), Compare_PetscR… in PetscRealSortSemiOrderedWithArrayInt()