Searched refs:has_empty (Results 1 – 1 of 1) sorted by relevance
751 PetscBool has_empty; in PetscSFSetUp_Window() local758 has_empty = (nroots == 0 && nleaves == 0) ? PETSC_TRUE : PETSC_FALSE; in PetscSFSetUp_Window()761 w->is_empty = has_empty; in PetscSFSetUp_Window()762 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &has_empty, 1, MPI_C_BOOL, MPI_LOR, comm)); in PetscSFSetUp_Window()763 if (has_empty) { in PetscSFSetUp_Window()