Searched refs:isidentity (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/impls/sbaij/mpi/ |
| H A D | mpisbaij.c | 1368 PetscBool isequal, issorted, isidentity = PETSC_FALSE; in MatCreateSubMatrix_MPISBAIJ() local 1384 isidentity = (PetscBool)(mat->cmap->N == csize_local); in MatCreateSubMatrix_MPISBAIJ() 1385 if (!isidentity) { in MatCreateSubMatrix_MPISBAIJ() 1397 …al, csize, isequal || isidentity ? call : MAT_INITIAL_MATRIX, isequal || isidentity ? newmat : C, … in MatCreateSubMatrix_MPISBAIJ() 1398 if (!isequal && !isidentity) { in MatCreateSubMatrix_MPISBAIJ() 1418 if (!isequal && !isidentity) { in MatCreateSubMatrix_MPISBAIJ()
|
| /petsc/src/vec/is/is/interface/ |
| H A D | index.c | 1084 PetscBool isperm, isidentity, issame; in ISInvertPermutation() local 1091 PetscCall(ISGetInfo(is, IS_IDENTITY, IS_GLOBAL, PETSC_TRUE, &isidentity)); in ISInvertPermutation() 1093 if (isidentity) { in ISInvertPermutation()
|