Home
last modified time | relevance | path

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

/petsc/src/vec/vec/tutorials/
H A Dex44.c7 Vec *x, x_test, y, y_test; in main() local
60 PetscCall(VecConcatenate(nx, (const Vec *)x, &y_test, &x_is)); in main()
62 PetscCall(VecView(y_test, PETSC_VIEWER_STDOUT_WORLD)); in main()
64 PetscCall(VecEqual(y_test, y, &y_equal)); in main()
73 PetscCall(VecDestroy(&y_test)); in main()
74 PetscCall(VecConcatenate(nx, (const Vec *)x, &y_test, NULL)); in main()
76 PetscCall(VecView(y_test, PETSC_VIEWER_STDOUT_WORLD)); in main()
78 PetscCall(VecEqual(y_test, y, &y_equal)); in main()
124 PetscCall(VecZeroEntries(y_test)); in main()
127 PetscCall(VecScatterBegin(x_to_y, x[i], y_test, INSERT_VALUES, SCATTER_FORWARD)); in main()
[all …]