Lines Matching refs:Udot
40 PetscErrorCode IFunctionPassive(TS ts, PetscReal t, Vec U, Vec Udot, Vec F, AppCtx *ctx) in IFunctionPassive() argument
48 PetscCall(VecGetArrayRead(Udot, &udot)); in IFunctionPassive()
54 PetscCall(VecRestoreArrayRead(Udot, &udot)); in IFunctionPassive()
62 PetscErrorCode IFunctionActive1(TS ts, PetscReal t, Vec U, Vec Udot, Vec F, AppCtx *ctx) in IFunctionActive1() argument
73 PetscCall(VecGetArrayRead(Udot, &udot)); in IFunctionActive1()
91 PetscCall(VecRestoreArrayRead(Udot, &udot)); in IFunctionActive1()
99 PetscErrorCode IFunctionActive2(TS ts, PetscReal t, Vec U, Vec Udot, Vec F, AppCtx *ctx) in IFunctionActive2() argument
110 PetscCall(VecGetArrayRead(Udot, &udot)); in IFunctionActive2()
128 PetscCall(VecRestoreArrayRead(Udot, &udot)); in IFunctionActive2()
137 PetscErrorCode IJacobian(TS ts, PetscReal t, Vec U, Vec Udot, PetscReal a, Mat A, Mat B, AppCtx *ct… in IJacobian() argument
174 Vec U, Udot, R; /* solution, derivative, residual */ in main() local
236 PetscCall(VecDuplicate(U, &Udot)); in main()
238 PetscCall(IFunctionActive1(ts, 0., U, Udot, R, &ctx)); in main()
239 PetscCall(IFunctionActive2(ts, 0., U, Udot, R, &ctx)); in main()
241 PetscCall(VecDestroy(&Udot)); in main()