Searched refs:maxcols (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ksp/ksp/utils/dm/ |
| H A D | dmproject.c | 231 PetscInt debug = 0, rStart, rEnd, r, maxcols = 0, k, Nc, ldac, ldaf; in DMAdaptInterpolator() local 241 PetscCall(MatGetMaxRowLen(In, &maxcols)); in DMAdaptInterpolator() 247 maxcols = PetscMax(maxcols, ncols); in DMAdaptInterpolator() 251 …maxcols) PetscCall(PetscPrintf(PETSC_COMM_SELF, "The number of input vectors %" PetscInt_FMT " < %… in DMAdaptInterpolator() 272 …etscCall(PetscBLASIntCast(3 * PetscMin(Nc, maxcols) + PetscMax(2 * PetscMin(Nc, maxcols), PetscMax… in DMAdaptInterpolator() 273 …tscMalloc7(Nc * maxcols, &A, PetscMax(Nc, maxcols), &b, Nc, &w, maxcols, &x, maxcols, &sing, lwrk,… in DMAdaptInterpolator()
|
| /petsc/src/ksp/pc/impls/gamg/ |
| H A D | classical.c | 562 PetscInt fs, fe, cs, ce, nl, i, j, k, li, lni, ci, ncols, maxcols, fn, cn, cid; in PCGAMGProlongator_Classical_Standard() local 628 maxcols = 0; in PCGAMGProlongator_Classical_Standard() 684 if (lsparse[li] + gsparse[li] > maxcols) maxcols = lsparse[li] + gsparse[li]; in PCGAMGProlongator_Classical_Standard() 688 PetscCall(PetscMalloc2(maxcols, &picol, maxcols, &pvcol)); in PCGAMGProlongator_Classical_Standard()
|
| H A D | agg.c | 728 PetscInt *d_nnz, *o_nnz, kk, *garray = NULL, *AJ, maxcols = 0; in PCGAMGCreateGraph_AGG() local 763 if (ncols > maxcols) maxcols = ncols; in PCGAMGCreateGraph_AGG() 770 if (ncols > maxcols) maxcols = ncols; in PCGAMGCreateGraph_AGG() 780 PetscCall(PetscMalloc2(maxcols, &AA, maxcols, &AJ)); in PCGAMGCreateGraph_AGG() 805 …le)nnz1 / (double)nnz0, (double)vfilter, (!nloc) ? 1. : (double)nnz0 / (double)nloc, MM, maxcols)); in PCGAMGCreateGraph_AGG()
|