Home
last modified time | relevance | path

Searched refs:has_empty (Results 1 – 1 of 1) sorted by relevance

/petsc/src/vec/is/sf/impls/window/
H A Dsfwindow.c751 PetscBool has_empty; in PetscSFSetUp_Window() local
758 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()