Home
last modified time | relevance | path

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

/petsc/src/dm/interface/
H A Ddm.c2807 PetscInt nRows; in DMGlobalToLocalHook_Constraints() local
2809 PetscCall(MatGetSize(cMat, &nRows, NULL)); in DMGlobalToLocalHook_Constraints()
2810 if (nRows <= 0) PetscFunctionReturn(PETSC_SUCCESS); in DMGlobalToLocalHook_Constraints()
3016 PetscInt nRows; in DMLocalToGlobalHook_Constraints() local
3023 PetscCall(MatGetSize(cMat, &nRows, NULL)); in DMLocalToGlobalHook_Constraints()
3024 if (nRows <= 0) PetscFunctionReturn(PETSC_SUCCESS); in DMLocalToGlobalHook_Constraints()
/petsc/src/dm/impls/plex/
H A Dplextree.c1615 PetscInt nRows, row, nnz; in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1622 PetscCall(MatGetRowIJ(cMat, 0, PETSC_FALSE, PETSC_FALSE, &nRows, &ia, &ja, &done)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1624 nnz = ia[nRows]; 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()
H A Dplex.c8170 PetscInt nRows, nCols; in DMPlexGetClosureIndices_Internal() local
8209 nRows = *numRows; in DMPlexGetClosureIndices_Internal()
8215 …PetscCheck(nRows == Ni, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_SIZ, "Expected %" PetscInt… in DMPlexGetClosureIndices_Internal()
8241 for (k = 0; k < nRows; ++k) valCopy[Ni * k + (foffset + i)] *= fval; in DMPlexGetClosureIndices_Internal()
8253 …PetscCall(DMPlexAnchorsModifyMat_Internal(dm, section, Ncl, Ni, points, perms, nRows, nCols, value… in DMPlexGetClosureIndices_Internal()
/petsc/src/dm/dt/dualspace/impls/lagrange/
H A Ddspacelagrange.c2264 PetscInt nCols, nRows; in PetscDualSpaceSetUp_Lagrange() local
2268 PetscCall(MatGetSize(intMat, &nRows, &nCols)); in PetscDualSpaceSetUp_Lagrange()
2271 for (PetscInt row = 0; row < nRows; row++) { in PetscDualSpaceSetUp_Lagrange()