Lines Matching refs:X1

24   Vec       X0, Xa, X1;  member
75 static PetscErrorCode TSAlpha_ApplyPredictor(TS ts, Vec X1) in TSAlpha_ApplyPredictor() argument
81 if (th->predictor) PetscCall(th->predictor(ts, th->X0, th->V0, th->A0, X1, th->predictor_ctx)); in TSAlpha_ApplyPredictor()
82 else PetscCall(VecCopy(th->X0, X1)); in TSAlpha_ApplyPredictor()
107 Vec X1 = X, V1 = th->V1, A1 = th->A1; in TSAlpha_StageVecs() local
118 PetscCall(VecWAXPY(A1, -1.0, X0, X1)); in TSAlpha_StageVecs()
125 PetscCall(VecWAXPY(Xa, -1.0, X0, X1)); in TSAlpha_StageVecs()
160 Vec X0 = ts->vec_sol, X1, X2 = th->X1; in TSAlpha_Restart() local
165 PetscCall(VecDuplicate(X0, &X1)); in TSAlpha_Restart()
182 PetscCall(TSAlpha_ApplyPredictor(ts, X1)); in TSAlpha_Restart()
183 PetscCall(TSAlpha_SNESSolve(ts, NULL, X1)); in TSAlpha_Restart()
185 PetscCall(TSPostStage(ts, th->stage_time, 0, &X1)); in TSAlpha_Restart()
186 PetscCall(TSAdaptCheckStage(ts->adapt, ts, th->stage_time, X1, &stageok)); in TSAlpha_Restart()
191 PetscCall(VecCopy(X1, th->X0)); in TSAlpha_Restart()
211 PetscCall(VecAXPY(th->vec_lte_work[0], -4, X1)); in TSAlpha_Restart()
230 PetscCall(VecDestroy(&X1)); in TSAlpha_Restart()
261 PetscCall(TSAlpha_ApplyPredictor(ts, th->X1)); in TSStep_Alpha()
263 PetscCall(TSAlpha_SNESSolve(ts, NULL, th->X1)); in TSStep_Alpha()
269 PetscCall(VecCopy(th->X1, ts->vec_sol)); in TSStep_Alpha()
298 Vec X = th->X1; /* X = solution */ in TSEvaluateWLTE_Alpha()
334 vecX[0] = th->X1; in TSEvaluateWLTE_Alpha()
416 PetscCall(VecDestroy(&th->X1)); in TSReset_Alpha()
450 PetscCall(VecDuplicate(ts->vec_sol, &th->X1)); in TSSetUp_Alpha()