Lines Matching refs:PetscObjectComm

18   PetscCall(MatCreate(PetscObjectComm((PetscObject)dm), J));  in DMCreateMatrix_Redundant()
63 PetscCall(VecCreate(PetscObjectComm((PetscObject)dm), gvec)); in DMCreateGlobalVector_Redundant()
95 PetscCallMPI(MPI_Comm_rank(PetscObjectComm((PetscObject)dm), &rank)); in DMLocalToGlobalBegin_Redundant()
115 …MPIU_SCALAR, (imode == ADD_VALUES) ? MPIU_SUM : MPIU_MAX, red->rank, PetscObjectComm((PetscObject)… in DMLocalToGlobalBegin_Redundant()
121 SETERRQ(PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "InsertMode not supported"); in DMLocalToGlobalBegin_Redundant()
148 PetscCallMPI(MPI_Bcast(lv, iN, MPIU_SCALAR, red->rank, PetscObjectComm((PetscObject)dm))); in DMGlobalToLocalBegin_Redundant()
151 SETERRQ(PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "InsertMode not supported"); in DMGlobalToLocalBegin_Redundant()
190 …SETERRQ(PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONG, "Unknown ISColoringType %d", (int)c… in DMCreateColoring_Redundant()
194 …PetscCall(ISColoringCreate(PetscObjectComm((PetscObject)dm), red->N, nloc, colors, PETSC_OWN_POINT… in DMCreateColoring_Redundant()
206 PetscCallMPI(MPI_Comm_compare(PetscObjectComm((PetscObject)dmc), comm, &flag)); in DMRefine_Redundant()
207 …PetscCheck(flag == MPI_CONGRUENT || flag == MPI_IDENT, PetscObjectComm((PetscObject)dmc), PETSC_ER… in DMRefine_Redundant()
219 PetscCallMPI(MPI_Comm_compare(PetscObjectComm((PetscObject)dmf), comm, &flag)); in DMCoarsen_Redundant()
220 …PetscCheck(flag == MPI_CONGRUENT || flag == MPI_IDENT, PetscObjectComm((PetscObject)dmf), PETSC_ER… in DMCoarsen_Redundant()
233 …PetscCallMPI(MPI_Comm_compare(PetscObjectComm((PetscObject)dmc), PetscObjectComm((PetscObject)dmf)… in DMCreateInterpolation_Redundant()
234 …PetscCheck(flag == MPI_CONGRUENT || flag == MPI_IDENT, PetscObjectComm((PetscObject)dmf), PETSC_ER… in DMCreateInterpolation_Redundant()
235 …PetscCheck(redc->rank == redf->rank, PetscObjectComm((PetscObject)dmf), PETSC_ERR_ARG_INCOMP, "Own… in DMCreateInterpolation_Redundant()
236 …PetscCheck(redc->N == redf->N, PetscObjectComm((PetscObject)dmf), PETSC_ERR_ARG_INCOMP, "Global si… in DMCreateInterpolation_Redundant()
237 PetscCall(MatCreate(PetscObjectComm((PetscObject)dmc), P)); in DMCreateInterpolation_Redundant()
307 PetscCallMPI(MPI_Comm_rank(PetscObjectComm((PetscObject)dm), &myrank)); in DMRedundantSetSize_Redundant()
316 …PetscCall(ISLocalToGlobalMappingCreate(PetscObjectComm((PetscObject)dm), 1, red->N, globals, PETSC… in DMRedundantSetSize_Redundant()