Home
last modified time | relevance | path

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

/petsc/src/dm/dt/tests/
H A Dex4.c10 …PetscInt nFunc, *ids, *idsCopy, *idsCopy2, i, closureSize, *closure = NULL, offset, de… in CheckSymmetry() local
35 …PetscCall(PetscMalloc6(nFunc, &ids, nFunc, &idsCopy, nFunc, &idsCopy2, nFunc * dim, &vals, nFunc *… in CheckSymmetry()
36 for (i = 0; i < nFunc; i++) ids[i] = idsCopy2[i] = i; in CheckSymmetry()
96 idsCopy2[offset + k] = idsCopy[kLocal]; in CheckSymmetry()
100 …PetscCheck(idsCopy2[k] == ids[k], PETSC_COMM_SELF, PETSC_ERR_PLIB, "Symmetry failure: %" PetscInt_… in CheckSymmetry()
109 PetscCall(PetscFree6(ids, idsCopy, idsCopy2, vals, valsCopy, valsCopy2)); in CheckSymmetry()