| /petsc/src/vec/is/sf/impls/basic/allgatherv/ |
| H A D | sfallgatherv.c | 52 PetscCall(PetscMPIIntCast(range[i], &dat->displs[i])); in PetscSFSetUp_Allgatherv() 53 PetscCall(PetscMPIIntCast(range[i + 1] - range[i], &dat->recvcounts[i])); in PetscSFSetUp_Allgatherv() 117 PetscCall(PetscMPIIntCast(sf->nroots, &sendcount)); in PetscSFBcastBegin_Allgatherv() 123 PetscCall(PetscMPIIntCast(sf->nleaves, &nleaves)); in PetscSFBcastBegin_Allgatherv() 173 PetscCall(PetscMPIIntCast(nleaves, &nleavesi)); in PetscSFReduceBegin_Allgatherv() 182 PetscCall(PetscMPIIntCast(dat->rootbuflen[PETSCSF_REMOTE], &recvcount)); in PetscSFReduceBegin_Allgatherv() 187 PetscCall(PetscMPIIntCast(sf->nleaves * link->bs, &count)); in PetscSFReduceBegin_Allgatherv() 230 PetscCall(PetscMPIIntCast(sf->nroots, &sendcount)); in PetscSFBcastToZero_Allgatherv() 303 PetscCall(PetscMPIIntCast(sf->nleaves, &count)); in PetscSFFetchAndOpBegin_Allgatherv() 306 PetscCall(PetscMPIIntCast(sf->nleaves * link->bs, &count)); in PetscSFFetchAndOpBegin_Allgatherv()
|
| /petsc/src/vec/is/sf/impls/basic/allgather/ |
| H A D | sfallgather.c | 44 PetscCall(PetscMPIIntCast(sf->nroots, &sendcount)); in PetscSFBcastBegin_Allgather() 74 PetscCall(PetscMPIIntCast(dat->rootbuflen[PETSCSF_REMOTE], &recvcount)); in PetscSFReduceBegin_Allgather() 77 PetscCall(PetscMPIIntCast(sf->nleaves * link->bs, &count)); in PetscSFReduceBegin_Allgather() 99 PetscCall(PetscMPIIntCast(sf->nroots, &sendcount)); in PetscSFBcastToZero_Allgather()
|
| /petsc/src/vec/is/utils/ |
| H A D | psort.c | 86 PetscCall(PetscMPIIntCast(n, &mpin)); in PetscParallelSortInt_Bitonic() 255 PetscCall(PetscMPIIntCast(prev, &offsets_snd[i])); in PetscParallelSortInt_Samplesort() 256 PetscCall(PetscMPIIntCast(j - prev, &keys_per_snd[i])); in PetscParallelSortInt_Samplesort() 258 PetscCall(PetscMPIIntCast(j, &offsets_snd[size - 1])); in PetscParallelSortInt_Samplesort() 259 PetscCall(PetscMPIIntCast(mapin->n - j, &keys_per_snd[size - 1])); in PetscParallelSortInt_Samplesort() 260 PetscCall(PetscMPIIntCast(mapin->n, &offsets_snd[size])); in PetscParallelSortInt_Samplesort()
|
| /petsc/src/ts/characteristic/impls/da/ |
| H A D | slda.c | 39 if (c->structured) PetscCall(PetscMPIIntCast(dim, &c->numIds)); in CharacteristicSetUp_DA() 48 PetscCall(PetscMPIIntCast(numValues, &blockLen[1])); in CharacteristicSetUp_DA()
|
| /petsc/src/dm/impls/swarm/ |
| H A D | swarm_migrate.c | 31 PetscCall(PetscMPIIntCast(rankval[p], &nrank)); in DMSwarmMigrate_Push_Basic() 37 PetscCall(PetscMPIIntCast(rankval[p], &nrank)); in DMSwarmMigrate_Push_Basic() 44 PetscCall(PetscMPIIntCast(rankval[p], &nrank)); in DMSwarmMigrate_Push_Basic() 65 PetscCall(PetscMPIIntCast(rankval[p], &nrank)); in DMSwarmMigrate_Push_Basic() 380 PetscCall(PetscMPIIntCast(rankval[p], &negrank)); in DMSwarmMigrate_GlobalToLocal_Basic() 389 PetscCall(PetscMPIIntCast(rankval[p], &negrank)); in DMSwarmMigrate_GlobalToLocal_Basic() 399 PetscCall(PetscMPIIntCast(rankval[p], &negrank)); in DMSwarmMigrate_GlobalToLocal_Basic() 602 PetscCall(PetscMPIIntCast(ctx_size, &len)); in DMSwarmCollect_General()
|
| /petsc/src/dm/impls/da/ |
| H A D | gr2.c | 608 PetscCall(PetscMPIIntCast(dd->w, &dof)); in DMDAArrayMPIIO() 610 PetscCall(PetscMPIIntCast(dd->M, gsizes + 1)); in DMDAArrayMPIIO() 611 PetscCall(PetscMPIIntCast(dd->N, gsizes + 2)); in DMDAArrayMPIIO() 612 PetscCall(PetscMPIIntCast(dd->P, gsizes + 3)); in DMDAArrayMPIIO() 614 PetscCall(PetscMPIIntCast((dd->xe - dd->xs) / dof, lsizes + 1)); in DMDAArrayMPIIO() 615 PetscCall(PetscMPIIntCast(dd->ye - dd->ys, lsizes + 2)); in DMDAArrayMPIIO() 616 PetscCall(PetscMPIIntCast(dd->ze - dd->zs, lsizes + 3)); in DMDAArrayMPIIO() 618 PetscCall(PetscMPIIntCast(dd->xs / dof, lstarts + 1)); in DMDAArrayMPIIO() 619 PetscCall(PetscMPIIntCast(dd->ys, lstarts + 2)); in DMDAArrayMPIIO() 620 PetscCall(PetscMPIIntCast(dd->zs, lstarts + 3)); in DMDAArrayMPIIO()
|
| /petsc/src/vec/is/sf/impls/basic/neighbor/ |
| H A D | sfneighbor.c | 233 PetscCall(PetscMPIIntCast(rootoffset[i] - rootoffset[ndrootranks], &m)); in PetscSFSetUp_Neighbor() 235 PetscCall(PetscMPIIntCast(rootoffset[i + 1] - rootoffset[i], &n)); in PetscSFSetUp_Neighbor() 241 PetscCall(PetscMPIIntCast(leafoffset[i] - leafoffset[ndleafranks], &m)); in PetscSFSetUp_Neighbor() 243 PetscCall(PetscMPIIntCast(leafoffset[i + 1] - leafoffset[i], &n)); in PetscSFSetUp_Neighbor()
|
| /petsc/src/vec/is/sf/utils/ |
| H A D | sfcoord.c | 138 PetscCall(PetscMPIIntCast(2 * dim, &msize)); in PetscSFSetGraphFromCoordinates() 164 PetscCall(PetscMPIIntCast(dim, &msize)); in PetscSFSetGraphFromCoordinates()
|
| /petsc/src/sys/logging/handler/impls/perfstubs/ |
| H A D | logperfstubs.c | 76 PetscCall(PetscMPIIntCast(i, &ei)); in PetscLogHandlerPSUpdateEvents() 100 PetscCall(PetscMPIIntCast(i, &si)); in PetscLogHandlerPSUpdateStages()
|
| /petsc/src/sys/objects/kokkos/ |
| H A D | kinit.kokkos.cxx | 58 PetscCall(PetscMPIIntCast(deviceId, &args.device_id)); in PetscKokkosInitializeCheck()
|
| /petsc/src/vec/is/sf/impls/basic/gather/ |
| H A D | sfgather.c | 22 PetscCall(PetscMPIIntCast(sf->nroots, &count)); in PetscSFLinkStartCommunication_Gather()
|
| /petsc/src/vec/is/is/utils/ |
| H A D | iscoloring.c | 450 PetscCall(PetscMPIIntCast(ito_indices[i], &target_rank)); in ISBuildTwoSided() 539 for (PetscInt i = 0; i < n; i++) PetscCall(PetscMPIIntCast(PetscMax(np, indices[i]), &np)); in ISPartitioningToNumbering() 692 PetscCall(PetscMPIIntCast(n, &nn)); in ISAllGather() 697 PetscCall(PetscMPIIntCast(s, &offsets[i])); in ISAllGather() 741 PetscCall(PetscMPIIntCast(n, &nn)); in ISAllGatherColors()
|
| /petsc/src/vec/is/sf/impls/basic/alltoall/ |
| H A D | sfalltoall.c | 107 PetscCall(PetscMPIIntCast(nselected, &nroots)); in PetscSFCreateEmbeddedRootSF_Alltoall() 109 for (PetscMPIInt i = 0; i < nroots; i++) PetscCall(PetscMPIIntCast(tmproots[i], &roots[i])); in PetscSFCreateEmbeddedRootSF_Alltoall()
|
| /petsc/src/ksp/pc/impls/telescope/ |
| H A D | telescope_dmda.c | 48 PetscCall(PetscMPIIntCast(pi, _pi)); in _DMDADetermineRankFromGlobalIJK() 59 PetscCall(PetscMPIIntCast(pj, _pj)); in _DMDADetermineRankFromGlobalIJK() 70 PetscCall(PetscMPIIntCast(pk, _pk)); in _DMDADetermineRankFromGlobalIJK() 75 PetscCall(PetscMPIIntCast(pi, rank_re)); in _DMDADetermineRankFromGlobalIJK() 78 PetscCall(PetscMPIIntCast(pi + pj * Mp, rank_re)); in _DMDADetermineRankFromGlobalIJK() 81 PetscCall(PetscMPIIntCast(pi + pj * Mp + pk * (Mp * Np), rank_re)); in _DMDADetermineRankFromGlobalIJK() 439 PetscCall(PetscMPIIntCast(ctx->Mp_re, &ni)); in PCTelescopeSetUp_dmda_repart() 441 PetscCall(PetscMPIIntCast(ctx->Np_re, &ni)); in PCTelescopeSetUp_dmda_repart() 443 PetscCall(PetscMPIIntCast(ctx->Pp_re, &ni)); in PCTelescopeSetUp_dmda_repart()
|
| /petsc/src/vec/is/utils/hdf5/ |
| H A D | hdf5io.c | 113 PetscCall(PetscMPIIntCast(range[r + 1] - range[r], &counts[r])); in PetscViewerHDF5ReadSizes_Private() 114 PetscCall(PetscMPIIntCast(range[r], &displs[r])); in PetscViewerHDF5ReadSizes_Private() 116 PetscCall(PetscMPIIntCast(cmap->n, &n)); in PetscViewerHDF5ReadSizes_Private()
|
| /petsc/src/dm/impls/patch/ |
| H A D | patch.c | 128 PetscCall(PetscMPIIntCast(ir, &r)); in DMPatchZoom() 164 PetscCall(PetscMPIIntCast(ir, &r)); in DMPatchZoom() 232 PetscCall(PetscMPIIntCast(newComm, &newCommi)); in DMPatchSolve() 233 PetscCall(PetscMPIIntCast(newRank, &newRanki)); in DMPatchSolve()
|
| /petsc/src/vec/is/sf/impls/basic/gatherv/ |
| H A D | sfgatherv.c | 24 PetscCall(PetscMPIIntCast(sf->nroots, &count)); in PetscSFLinkStartCommunication_Gatherv()
|
| /petsc/src/vec/is/ao/impls/mapping/ |
| H A D | aomapping.c | 263 PetscCall(PetscMPIIntCast(napp, &nnapp)); in AOCreateMapping() 267 PetscCall(PetscMPIIntCast(N, &disp[i])); in AOCreateMapping()
|
| /petsc/src/vec/is/ao/impls/basic/ |
| H A D | aobasic.c | 173 PetscCall(PetscMPIIntCast(napp, &count)); in AOCreate_Basic() 183 PetscCall(PetscMPIIntCast(N, disp + i)); /* = sum(lens[j]), j< i */ in AOCreate_Basic()
|
| /petsc/src/sys/error/ |
| H A D | err.c | 496 PetscCall(PetscMPIIntCast(N, &NN)); in PetscIntViewNumColumns() 604 PetscCall(PetscMPIIntCast(N, &NN)); in PetscRealViewNumColumns() 716 PetscCall(PetscMPIIntCast(N, &NN)); in PetscScalarViewNumColumns()
|
| /petsc/src/vec/is/ao/impls/memscalable/ |
| H A D | aomemscalable.c | 140 PetscCall(PetscMPIIntCast(inreceives, &nreceives)); in AOMap_MemoryScalable_private() 355 PetscCall(PetscMPIIntCast(nsends, &nsends_i)); in AOCreateMemoryScalable_private() 356 PetscCall(PetscMPIIntCast(nreceives, &nreceives_i)); in AOCreateMemoryScalable_private()
|
| /petsc/src/vec/is/sf/impls/basic/nvshmem/ |
| H A D | sfnvshmem.cu | 798 PetscCall(PetscMPIIntCast(count, &num)); in PetscNvshmemSum() 808 PetscCall(PetscMPIIntCast(count, &num)); in PetscNvshmemMax() 818 PetscCall(PetscMPIIntCast(count, &num)); in PetscNvshmemSum() 828 PetscCall(PetscMPIIntCast(count, &num)); in PetscNvshmemMax()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pdvec.c | 82 PetscCall(PetscMPIIntCast(work, &len)); in VecView_MPI_ASCII() 150 PetscCall(PetscMPIIntCast(nLen, &n)); in VecView_MPI_ASCII() 289 PetscCall(PetscMPIIntCast(xin->map->n, &n)); in VecView_MPI_Draw_LG() 290 PetscCall(PetscMPIIntCast(xin->map->N, &N)); in VecView_MPI_Draw_LG() 303 …for (i = 0; i < size; i++) PetscCall(PetscMPIIntCast(xin->map->range[i + 1] - xin->map->range[i], … in VecView_MPI_Draw_LG() 304 for (i = 0; i < size; i++) PetscCall(PetscMPIIntCast(xin->map->range[i], &disp[i])); in VecView_MPI_Draw_LG()
|
| /petsc/src/dm/impls/redundant/ |
| H A D | dmredundant.c | 114 PetscCall(PetscMPIIntCast(red->N, &iN)); in DMLocalToGlobalBegin_Redundant() 147 PetscCall(PetscMPIIntCast(red->N, &iN)); in DMGlobalToLocalBegin_Redundant()
|
| /petsc/src/sys/objects/ |
| H A D | garbage.c | 154 PetscCall(PetscMPIIntCast(max_entries, &imax_entries)); in GarbageKeyAllReduceIntersect_Private()
|