Lines Matching refs:cMat
1140 …ode DMPlexComputeAnchorMatrix_Tree_Direct(DM dm, PetscSection section, PetscSection cSec, Mat cMat) in DMPlexComputeAnchorMatrix_Tree_Direct() argument
1362 … PetscCall(MatSetValues(cMat, nWork, workIndRow, nWorkP, workIndCol, scwork, INSERT_VALUES)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1380 PetscCall(MatAssemblyBegin(cMat, MAT_FINAL_ASSEMBLY)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1381 PetscCall(MatAssemblyEnd(cMat, MAT_FINAL_ASSEMBLY)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1541 …xComputeAnchorMatrix_Tree_FromReference(DM dm, PetscSection section, PetscSection conSec, Mat cMat) in DMPlexComputeAnchorMatrix_Tree_FromReference() argument
1622 PetscCall(MatGetRowIJ(cMat, 0, PETSC_FALSE, PETSC_FALSE, &nRows, &ia, &ja, &done)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1623 …PetscCheck(done, PetscObjectComm((PetscObject)cMat), PETSC_ERR_PLIB, "Could not get RowIJ of const… in DMPlexComputeAnchorMatrix_Tree_FromReference()
1743 …for (row = 0; row < nRows; row++) PetscCall(MatSetValues(cMat, 1, &row, ia[row + 1] - ia[row], &ja… in DMPlexComputeAnchorMatrix_Tree_FromReference()
1744 PetscCall(MatRestoreRowIJ(cMat, 0, PETSC_FALSE, PETSC_FALSE, &nRows, &ia, &ja, &done)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1745 …PetscCheck(done, PetscObjectComm((PetscObject)cMat), PETSC_ERR_PLIB, "Could not restore RowIJ of c… in DMPlexComputeAnchorMatrix_Tree_FromReference()
1746 PetscCall(MatAssemblyBegin(cMat, MAT_FINAL_ASSEMBLY)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1747 PetscCall(MatAssemblyEnd(cMat, MAT_FINAL_ASSEMBLY)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
2076 Mat cMat; in DMPlexComputeInterpolatorTree() local
2123 PetscCall(DMGetDefaultConstraints(coarse, &cSec, &cMat, NULL)); in DMPlexComputeInterpolatorTree()
2413 …PetscCall(MatGetValues(cMat, iSize, &rowIndices[offsets[f]], jSize, &colIndices[newOffsets[f]], &p… in DMPlexComputeInterpolatorTree()
2426 PetscCall(MatGetValues(cMat, numRowIndices, rowIndices, numColIndices, colIndices, pMat)); in DMPlexComputeInterpolatorTree()
2829 Mat cMat, mat; in DMPlexComputeInjectorReferenceTree() local
2846 PetscCall(DMGetDefaultConstraints(refTree, &cSection, &cMat, NULL)); in DMPlexComputeInjectorReferenceTree()
2849 …PetscCall(MatGetSize(cMat, &n, &m)); /* the injector has transpose sizes from the constraint matri… in DMPlexComputeInjectorReferenceTree()
3760 Mat cMat; in DMPlexTransferVecTree_Interpolate() local
3817 PetscCall(DMGetDefaultConstraints(coarse, &cSec, &cMat, NULL)); in DMPlexTransferVecTree_Interpolate()