Lines Matching refs:numRowIndices
2143 PetscInt numRowIndices = 0; in DMPlexComputeInterpolatorTree() local
2161 numRowIndices += clDof; in DMPlexComputeInterpolatorTree()
2172 …PetscCall(DMPlexAnchorsModifyMat(coarse, localCoarse, closureSize, numRowIndices, closure, NULL, N… in DMPlexComputeInterpolatorTree()
2175 numColIndices = numRowIndices; in DMPlexComputeInterpolatorTree()
2187 matSize = numRowIndices * numColIndices; in DMPlexComputeInterpolatorTree()
2236 PetscInt numRowIndices = 0, numColIndices, matSize, dof; in DMPlexComputeInterpolatorTree() local
2286 numRowIndices += clDof; in DMPlexComputeInterpolatorTree()
2291 PetscCall(DMGetWorkArray(coarse, numRowIndices * numRowIndices, MPIU_SCALAR, &pMatIn)); in DMPlexComputeInterpolatorTree()
2292 for (i = 0; i < numRowIndices; i++) { /* initialize to the identity */ in DMPlexComputeInterpolatorTree()
2293 for (j = 0; j < numRowIndices; j++) pMatIn[i * numRowIndices + j] = (i == j) ? 1. : 0.; in DMPlexComputeInterpolatorTree()
2318 …PetscCall(DMPlexAnchorsModifyMat(coarse, localCoarse, closureSize, numRowIndices, closure, perms, … in DMPlexComputeInterpolatorTree()
2328 for (i = 0; i < numRowIndices * numColIndices; i++) pMat[i] = pMatModified[i]; in DMPlexComputeInterpolatorTree()
2337 … PetscCall(DMRestoreWorkArray(coarse, numRowIndices * numColIndices, MPIU_SCALAR, &pMatModified)); in DMPlexComputeInterpolatorTree()
2339 … PetscCall(DMRestoreWorkArray(coarse, numRowIndices * numColIndices, MPIU_SCALAR, &pMatIn)); in DMPlexComputeInterpolatorTree()
2369 numRowIndices = dof; in DMPlexComputeInterpolatorTree()
2370 PetscCall(DMGetWorkArray(coarse, numRowIndices, MPIU_INT, &rowIndices)); in DMPlexComputeInterpolatorTree()
2426 PetscCall(MatGetValues(cMat, numRowIndices, rowIndices, numColIndices, colIndices, pMat)); in DMPlexComputeInterpolatorTree()
2435 PetscCall(DMRestoreWorkArray(coarse, numRowIndices, MPIU_INT, &rowIndices)); in DMPlexComputeInterpolatorTree()