Searched refs:comm_fine (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ksp/pc/impls/telescope/ |
| H A D | telescope.c | 504 MPI_Comm comm_fine, comm_coarse_partition = MPI_COMM_NULL; in PCSetUp_Telescope() local 509 comm_fine = PetscObjectComm((PetscObject)dm); in PCSetUp_Telescope() 512 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &cnt, 1, MPI_INT, MPI_SUM, comm_fine)); in PCSetUp_Telescope() 513 PetscCheck(cnt != 0, comm_fine, PETSC_ERR_SUP, "Zero instances of a coarse DM were found"); in PCSetUp_Telescope() 515 PetscCallMPI(MPI_Comm_size(comm_fine, &csize_fine)); in PCSetUp_Telescope() 523 PetscCallMPI(MPIU_Allreduce(cs, csg, 2, MPI_INT, MPI_MAX, comm_fine)); in PCSetUp_Telescope() 524 …PetscCheck(csg[0] != csg[1], comm_fine, PETSC_ERR_SUP, "Coarse DM uses the same size communicator … in PCSetUp_Telescope() 526 PetscCall(PCTelescopeTestValidSubcomm(comm_fine, comm_coarse_partition, &isvalidsubcomm)); in PCSetUp_Telescope() 527 …PetscCheck(isvalidsubcomm, comm_fine, PETSC_ERR_SUP, "Coarse DM communicator is not a sub-communic… in PCSetUp_Telescope()
|