Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/utils/
H A Dsfutils.c735 PetscBool areIndicesSame; in PetscSFCreateByMatchingIndices() local
751 areIndicesSame = (PetscBool)(leafIndices == rootIndices); in PetscSFCreateByMatchingIndices()
752 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &areIndicesSame, 1, MPI_C_BOOL, MPI_LAND, comm)); in PetscSFCreateByMatchingIndices()
753 …PetscCheck(!areIndicesSame || numLeafIndices == numRootIndices, PETSC_COMM_SELF, PETSC_ERR_ARG_WRO… in PetscSFCreateByMatchingIndices()
760 if (!areIndicesSame) { in PetscSFCreateByMatchingIndices()
786 if (!areIndicesSame) { in PetscSFCreateByMatchingIndices()
799 …if (areIndicesSame && rootLocalIndices == leafLocalIndices && leafLocalOffset == rootLocalOffset) { in PetscSFCreateByMatchingIndices()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1035 PetscBool areIndicesSame; in PetscSFFindMatchingIndices() local
1048 areIndicesSame = (PetscBool)(leafIndices == rootIndices); in PetscSFFindMatchingIndices()
1049 PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &areIndicesSame, 1, MPI_C_BOOL, MPI_LAND, comm)); in PetscSFFindMatchingIndices()
1050 …PetscCheck(!areIndicesSame || numLeafIndices == numRootIndices, PETSC_COMM_SELF, PETSC_ERR_ARG_WRO… in PetscSFFindMatchingIndices()
1057 if (!areIndicesSame) { in PetscSFFindMatchingIndices()
1099 …if (!areIndicesSame) PetscCall(PetscSFSetGraphLayout(sf1, layout, numLeafIndices, NULL, PETSC_OWN_… in PetscSFFindMatchingIndices()