Lines Matching refs:eq
7679 PetscBool eq; in DMCompareLabels() local
7696 eq = (PetscBool)(n == n1); in DMCompareLabels()
7697 …if (!eq) PetscCall(PetscSNPrintf(msg, sizeof(msg), "Number of labels in dm0 = %" PetscInt_FMT " !=… in DMCompareLabels()
7698 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &eq, 1, MPI_C_BOOL, MPI_LAND, comm)); in DMCompareLabels()
7699 if (!eq) goto finish; in DMCompareLabels()
7712 eq = PETSC_FALSE; in DMCompareLabels()
7715 PetscCall(DMLabelCompare(comm, l0, l1, &eq, &msgInner)); in DMCompareLabels()
7718 if (!eq) break; in DMCompareLabels()
7720 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &eq, 1, MPI_C_BOOL, MPI_LAND, comm)); in DMCompareLabels()
7731 if (equal) *equal = eq; in DMCompareLabels()
7732 else PetscCheck(eq, comm, PETSC_ERR_ARG_INCOMP, "DMLabels are not the same in dm0 and dm1"); in DMCompareLabels()