Searched refs:arr1 (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_is.py | 95 arr1 = numpy.asarray(self.iset) 99 self.assertTrue((arr1 == arr2).all()) 102 del arr1
|
| H A D | test_vec.py | 142 arr1 = self.vec.getArray().copy() 143 self.vec.setArray(arr1) 144 arr1 = self.vec.getArray().copy() 146 self.assertTrue((arr1 == arr2).all()) 151 self.assertTrue((arr1 == arr3).all())
|
| /petsc/src/sys/utils/ |
| H A D | sortso.c | 1200 PetscErrorCode PetscIntSortSemiOrderedWithArray(PetscInt n, PetscInt arr1[], PetscInt arr2[]) in PetscIntSortSemiOrderedWithArray() argument 1204 PetscAssertPointer(arr1, 2); 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 1275 PetscAssertPointer(arr1, 2); 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 1344 PetscAssertPointer(arr1, 2); in PetscRealSortSemiOrderedWithArrayInt() 1347 …PetscCall(PetscTimSortWithArray(n, arr1, sizeof(PetscReal), arr2, sizeof(PetscInt), Compare_PetscR… in PetscRealSortSemiOrderedWithArrayInt()
|