Searched refs:colsg (Results 1 – 1 of 1) sorted by relevance
335 PetscInt *indexg, *cols, *colsg; in ComputeSubdomainMatrix() local343 PetscCall(PetscMalloc1(i, &colsg)); in ComputeSubdomainMatrix()428 for (k = 0; k < j; k++) colsg[k] = indexg[cols[k]]; in ComputeSubdomainMatrix()429 PetscCall(MatSetValues(temp_local_mat, 1, &indexg[i], j, colsg, vals, ADD_VALUES)); in ComputeSubdomainMatrix()436 PetscCall(PetscFree(colsg)); in ComputeSubdomainMatrix()