Lines Matching refs:Y

71 PetscErrorCode RHSFunction_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec F, void *s)  in RHSFunction_Hull1972A1()  argument
77 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972A1()
80 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972A1()
85 PetscErrorCode RHSJacobian_Hull1972A1(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A1() argument
92 PetscCall(VecGetArrayRead(Y, &y)); in RHSJacobian_Hull1972A1()
96 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSJacobian_Hull1972A1()
100 PetscErrorCode IFunction_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A1() argument
106 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972A1()
109 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972A1()
116 PetscErrorCode IJacobian_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972A1() argument
123 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972A1()
127 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972A1()
133 PetscErrorCode RHSFunction_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A2() argument
139 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972A2()
142 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972A2()
147 PetscErrorCode RHSJacobian_Hull1972A2(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A2() argument
154 PetscCall(VecGetArrayRead(Y, &y)); in RHSJacobian_Hull1972A2()
159 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSJacobian_Hull1972A2()
163 PetscErrorCode IFunction_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A2() argument
169 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972A2()
172 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972A2()
179 PetscErrorCode IJacobian_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972A2() argument
186 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972A2()
191 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972A2()
197 PetscErrorCode RHSFunction_Hull1972A3(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A3() argument
203 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972A3()
206 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972A3()
211 PetscErrorCode RHSJacobian_Hull1972A3(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A3() argument
218 PetscCall(VecGetArrayRead(Y, &y)); in RHSJacobian_Hull1972A3()
222 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSJacobian_Hull1972A3()
226 PetscErrorCode IFunction_Hull1972A3(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A3() argument
232 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972A3()
235 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972A3()
242 PetscErrorCode IJacobian_Hull1972A3(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972A3() argument
249 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972A3()
253 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972A3()
259 PetscErrorCode RHSFunction_Hull1972A4(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A4() argument
265 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972A4()
268 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972A4()
273 PetscErrorCode RHSJacobian_Hull1972A4(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A4() argument
280 PetscCall(VecGetArrayRead(Y, &y)); in RHSJacobian_Hull1972A4()
285 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSJacobian_Hull1972A4()
289 PetscErrorCode IFunction_Hull1972A4(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A4() argument
295 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972A4()
298 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972A4()
305 PetscErrorCode IJacobian_Hull1972A4(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972A4() argument
312 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972A4()
317 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972A4()
323 PetscErrorCode RHSFunction_Hull1972A5(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A5() argument
329 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972A5()
332 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972A5()
337 PetscErrorCode RHSJacobian_Hull1972A5(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A5() argument
344 PetscCall(VecGetArrayRead(Y, &y)); in RHSJacobian_Hull1972A5()
349 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSJacobian_Hull1972A5()
353 PetscErrorCode IFunction_Hull1972A5(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A5() argument
359 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972A5()
362 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972A5()
369 PetscErrorCode IJacobian_Hull1972A5(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972A5() argument
376 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972A5()
381 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972A5()
387 PetscErrorCode RHSFunction_Hull1972B1(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972B1() argument
393 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972B1()
397 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972B1()
402 PetscErrorCode IFunction_Hull1972B1(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972B1() argument
408 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972B1()
412 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972B1()
419 PetscErrorCode IJacobian_Hull1972B1(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972B1() argument
426 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972B1()
434 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972B1()
440 PetscErrorCode RHSFunction_Hull1972B2(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972B2() argument
446 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972B2()
451 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972B2()
456 PetscErrorCode IFunction_Hull1972B2(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972B2() argument
462 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972B2()
467 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972B2()
474 PetscErrorCode IJacobian_Hull1972B2(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972B2() argument
481 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972B2()
494 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972B2()
500 PetscErrorCode RHSFunction_Hull1972B3(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972B3() argument
506 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972B3()
511 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972B3()
516 PetscErrorCode IFunction_Hull1972B3(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972B3() argument
522 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972B3()
527 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972B3()
534 PetscErrorCode IJacobian_Hull1972B3(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972B3() argument
541 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972B3()
554 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972B3()
560 PetscErrorCode RHSFunction_Hull1972B4(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972B4() argument
566 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972B4()
571 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972B4()
576 PetscErrorCode IFunction_Hull1972B4(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972B4() argument
582 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972B4()
587 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972B4()
594 PetscErrorCode IJacobian_Hull1972B4(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972B4() argument
601 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972B4()
616 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972B4()
622 PetscErrorCode RHSFunction_Hull1972B5(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972B5() argument
628 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972B5()
633 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972B5()
638 PetscErrorCode IFunction_Hull1972B5(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972B5() argument
644 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972B5()
649 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972B5()
656 PetscErrorCode IJacobian_Hull1972B5(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972B5() argument
663 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972B5()
676 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972B5()
682 PetscErrorCode RHSFunction_Kulikov2013I(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Kulikov2013I() argument
688 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Kulikov2013I()
694 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Kulikov2013I()
699 PetscErrorCode RHSJacobian_Kulikov2013I(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Kulikov2013I() argument
707 PetscCall(VecGetArrayRead(Y, &y)); in RHSJacobian_Kulikov2013I()
731 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSJacobian_Kulikov2013I()
735 PetscErrorCode IFunction_Kulikov2013I(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Kulikov2013I() argument
741 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Kulikov2013I()
747 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Kulikov2013I()
754 PetscErrorCode IJacobian_Kulikov2013I(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat … in IJacobian_Kulikov2013I() argument
762 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Kulikov2013I()
786 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Kulikov2013I()
792 PetscErrorCode RHSFunction_Hull1972C1(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972C1() argument
799 PetscCall(VecGetSize(Y, &N)); in RHSFunction_Hull1972C1()
800 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972C1()
805 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972C1()
810 PetscErrorCode IFunction_Hull1972C1(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972C1() argument
817 PetscCall(VecGetSize(Y, &N)); in IFunction_Hull1972C1()
818 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972C1()
823 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972C1()
830 PetscErrorCode IJacobian_Hull1972C1(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972C1() argument
837 PetscCall(VecGetSize(Y, &N)); in IJacobian_Hull1972C1()
838 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972C1()
860 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972C1()
866 PetscErrorCode RHSFunction_Hull1972C2(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972C2() argument
873 PetscCall(VecGetSize(Y, &N)); in RHSFunction_Hull1972C2()
874 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972C2()
879 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972C2()
884 PetscErrorCode IFunction_Hull1972C2(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972C2() argument
891 PetscCall(VecGetSize(Y, &N)); in IFunction_Hull1972C2()
892 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972C2()
897 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972C2()
904 PetscErrorCode IJacobian_Hull1972C2(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972C2() argument
911 PetscCall(VecGetSize(Y, &N)); in IJacobian_Hull1972C2()
912 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972C2()
934 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972C2()
940 PetscErrorCode RHSFunction_Hull1972C34(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972C34() argument
947 PetscCall(VecGetSize(Y, &N)); in RHSFunction_Hull1972C34()
948 PetscCall(VecGetArrayRead(Y, &y)); in RHSFunction_Hull1972C34()
953 PetscCall(VecRestoreArrayRead(Y, &y)); in RHSFunction_Hull1972C34()
958 PetscErrorCode IFunction_Hull1972C34(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972C34() argument
965 PetscCall(VecGetSize(Y, &N)); in IFunction_Hull1972C34()
966 PetscCall(VecGetArrayRead(Y, &y)); in IFunction_Hull1972C34()
971 PetscCall(VecRestoreArrayRead(Y, &y)); in IFunction_Hull1972C34()
978 PetscErrorCode IJacobian_Hull1972C34(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B… in IJacobian_Hull1972C34() argument
985 PetscCall(VecGetSize(Y, &N)); in IJacobian_Hull1972C34()
986 PetscCall(VecGetArrayRead(Y, &y)); in IJacobian_Hull1972C34()
1014 PetscCall(VecRestoreArrayRead(Y, &y)); in IJacobian_Hull1972C34()
1021 PetscErrorCode Initialize(Vec Y, void *s) in Initialize() argument
1031 PetscCall(VecZeroEntries(Y)); in Initialize()
1032 PetscCall(VecGetArray(Y, &y)); in Initialize()
1124 PetscCall(VecRestoreArray(Y, &y)); in Initialize()
1129 PetscErrorCode ExactSolution(Vec Y, void *s, PetscReal t, PetscBool *flag) in ExactSolution() argument
1136 PetscCall(VecGetArray(Y, &y)); in ExactSolution()
1139 PetscCall(VecRestoreArray(Y, &y)); in ExactSolution()
1141 PetscCall(VecGetArray(Y, &y)); in ExactSolution()
1144 PetscCall(VecRestoreArray(Y, &y)); in ExactSolution()
1146 PetscCall(VecGetArray(Y, &y)); in ExactSolution()
1149 PetscCall(VecRestoreArray(Y, &y)); in ExactSolution()
1151 PetscCall(VecGetArray(Y, &y)); in ExactSolution()
1154 PetscCall(VecRestoreArray(Y, &y)); in ExactSolution()
1156 PetscCall(VecGetArray(Y, &y)); in ExactSolution()
1162 PetscCall(VecRestoreArray(Y, &y)); in ExactSolution()
1164 PetscCall(VecSet(Y, 0)); in ExactSolution()
1174 Vec Y; /* Solution vector */ in SolveODE() local
1186 PetscCall(VecCreate(PETSC_COMM_WORLD, &Y)); in SolveODE()
1187 PetscCall(VecSetSizes(Y, N, PETSC_DECIDE)); in SolveODE()
1188 PetscCall(VecSetUp(Y)); in SolveODE()
1189 PetscCall(VecSet(Y, 0)); in SolveODE()
1192 PetscCall(Initialize(Y, &ptype[0])); in SolveODE()
1205 PetscCall(TSSetSolution(ts, Y)); in SolveODE()
1229 PetscCall(TSSolve(ts, Y)); in SolveODE()
1233 PetscCall(VecDuplicate(Y, &Yerr)); in SolveODE()
1241 PetscCall(VecDuplicate(Y, &Yex)); in SolveODE()
1246 PetscCall(VecAYPX(Yex, -1.0, Y)); in SolveODE()
1254 PetscCall(VecDestroy(&Y)); in SolveODE()