Lines Matching refs:Ydot

53   Vec          Ydot;         /* Work vector holding Ydot during residual evaluation */  member
1134 Vec *Y = ros->Y, Ydot = ros->Ydot, Zdot = ros->Zdot, Zstage = ros->Zstage; in TSStep_RosW() local
1187 PetscCall(VecZeroEntries(Ydot)); /* Evaluate Y[i]=G(t,Ydot=0,Zstage) */ in TSStep_RosW()
1188 PetscCall(TSComputeIFunction(ts, ros->stage_time, Zstage, Ydot, Y[i], PETSC_FALSE)); in TSStep_RosW()
1198 … PetscCall(TSComputeIJacobian(ts, ros->stage_time, ts->vec_sol, Ydot, 0, J, Jp, PETSC_FALSE)); in TSStep_RosW()
1308 PetscCall(VecDestroy(&ros->Ydot)); in TSReset_RosW()
1316 static PetscErrorCode TSRosWGetVecs(TS ts, DM dm, Vec *Ydot, Vec *Zdot, Vec *Ystage, Vec *Zstage) in TSRosWGetVecs() argument
1321 if (Ydot) { in TSRosWGetVecs()
1322 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSRosW_Ydot", Ydot)); in TSRosWGetVecs()
1323 else *Ydot = rw->Ydot; in TSRosWGetVecs()
1340 static PetscErrorCode TSRosWRestoreVecs(TS ts, DM dm, Vec *Ydot, Vec *Zdot, Vec *Ystage, Vec *Zstag… in TSRosWRestoreVecs() argument
1343 if (Ydot) { in TSRosWRestoreVecs()
1344 if (dm && dm != ts->dm) PetscCall(DMRestoreNamedGlobalVector(dm, "TSRosW_Ydot", Ydot)); in TSRosWRestoreVecs()
1367 Vec Ydot, Zdot, Ystage, Zstage; in DMRestrictHook_TSRosW() local
1371 PetscCall(TSRosWGetVecs(ts, fine, &Ydot, &Ystage, &Zdot, &Zstage)); in DMRestrictHook_TSRosW()
1373 PetscCall(MatRestrict(restrct, Ydot, Ydotc)); in DMRestrictHook_TSRosW()
1381 PetscCall(TSRosWRestoreVecs(ts, fine, &Ydot, &Ystage, &Zdot, &Zstage)); in DMRestrictHook_TSRosW()
1395 Vec Ydot, Zdot, Ystage, Zstage; in DMSubDomainRestrictHook_TSRosW() local
1399 PetscCall(TSRosWGetVecs(ts, dm, &Ydot, &Ystage, &Zdot, &Zstage)); in DMSubDomainRestrictHook_TSRosW()
1402 PetscCall(VecScatterBegin(gscat, Ydot, Ydots, INSERT_VALUES, SCATTER_FORWARD)); in DMSubDomainRestrictHook_TSRosW()
1403 PetscCall(VecScatterEnd(gscat, Ydot, Ydots, INSERT_VALUES, SCATTER_FORWARD)); in DMSubDomainRestrictHook_TSRosW()
1414 PetscCall(TSRosWRestoreVecs(ts, dm, &Ydot, &Ystage, &Zdot, &Zstage)); in DMSubDomainRestrictHook_TSRosW()
1422 Vec Ydot, Zdot, Ystage, Zstage; in SNESTSFormFunction_RosW() local
1428 PetscCall(TSRosWGetVecs(ts, dm, &Ydot, &Zdot, &Ystage, &Zstage)); in SNESTSFormFunction_RosW()
1429 PetscCall(VecWAXPY(Ydot, shift, U, Zdot)); /* Ydot = shift*U + Zdot */ in SNESTSFormFunction_RosW()
1433 PetscCall(TSComputeIFunction(ts, ros->stage_time, Ystage, Ydot, F, PETSC_FALSE)); in SNESTSFormFunction_RosW()
1435 PetscCall(TSRosWRestoreVecs(ts, dm, &Ydot, &Zdot, &Ystage, &Zstage)); in SNESTSFormFunction_RosW()
1442 Vec Ydot, Zdot, Ystage, Zstage; in SNESTSFormJacobian_RosW() local
1449 PetscCall(TSRosWGetVecs(ts, dm, &Ydot, &Zdot, &Ystage, &Zstage)); in SNESTSFormJacobian_RosW()
1452 PetscCall(TSComputeIJacobian(ts, ros->stage_time, Ystage, Ydot, shift, A, B, PETSC_TRUE)); in SNESTSFormJacobian_RosW()
1454 PetscCall(TSRosWRestoreVecs(ts, dm, &Ydot, &Zdot, &Ystage, &Zstage)); in SNESTSFormJacobian_RosW()
1478 PetscCall(VecDuplicate(ts->vec_sol, &ros->Ydot)); in TSSetUp_RosW()