Lines Matching refs:V
25 Vec V; in Event() local
30 PetscCall(TS2GetSolution(ts, &U, &V)); in Event()
40 Vec V; in PostEvent() local
50 PetscCall(TS2GetSolution(ts, &U, &V)); in PostEvent()
52 PetscCall(VecGetArray(V, &v)); in PostEvent()
56 PetscCall(VecRestoreArray(V, &v)); in PostEvent()
68 static PetscErrorCode I2Function(TS ts, PetscReal t, Vec U, Vec V, Vec A, Vec F, PetscCtx ctx) in I2Function() argument
76 PetscCall(VecGetArrayRead(V, &v)); in I2Function()
80 PetscCall(VecRestoreArrayRead(V, &v)); in I2Function()
89 static PetscErrorCode I2Jacobian(TS ts, PetscReal t, Vec U, Vec V, Vec A, PetscReal shiftV, PetscRe… in I2Jacobian() argument
98 PetscCall(VecGetArrayRead(V, &v)); in I2Jacobian()
102 PetscCall(VecRestoreArrayRead(V, &v)); in I2Jacobian()
119 Vec U, V; /* solution will be stored here */ in main() local
169 PetscCall(MatCreateVecs(J, &V, NULL)); in main()
171 PetscCall(VecGetArray(V, &v)); in main()
175 PetscCall(VecRestoreArray(V, &v)); in main()
177 PetscCall(TS2SetSolution(ts, U, V)); in main()
182 PetscCall(VecDestroy(&V)); in main()