Searched refs:squaretest (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex23.c | 27 PetscBool testT, squaretest, isaij; in main() local 118 PetscCall(MatHasCongruentLayouts(A, &squaretest)); in main() 119 if (squaretest && rmap != cmap) { in main() 124 if (nr != nc) squaretest = PETSC_FALSE; in main() 128 PetscCall(PetscArraycmp(idxs1, idxs2, nr, &squaretest)); in main() 132 …PetscCallMPI(MPIU_Allreduce(MPI_IN_PLACE, &squaretest, 1, MPI_C_BOOL, MPI_LAND, PetscObjectComm((P… in main() 134 if (negmap && repmap) squaretest = PETSC_FALSE; in main() 586 if (squaretest) { /* tests for square matrices only, with same maps for rows and columns */ in main() 652 PetscCall(TestMatZeroRows(A, B, squaretest, is, 0.0, PETSC_FALSE)); in main() 653 PetscCall(TestMatZeroRows(A, B, squaretest, lis, 0.0, PETSC_TRUE)); in main() [all …]
|