Home
last modified time | relevance | path

Searched refs:nnz1 (Results 1 – 5 of 5) sorted by relevance

/petsc/src/mat/impls/aij/seq/bas/
H A Dspbas.c147 PetscInt nnz1 = irow_in[i1 + 1] - irow_in[i1]; in spbas_row_order_icol() local
152 if (nnz1 < nnz2) return -1; in spbas_row_order_icol()
153 if (nnz1 > nnz2) return 1; in spbas_row_order_icol()
156 for (j = 0; j < nnz1; j++) { in spbas_row_order_icol()
161 for (j = 0; j < nnz1; j++) { in spbas_row_order_icol()
166 for (j = 1; j < nnz1; j++) { in spbas_row_order_icol()
/petsc/src/mat/utils/
H A Daxpy.c498 PetscInt *newCols, rStart, rEnd, maxRows, r, colMax = 0, nnz0 = 0, nnz1 = 0; in MatFilter() local
547 nnz1 += ncols - newcols - 1; in MatFilter()
557 …scCall(PetscInfo(NULL, "Filtering left %g%% edges in graph\n", 100 * (double)nnz1 / (double)nnz0)); in MatFilter()
/petsc/src/ksp/pc/impls/gamg/
H A Dagg.c723 PetscInt Istart, Iend, ncols, nnz0, nnz1, NN, MM, nloc; in PCGAMGCreateGraph_AGG() local
781 nnz0 = nnz1 = 0; in PCGAMGCreateGraph_AGG()
790 nnz1++; in PCGAMGCreateGraph_AGG()
805 …t_FMT ", max row size %" PetscInt_FMT "\n", (!nnz0) ? 1. : 100. * (double)nnz1 / (double)nnz0, (do… in PCGAMGCreateGraph_AGG()
/petsc/src/ksp/pc/impls/hpddm/
H A Dpchpddm.cxx507 PetscLogDouble accumulate[2]{}, nnz1 = 1.0, m1 = 1.0; in PCHPDDMGetComplexities() local
544 if (!A && flg) nnz1 = m * m; in PCHPDDMGetComplexities()
545 else if (P->ops->getinfo) nnz1 = info.nz_used; in PCHPDDMGetComplexities()
553 if (oc) *oc = static_cast<PetscReal>(accumulate[1] / nnz1); in PCHPDDMGetComplexities()
/petsc/src/mat/impls/aij/mpi/
H A Dmpiaij.c6303 static PetscErrorCode ExpandJmap_Internal(PetscCount nnz1, PetscCount nnz, const PetscCount imap[],… in ExpandJmap_Internal() argument
6310 for (k = nnz1 - 1; k >= 0; k--) { /* k loops over imap[] */ in ExpandJmap_Internal()