Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/utils/lmvm/tests/
H A Dlmvm_copy_test.c41 Vec x, y_A, y_B; in testMatEqual() local
46 PetscCall(MatCreateVecs(B, NULL, &y_B)); in testMatEqual()
49 PetscCall(MatMult(B, x, y_B)); in testMatEqual()
50 PetscCall(VecEqualToTolerance(y_A, y_B, NORM_2, PETSC_SMALL, flg)); in testMatEqual()
53 PetscCall(MatSolve(B, x, y_B)); in testMatEqual()
54 PetscCall(VecEqualToTolerance(y_A, y_B, NORM_2, PETSC_SMALL, flg)); in testMatEqual()
58 PetscCall(VecAXPY(y_A, -1.0, y_B)); in testMatEqual()
65 PetscCall(VecAXPY(y_A, -1.0, y_B)); in testMatEqual()
69 PetscCall(VecDestroy(&y_B)); in testMatEqual()