Lines Matching refs:totnnz
1523 PetscCount totnnz, cumnnz, maxnnz;
1586 totnnz = cumnnz;
1587 PetscCall(PetscMalloc2(totnnz, &irns, totnnz, &jcns));
1588 PetscCall(PetscMalloc1(totnnz, &vals));
1680 PetscCheck(cumnnz <= totnnz, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Unexpected number of nonzeros %" PetscCount_FMT " != %" PetscCount_FMT, cumnnz, totnnz);
1722 if (!chol) PetscCheck(cumnnz == totnnz, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Different number of nonzeros %" PetscCount_FMT " != %" PetscCount_FMT, cumnnz, totnnz);
2382 PetscCount totnnz, remain;
2410 totnnz = 0;
2412 for (PetscMPIInt i = 0; i < osize; i++) totnnz += mumps->recvcount[i]; /* totnnz = sum of nnz over omp_comm */
2413 PetscCall(PetscMalloc2(totnnz, &irn, totnnz, &jcn));
2414 PetscCall(PetscMalloc1(totnnz, &val));
2424 mumps->nnz = totnnz;