Lines Matching refs:test
69 PetscInt test, ntest = 2; in main() local
173 for (test = 0; test < ntest; test++) { in main()
177 …(!flg) PetscCall(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error mult add\n", test)); in main()
179 …scCall(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error mult transpose add\n", test)); in main()
181 …scPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error mult Hermitian transpose add\n", test)); in main()
188 if (rank == (test % size)) { in main()
191 if (test % 2) { in main()
192 idxs[0] = (2 * M - 1 - test / 2) % M; in main()
194 idxs[0] = (test / 2) % M; in main()
229 if (test % 2) { in main()
230 idxs[0] = (3 * M - 2 - test / 2) % M; in main()
232 idxs[0] = (test / 2 + 1) % M; in main()
253 …tscCall(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error b %g\n", test, (double)err)); in main()
275 …ETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error mat mult after %s %g\n", test, ronl ? "MatZeroRow… in main()
280 …WORLD, "[test %" PetscInt_FMT "] Error mat mult transpose after %s %g\n", test, ronl ? "MatZeroRow… in main()
296 PetscCall(VecSet(vr, test % 2 ? 0.15 : 1.0 / 0.15)); in main()
297 PetscCall(VecSet(vl, test % 2 ? -1.2 : 1.0 / -1.2)); in main()
306 PetscCall(MatScale(A, test % 2 ? 1.4 : 1.0 / 1.4)); in main()
307 PetscCall(MatScale(S, test % 2 ? 1.4 : 1.0 / 1.4)); in main()
311 PetscCall(MatShift(A, test % 2 ? -77.5 : 77.5)); in main()
312 PetscCall(MatShift(S, test % 2 ? -77.5 : 77.5)); in main()
324 …Call(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error diag %g\n", test, (double)err)); in main()
329 if (testdup && !test) { in main()
352 …scCall(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error submatrix mult add\n", test)); in main()
354 …ll(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error submatrix mult add (T)\n", test)); in main()
359 …cPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error mat submatrix %g\n", test, (double)err)); in main()
369 …ll(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error submatrix (T) mult add\n", test)); in main()
371 …etscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error submatrix (T) mult add (T)\n", test)); in main()
376 …ntf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error mat submatrix (T) %g\n", test, (double)err)); in main()
392 if (testaxpyd && !(test % 2)) { in main()
399 PetscCall(MatAXPY(A, 0.5, tA, str[test % 3])); in main()
400 PetscCall(MatAXPY(S, 0.5, tS, str[test % 3])); in main()
406 …) PetscCall(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error axpy mult add\n", test)); in main()
408 …tscCall(PetscPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error axpy mult add (T)\n", test)); in main()
413 …cPrintf(PETSC_COMM_WORLD, "[test %" PetscInt_FMT "] Error mat submatrix %g\n", test, (double)err)); in main()
418 if (testreset && (ntest == 1 || test == ntest - 2)) { in main()