Lines Matching refs:cumnnz
1523 PetscCount totnnz, cumnnz, maxnnz; in MatConvertToTriples_nest_xaij() local
1528 cumnnz = 0; in MatConvertToTriples_nest_xaij()
1579 cumnnz += (PetscCount)info.nz_used; /* can be overestimated for Cholesky */ in MatConvertToTriples_nest_xaij()
1586 totnnz = cumnnz; in MatConvertToTriples_nest_xaij()
1599 cumnnz = 0; in MatConvertToTriples_nest_xaij()
1612 mumps->nest_vals_start[r * nc + c] = cumnnz; in MatConvertToTriples_nest_xaij()
1659 PetscCall(PetscMUMPSIntCast(ridx[mumps->irn[k] - rst] + shift, &jcns[cumnnz + k])); in MatConvertToTriples_nest_xaij()
1660 PetscCall(PetscMUMPSIntCast(pjcns_w[k] + shift, &irns[cumnnz + k])); in MatConvertToTriples_nest_xaij()
1664 PetscCall(PetscMUMPSIntCast(ridx[mumps->irn[k] - rst] + shift, &irns[cumnnz + k])); in MatConvertToTriples_nest_xaij()
1665 PetscCall(PetscMUMPSIntCast(pjcns_w[k] + shift, &jcns[cumnnz + k])); in MatConvertToTriples_nest_xaij()
1671 PetscScalar *v = vals + cumnnz; in MatConvertToTriples_nest_xaij()
1674 PetscScalar *v = vals + cumnnz; in MatConvertToTriples_nest_xaij()
1676 } else PetscCall(PetscArraycpy(vals + cumnnz, mumps->val, mumps->nnz)); in MatConvertToTriples_nest_xaij()
1679 cumnnz += mumps->nnz; in MatConvertToTriples_nest_xaij()
1680 …PetscCheck(cumnnz <= totnnz, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Unexpected number of nonzeros %" Pe… in MatConvertToTriples_nest_xaij()
1722 … PetscCheck(cumnnz == totnnz, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Different number of nonzeros %" Pe… in MatConvertToTriples_nest_xaij()
1723 mumps->nest_vals_start[nr * nc] = cumnnz; in MatConvertToTriples_nest_xaij()
1731 mumps->nnz = cumnnz; in MatConvertToTriples_nest_xaij()