Lines Matching refs:Y
5 Vec Y; member
11 Vec X, Y, E; in TSAdaptChoose_GLEE() local
26 if (!glee->Y && adapt->glee_use_local) { in TSAdaptChoose_GLEE()
27 PetscCall(VecDuplicate(X, &glee->Y)); /*create vector to store previous step global error*/ in TSAdaptChoose_GLEE()
28 …PetscCall(VecZeroEntries(glee->Y)); /*set error to zero on the first step - may not work if erro… in TSAdaptChoose_GLEE()
34 …if (adapt->glee_use_local) PetscCall(VecAXPY(E, -1.0, glee->Y)); /* local error = current error - … in TSAdaptChoose_GLEE()
42 if (!glee->Y) PetscCall(VecDuplicate(X, &glee->Y)); in TSAdaptChoose_GLEE()
43 Y = glee->Y; in TSAdaptChoose_GLEE()
44 PetscCall(TSEvaluateStep(ts, order - 1, Y, NULL)); in TSAdaptChoose_GLEE()
45 PetscCall(TSErrorWeightedNorm(ts, X, Y, adapt->wnormtype, &enorm, &enorma, &enormr)); in TSAdaptChoose_GLEE()
78 PetscCall(TSGetTimeError(ts, 0, &glee->Y)); in TSAdaptChoose_GLEE()
120 PetscCall(VecDestroy(&glee->Y)); in TSAdaptReset_GLEE()