Lines Matching refs:Ydot

1337 …Vec             *Y = ark->Y, *YdotI = ark->YdotI, *YdotRHS = ark->YdotRHS, Ydot = ark->Ydot, Ydot0…  in TSStep_ARKIMEX()  local
1492 PetscCall(VecZeroEntries(Ydot)); in TSStep_ARKIMEX()
1493 …PetscCall(TSComputeIFunction(ts, t + h * ct[i], Y[i], Ydot, YdotI[i], ark->imex)); /* YdotI = -G(t… in TSStep_ARKIMEX()
1567 …Vec *Y = ark->Y, Ydot = ark->Ydot, *VecsDeltaLam = ark->VecsDeltaLam, *VecsSensiTemp =… in TSAdjointStep_ARKIMEX() local
1591 …PetscCall(TSComputeIJacobianP(ts, ark->stage_time, Y[i], Ydot, ark->scoeff / adjoint_time_step, ts… in TSAdjointStep_ARKIMEX()
1769 PetscCall(VecDestroy(&ark->Ydot)); in TSReset_ARKIMEX()
1789 static PetscErrorCode TSARKIMEXGetVecs(TS ts, DM dm, Vec *Z, Vec *Ydot) in TSARKIMEXGetVecs() argument
1798 if (Ydot) { in TSARKIMEXGetVecs()
1799 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSARKIMEX_Ydot", Ydot)); in TSARKIMEXGetVecs()
1800 else *Ydot = ax->Ydot; in TSARKIMEXGetVecs()
1805 static PetscErrorCode TSARKIMEXRestoreVecs(TS ts, DM dm, Vec *Z, Vec *Ydot) in TSARKIMEXRestoreVecs() argument
1811 if (Ydot) { in TSARKIMEXRestoreVecs()
1812 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSARKIMEX_Ydot", Ydot)); in TSARKIMEXRestoreVecs()
1876 Vec Z, Ydot; in SNESTSFormFunction_ARKIMEX() local
1881 PetscCall(TSARKIMEXGetVecs(ts, dm, &Z, &Ydot)); in SNESTSFormFunction_ARKIMEX()
1900 PetscCall(VecAXPBYPCZ(Ydot, -shift, shift, 0, Z, X)); /* Ydot = shift*(X-Z) */ in SNESTSFormFunction_ARKIMEX()
1901 PetscCall(TSComputeIFunction(ts, ark->stage_time, X, Ydot, F, ark->imex)); in SNESTSFormFunction_ARKIMEX()
1905 PetscCall(TSARKIMEXRestoreVecs(ts, dm, &Z, &Ydot)); in SNESTSFormFunction_ARKIMEX()
1913 Vec Ydot, Z; in SNESTSFormJacobian_ARKIMEX() local
1920 PetscCall(TSARKIMEXGetVecs(ts, dm, &Z, &Ydot)); in SNESTSFormJacobian_ARKIMEX()
1946 PetscCall(TSComputeIJacobian(ts, ark->stage_time, X, Ydot, shift, A, B, ark->imex)); in SNESTSFormJacobian_ARKIMEX()
1949 PetscCall(TSARKIMEXRestoreVecs(ts, dm, &Z, &Ydot)); in SNESTSFormJacobian_ARKIMEX()
2036 PetscCall(VecDuplicate(ts->vec_sol, &ark->Ydot)); in TSSetUp_ARKIMEX()