Searched refs:localoffsets (Results 1 – 1 of 1) sorted by relevance
17 PetscInt *indices_ov_rd, nroots, nleaves, *localoffsets, *indices_recv; in MatIncreaseOverlapSplit_Single() local110 PetscCall(PetscCalloc1(size + 1, &localoffsets)); in MatIncreaseOverlapSplit_Single()111 for (PetscMPIInt k = 0; k < size; k++) localoffsets[k + 1] = localoffsets[k] + localsizes_sc[k]; in MatIncreaseOverlapSplit_Single()112 nleaves = localoffsets[size]; in MatIncreaseOverlapSplit_Single()113 PetscCall(PetscArrayzero(localoffsets, size + 1)); in MatIncreaseOverlapSplit_Single()118 remote[i].index = localoffsets[sources_sc_rd[i]]++; in MatIncreaseOverlapSplit_Single()120 PetscCall(PetscFree(localoffsets)); in MatIncreaseOverlapSplit_Single()