Lines Matching refs:PetscMUMPSIntCast

85 static inline PetscErrorCode PetscMUMPSIntCast(PetscCount a, PetscMUMPSInt *b)  in PetscMUMPSIntCast()  function
104 if (myset) PetscCall(PetscMUMPSIntCast(myval, value)); in PetscOptionsMUMPSInt_Private()
637 for (i = 0; i < nrow + 1; i++) PetscCall(PetscMUMPSIntCast(ia[i], &mumps->ia_alloc[i])); in PetscMUMPSIntCSRCast()
638 for (i = 0; i < nnz; i++) PetscCall(PetscMUMPSIntCast(ja[i], &mumps->ja_alloc[i])); in PetscMUMPSIntCSRCast()
646 PetscCall(PetscMUMPSIntCast(nnz, nnz_mumps)); in PetscMUMPSIntCSRCast()
806 PetscCall(PetscMUMPSIntCast(i + shift, &row[k])); in MatConvertToTriples_seqaij_seqaij()
807 PetscCall(PetscMUMPSIntCast(ajj[j] + shift, &col[k])); in MatConvertToTriples_seqaij_seqaij()
832 …, r = 0; j < a->sliidx[i + 1]; j++, r = ((r + 1) & 0x07)) PetscCall(PetscMUMPSIntCast(8 * i + r + … in MatConvertToTriples_seqsell_seqaij()
834 for (i = 0; i < nz; i++) PetscCall(PetscMUMPSIntCast(a->colidx[i] + shift, &col[i])); in MatConvertToTriples_seqsell_seqaij()
865 PetscCall(PetscMUMPSIntCast(i * bs + m + shift, &row[idx])); in MatConvertToTriples_seqbaij_seqaij()
866 PetscCall(PetscMUMPSIntCast(bs * ajj[k] + j + shift, &col[idx])); in MatConvertToTriples_seqbaij_seqaij()
930 PetscCall(PetscMUMPSIntCast(i * bs + m + shift, &row[nz])); in MatConvertToTriples_seqsbaij_seqsbaij()
931 PetscCall(PetscMUMPSIntCast(ajj[j] * bs + k + shift, &col[nz])); in MatConvertToTriples_seqsbaij_seqsbaij()
944 PetscCall(PetscMUMPSIntCast(i + shift, &row[nz])); in MatConvertToTriples_seqsbaij_seqsbaij()
945 PetscCall(PetscMUMPSIntCast(ajj[j] + shift, &col[nz])); in MatConvertToTriples_seqsbaij_seqsbaij()
1009 PetscCall(PetscMUMPSIntCast(i + shift, &row[nz])); in MatConvertToTriples_seqaij_seqsbaij()
1010 PetscCall(PetscMUMPSIntCast(aj[j] + shift, &col[nz])); in MatConvertToTriples_seqaij_seqsbaij()
1019 PetscCall(PetscMUMPSIntCast(i + shift, &row[nz])); in MatConvertToTriples_seqaij_seqsbaij()
1020 PetscCall(PetscMUMPSIntCast(ajj[j] + shift, &col[nz])); in MatConvertToTriples_seqaij_seqsbaij()
1031 PetscCall(PetscMUMPSIntCast(i + shift, &row[nz])); in MatConvertToTriples_seqaij_seqsbaij()
1032 PetscCall(PetscMUMPSIntCast(ajj[j] + shift, &col[nz])); in MatConvertToTriples_seqaij_seqsbaij()
1126 PetscCall(PetscMUMPSIntCast(irow + m + shift, &row[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1127 PetscCall(PetscMUMPSIntCast(rstart + ajj[j] * bs + k + shift, &col[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1140 PetscCall(PetscMUMPSIntCast(irow + m + shift, &row[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1141 PetscCall(PetscMUMPSIntCast(garray[bjj[j]] * bs + k + shift, &col[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1151 PetscCall(PetscMUMPSIntCast(irow + shift, &row[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1152 PetscCall(PetscMUMPSIntCast(rstart + ajj[j] + shift, &col[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1160 PetscCall(PetscMUMPSIntCast(irow + shift, &row[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1161 PetscCall(PetscMUMPSIntCast(garray[bjj[j]] + shift, &col[jj])); in MatConvertToTriples_mpisbaij_mpisbaij()
1223 PetscCall(PetscMUMPSIntCast(irow + shift, &row[jj])); in MatConvertToTriples_mpiaij_mpiaij()
1224 PetscCall(PetscMUMPSIntCast(cstart + ajj[j] + shift, &col[jj])); in MatConvertToTriples_mpiaij_mpiaij()
1232 PetscCall(PetscMUMPSIntCast(irow + shift, &row[jj])); in MatConvertToTriples_mpiaij_mpiaij()
1233 PetscCall(PetscMUMPSIntCast(garray[bjj[j]] + shift, &col[jj])); in MatConvertToTriples_mpiaij_mpiaij()
1288 PetscCall(PetscMUMPSIntCast(irow + n + shift, &row[jj])); in MatConvertToTriples_mpibaij_mpiaij()
1289 PetscCall(PetscMUMPSIntCast(cstart + bs * ajj[k] + j + shift, &col[jj])); in MatConvertToTriples_mpibaij_mpiaij()
1302 PetscCall(PetscMUMPSIntCast(irow + n + shift, &row[jj])); in MatConvertToTriples_mpibaij_mpiaij()
1303 PetscCall(PetscMUMPSIntCast(bs * garray[bjj[k]] + j + shift, &col[jj])); in MatConvertToTriples_mpibaij_mpiaij()
1382 PetscCall(PetscMUMPSIntCast(irow + shift, &row[jj])); in MatConvertToTriples_mpiaij_mpisbaij()
1383 PetscCall(PetscMUMPSIntCast(rstart + ajj[j] + shift, &col[jj])); in MatConvertToTriples_mpiaij_mpisbaij()
1392 PetscCall(PetscMUMPSIntCast(irow + shift, &row[jj])); in MatConvertToTriples_mpiaij_mpisbaij()
1393 PetscCall(PetscMUMPSIntCast(garray[bjj[j]] + shift, &col[jj])); in MatConvertToTriples_mpiaij_mpisbaij()
1419 PetscCall(PetscMUMPSIntCast(i + A->rmap->rstart, &row[i])); in MatConvertToTriples_diagonal_xaij()
1447 PetscCall(PetscMUMPSIntCast(i + A->rmap->rstart, &row[i])); in MatConvertToTriples_dense_xaij()
1450 for (i = 0; i < m; i++) PetscCall(PetscMUMPSIntCast(j, col + i + m * j)); in MatConvertToTriples_dense_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()
1698 PetscCall(PetscMUMPSIntCast(Mbs, &mumps->id.nblk)); in MatConvertToTriples_nest_xaij()
1711 …kptr[shift] + bs; j < ranges[i + 1] - ranges[i]; j += bs) PetscCall(PetscMUMPSIntCast(start + j, m… in MatConvertToTriples_nest_xaij()
1840 …for (i = 0; i < m; i++) PetscCall(PetscMUMPSIntCast(rstart + i + 1, &mumps->irhs_loc[i])); /* use … in MatMumpsSetUpDistRHSInfo()
1869 …etsc_ranks[j]]; i < ranges[petsc_ranks[j] + 1]; i++, k++) PetscCall(PetscMUMPSIntCast(i + 1, &mump… in MatMumpsSetUpDistRHSInfo()
2918 PetscCall(PetscMUMPSIntCast(M, &mumps->id.n)); in MatLUFactorSymbolic_AIJMUMPS()
2934 …for (i = 0; i < M; i++) PetscCall(PetscMUMPSIntCast(idx[i] + 1, &mumps->id.perm_in[i])); /* perm_i… in MatLUFactorSymbolic_AIJMUMPS()
2987 PetscCall(PetscMUMPSIntCast(M, &mumps->id.n)); in MatLUFactorSymbolic_BAIJMUMPS()
3042 PetscCall(PetscMUMPSIntCast(M, &mumps->id.n)); in MatCholeskyFactorSymbolic_MUMPS()
3268 PetscCall(PetscMUMPSIntCast(size, &mumps->id.size_schur)); in MatFactorSetSchurIS_MUMPS()
3269 PetscCall(PetscMUMPSIntCast(size, &mumps->id.schur_lld)); in MatFactorSetSchurIS_MUMPS()
3276 for (i = 0; i < size; i++) PetscCall(PetscMUMPSIntCast(idxs[i] + 1, &mumps->id.listvar_schur[i])); in MatFactorSetSchurIS_MUMPS()
3339 PetscCall(PetscMUMPSIntCast(ival, mumps->ICNTL_pre + 2 + 2 * i)); in MatMumpsSetIcntl_MUMPS()
3340 } else PetscCall(PetscMUMPSIntCast(ival, &mumps->id.ICNTL(icntl))); in MatMumpsSetIcntl_MUMPS()
3649 PetscCall(PetscMUMPSIntCast(M, &mumps->id.lrhs)); in MatMumpsGetInverse_MUMPS()
3753 PetscCall(PetscMUMPSIntCast(nblk, &mumps->id.nblk)); in MatMumpsSetBlk_MUMPS()
3756 …for (PetscInt i = 0; i < nblk + 1; ++i) PetscCall(PetscMUMPSIntCast(blkptr[i], mumps->id.blkptr + … in MatMumpsSetBlk_MUMPS()
3763 …for (PetscInt i = 0; i < F->rmap->N; ++i) PetscCall(PetscMUMPSIntCast(blkvar[i], mumps->id.blkvar … in MatMumpsSetBlk_MUMPS()