Home
last modified time | relevance | path

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

/petsc/src/vec/vec/tutorials/
H A Dex19.c8 Vec x1, x2, *x3ts, *x4ts; in main() local
60 PetscCall(VecDuplicateVecs(x2, n_timesteps, &x4ts)); in main()
62 PetscCall(PetscObjectSetName((PetscObject)x4ts[i], "x4")); in main()
63 PetscCall(VecSetRandom(x4ts[i], rand)); in main()
65 PetscCall(VecView(x4ts[i], viewer)); in main()
122 PetscCall(VecEqual(x4r, x4ts[i], &equal)); in main()
125 PetscCall(VecView(x4ts[i], PETSC_VIEWER_STDOUT_WORLD)); in main()
140 PetscCall(VecDestroyVecs(n_timesteps, &x4ts)); in main()