Lines Matching refs:time_step
161 th->ptime0 = ts->ptime + ts->time_step; in TSAdjointCostIntegral_Theta()
162 th->time_step0 = -ts->time_step; in TSAdjointCostIntegral_Theta()
202 PetscReal next_time_step = ts->time_step; in TSStep_Theta()
212 th->shift = 1 / (th->Theta * ts->time_step); in TSStep_Theta()
213 th->stage_time = ts->ptime + (th->endpoint ? (PetscReal)1 : th->Theta) * ts->time_step; in TSStep_Theta()
234 PetscCall(VecAXPY(ts->vec_sol, ts->time_step, th->Xdot)); in TSStep_Theta()
235 … PetscCall(TSAdaptCheckStage(ts->adapt, ts, ts->ptime + ts->time_step, ts->vec_sol, &stageok)); in TSStep_Theta()
244 PetscCall(TSAdaptChoose(ts->adapt, ts, ts->time_step, NULL, &next_time_step, &accept)); in TSStep_Theta()
248 ts->time_step = next_time_step; in TSStep_Theta()
254 th->time_step0 = ts->time_step; in TSStep_Theta()
256 ts->ptime += ts->time_step; in TSStep_Theta()
257 ts->time_step = next_time_step; in TSStep_Theta()
301 adjoint_time_step = -ts->time_step; /* always positive since time_step is negative */ in TSAdjointStepBEuler_Private()
442 th->stage_time = th->endpoint ? ts->ptime : (ts->ptime + (1. - th->Theta) * ts->time_step); in TSAdjointStep_Theta()
443 adjoint_ptime = ts->ptime + ts->time_step; in TSAdjointStep_Theta()
444 adjoint_time_step = -ts->time_step; /* always positive since time_step is negative */ in TSAdjointStep_Theta()
706 PetscReal h = ts->time_step, h_prev = ts->ptime - ts->ptime_prev; in TSEvaluateWLTE_Theta()
1040 th->shift = 1 / (th->Theta * ts->time_step); in TSSetUp_Theta()