Home
last modified time | relevance | path

Searched refs:colMax (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/graphops/order/
H A Dspectral.c23 PetscInt rStart, rEnd, r, colMax = 0; in MatCreateLaplacian() local
58 colMax = PetscMax(colMax, newcols); in MatCreateLaplacian()
64 PetscCall(PetscMalloc2(colMax, &newCols, colMax, &newVals)); in MatCreateLaplacian()
83 … PetscCheck(newcols <= colMax, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Overran work space"); in MatCreateLaplacian()
/petsc/src/mat/utils/
H A Daxpy.c498 PetscInt *newCols, rStart, rEnd, maxRows, r, colMax = 0, nnz0 = 0, nnz1 = 0; in MatFilter() local
508 for (; colMax < rEnd; ++colMax) { in MatFilter()
509 …maxRows) newVals[maxRows + colMax * r] = PetscAbsScalar(newVals[maxRows + colMax * r]) <= tol ? 0.… in MatFilter()
526 colMax = PetscMax(colMax, ncols); in MatFilter()
531 PetscCall(PetscCalloc2(colMax, &newCols, colMax, &newVals)); in MatFilter()