Lines Matching refs:X0
23 Vec X0, Xa, X1; member
44 PetscCall(TSResizeRegisterVec(ts, "ts:theta:X0", th->X0)); in TSResizeRegister_Alpha()
48 PetscCall(TSResizeRetrieveVec(ts, "ts:theta:X0", &th->X0)); in TSResizeRegister_Alpha()
49 PetscCall(PetscObjectReference((PetscObject)th->X0)); in TSResizeRegister_Alpha()
75 Vec X0 = th->X0, V0 = th->V0; in TSAlpha_StageVecs() local
83 PetscCall(VecWAXPY(V1, -1.0, X0, X1)); in TSAlpha_StageVecs()
86 PetscCall(VecWAXPY(Xa, -1.0, X0, X1)); in TSAlpha_StageVecs()
87 PetscCall(VecAYPX(Xa, Alpha_f, X0)); in TSAlpha_StageVecs()
118 Vec X0 = ts->vec_sol, X1, X2 = th->X1; in TSAlpha_Restart() local
122 PetscCall(VecDuplicate(X0, &X1)); in TSAlpha_Restart()
135 PetscCall(VecCopy(X0, th->X0)); in TSAlpha_Restart()
137 PetscCall(VecCopy(th->X0, X1)); in TSAlpha_Restart()
145 PetscCall(VecCopy(X1, th->X0)); in TSAlpha_Restart()
147 PetscCall(VecCopy(th->X0, X2)); in TSAlpha_Restart()
155 PetscCall(VecAXPY(th->V0, -3 / time_step, X0)); in TSAlpha_Restart()
164 PetscCall(VecAXPY(th->vec_lte_work, +2, X0)); in TSAlpha_Restart()
173 PetscCall(VecCopy(ts->vec_sol, th->X0)); in TSAlpha_Restart()
190 if (th->vec_sol_prev) PetscCall(VecCopy(th->X0, th->vec_sol_prev)); in TSStep_Alpha()
191 PetscCall(VecCopy(ts->vec_sol, th->X0)); in TSStep_Alpha()
203 PetscCall(VecCopy(th->X0, th->X1)); in TSStep_Alpha()
215 PetscCall(VecCopy(th->X0, ts->vec_sol)); in TSStep_Alpha()
264 vecs[1] = th->X0; in TSEvaluateWLTE_Alpha()
281 PetscCall(VecWAXPY(th->V1, -1.0, th->X0, ts->vec_sol)); in TSInterpolate_Alpha()
323 PetscCall(VecDestroy(&th->X0)); in TSReset_Alpha()
352 if (!th->X0) PetscCall(VecDuplicate(ts->vec_sol, &th->X0)); in TSSetUp_Alpha()