Lines Matching refs:dm1
7675 PetscErrorCode DMCompareLabels(DM dm0, DM dm1, PetscBool *equal, char *message[]) PeNS in DMCompareLabels() argument
7685 PetscValidHeaderSpecific(dm1, DM_CLASSID, 2); in DMCompareLabels()
7686 PetscCheckSameComm(dm0, 1, dm1, 2); in DMCompareLabels()
7695 PetscCall(DMGetNumLabels(dm1, &n1)); in DMCompareLabels()
7709 PetscCall(DMGetLabel(dm1, name, &l1)); in DMCompareLabels()
8938 PetscErrorCode DMGetCompatibility(DM dm1, DM dm2, PetscBool *compatible, PetscBool *set) in DMGetCompatibility() argument
8945 PetscValidHeaderSpecific(dm1, DM_CLASSID, 1); in DMGetCompatibility()
8949 if (dm1 == dm2) { in DMGetCompatibility()
8959 …PetscCallMPI(MPI_Comm_compare(PetscObjectComm((PetscObject)dm1), PetscObjectComm((PetscObject)dm2)… in DMGetCompatibility()
8967 if (dm1->ops->getcompatibility) { in DMGetCompatibility()
8968 PetscUseTypeMethod(dm1, getcompatibility, dm2, compatible, set); in DMGetCompatibility()
8974 PetscCall(DMGetType(dm1, &type)); in DMGetCompatibility()
8978 PetscUseTypeMethod(dm2, getcompatibility, dm1, compatible, set); /* Note argument order */ in DMGetCompatibility()