Lines Matching refs:UV
16 PetscErrorCode f(PetscReal t, Vec UV, Vec F) in f() argument
23 PetscCall(VecGetLocalSize(UV, &n)); in f()
25 PetscCall(VecGetArrayRead(UV, &u)); in f()
29 PetscCall(VecRestoreArrayRead(UV, &u)); in f()
38 PetscErrorCode F(PetscReal t, Vec UV, Vec F) in F() argument
45 PetscCall(VecGetLocalSize(UV, &n)); in F()
47 PetscCall(VecGetArrayRead(UV, &u)); in F()
53 PetscCall(VecRestoreArrayRead(UV, &u)); in F()
70 Vec tsrhs, UV; in main() local
79 PetscCall(VecDuplicate(tsrhs, &UV)); in main()
86 PetscCall(VecSet(UV, 1.0)); in main()
87 PetscCall(TSSolve(ts, UV)); in main()
89 PetscCall(VecDestroy(&UV)); in main()
98 PetscErrorCode TSFunctionRHS(TS ts, PetscReal t, Vec UV, Vec F, void *actx) in TSFunctionRHS() argument
104 PetscCall((*ctx->f)(t, UV, F)); in TSFunctionRHS()
111 PetscErrorCode TSFunctionI(TS ts, PetscReal t, Vec UV, Vec UVdot, Vec F, void *actx) in TSFunctionI() argument
117 PetscCall((*ctx->F)(t, UV, F)); in TSFunctionI()