Home
last modified time | relevance | path

Searched refs:PetscMPIIntCast (Results 1 – 25 of 91) sorted by relevance

1234

/petsc/src/vec/is/sf/impls/basic/allgatherv/
H A Dsfallgatherv.c52 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 Dsfallgather.c44 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 Dpsort.c86 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 Dslda.c39 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 Dswarm_migrate.c31 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 Dgr2.c608 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 Dsfneighbor.c233 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 Dsfcoord.c138 PetscCall(PetscMPIIntCast(2 * dim, &msize)); in PetscSFSetGraphFromCoordinates()
164 PetscCall(PetscMPIIntCast(dim, &msize)); in PetscSFSetGraphFromCoordinates()
/petsc/src/sys/logging/handler/impls/perfstubs/
H A Dlogperfstubs.c76 PetscCall(PetscMPIIntCast(i, &ei)); in PetscLogHandlerPSUpdateEvents()
100 PetscCall(PetscMPIIntCast(i, &si)); in PetscLogHandlerPSUpdateStages()
/petsc/src/sys/objects/kokkos/
H A Dkinit.kokkos.cxx58 PetscCall(PetscMPIIntCast(deviceId, &args.device_id)); in PetscKokkosInitializeCheck()
/petsc/src/vec/is/sf/impls/basic/gather/
H A Dsfgather.c22 PetscCall(PetscMPIIntCast(sf->nroots, &count)); in PetscSFLinkStartCommunication_Gather()
/petsc/src/vec/is/is/utils/
H A Discoloring.c450 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 Dsfalltoall.c107 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 Dtelescope_dmda.c48 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 Dhdf5io.c113 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 Dpatch.c128 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 Dsfgatherv.c24 PetscCall(PetscMPIIntCast(sf->nroots, &count)); in PetscSFLinkStartCommunication_Gatherv()
/petsc/src/vec/is/ao/impls/mapping/
H A Daomapping.c263 PetscCall(PetscMPIIntCast(napp, &nnapp)); in AOCreateMapping()
267 PetscCall(PetscMPIIntCast(N, &disp[i])); in AOCreateMapping()
/petsc/src/vec/is/ao/impls/basic/
H A Daobasic.c173 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 Derr.c496 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 Daomemscalable.c140 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 Dsfnvshmem.cu798 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 Dpdvec.c82 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 Ddmredundant.c114 PetscCall(PetscMPIIntCast(red->N, &iN)); in DMLocalToGlobalBegin_Redundant()
147 PetscCall(PetscMPIIntCast(red->N, &iN)); in DMGlobalToLocalBegin_Redundant()
/petsc/src/sys/objects/
H A Dgarbage.c154 PetscCall(PetscMPIIntCast(max_entries, &imax_entries)); in GarbageKeyAllReduceIntersect_Private()

1234