Home
last modified time | relevance | path

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

/petsc/src/vec/is/utils/
H A Dpmap.c593 PetscErrorCode PetscLayoutCompare(PetscLayout mapa, PetscLayout mapb, PetscBool *congruent) in PetscLayoutCompare() argument
596 *congruent = PETSC_FALSE; in PetscLayoutCompare()
597 …>size == mapb->size) PetscCall(PetscArraycmp(mapa->range, mapb->range, mapa->size + 1, congruent)); in PetscLayoutCompare()
/petsc/src/vec/is/section/interface/
H A Dsection.c250 PetscErrorCode PetscSectionCompare(PetscSection s1, PetscSection s2, PetscBool *congruent) in PetscSectionCompare() argument
261 PetscAssertPointer(congruent, 3); in PetscSectionCompare()
266 *congruent = PETSC_FALSE; in PetscSectionCompare()
277 PetscCall(ISEqual(perm1, perm2, congruent)); in PetscSectionCompare()
278 if (!*congruent) goto not_congruent; in PetscSectionCompare()
296 PetscCall(PetscArraycmp(idx1, idx2, ncdof, congruent)); in PetscSectionCompare()
297 if (!*congruent) goto not_congruent; in PetscSectionCompare()
324 PetscCall(PetscArraycmp(idx1, idx2, nfcdof, congruent)); in PetscSectionCompare()
325 if (!*congruent) goto not_congruent; in PetscSectionCompare()
331 …PetscCallMPI(MPIU_Allreduce(&flg, congruent, 1, MPI_C_BOOL, MPI_LAND, PetscObjectComm((PetscObject… in PetscSectionCompare()
/petsc/src/mat/impls/shell/
H A Dshell.c367 PetscBool congruent; in MatZeroRowsColumns_Shell() local
415 PetscCall(MatHasCongruentLayouts(mat, &congruent)); in MatZeroRowsColumns_Shell()
416 if (congruent) { in MatZeroRowsColumns_Shell()
429 if (!congruent) PetscCall(PetscFree(lcols)); in MatZeroRowsColumns_Shell()
/petsc/src/mat/impls/aij/mpi/kokkos/
H A Dmpiaijkok.kokkos.cxx1686 PetscBool congruent; in MatShift_MPIAIJKokkos() local
1689 PetscCall(MatHasCongruentLayouts(A, &congruent)); in MatShift_MPIAIJKokkos()
1690 if (congruent) { // square matrix and the diagonals are solely in the diag block in MatShift_MPIAIJKokkos()