Lines Matching refs:time_step
90 PetscReal dt = ts->time_step; in TSAlpha_StageTime()
110 PetscReal dt = ts->time_step; in TSAlpha_StageVecs()
158 PetscReal time_step; in TSAlpha_Restart() local
171 PetscCall(TSGetTimeStep(ts, &time_step)); in TSAlpha_Restart()
172 ts->time_step = time_step / 2; in TSAlpha_Restart()
178 th->stage_time += ts->time_step; in TSAlpha_Restart()
190 th->stage_time += ts->time_step; in TSAlpha_Restart()
203 PetscCall(VecAXPY(th->A0, -3 / time_step, V0)); in TSAlpha_Restart()
204 PetscCall(VecAXPY(th->A0, +4 / time_step, V1)); in TSAlpha_Restart()
205 PetscCall(VecAXPY(th->A0, -1 / time_step, V2)); in TSAlpha_Restart()
225 PetscCall(TSSetTimeStep(ts, 2 * ts->time_step)); in TSAlpha_Restart()
240 PetscReal next_time_step = ts->time_step; in TSStep_Alpha()
271 PetscCall(TSAdaptChoose(ts->adapt, ts, ts->time_step, NULL, &next_time_step, &accept)); in TSStep_Alpha()
276 ts->time_step = next_time_step; in TSStep_Alpha()
280 ts->ptime += ts->time_step; in TSStep_Alpha()
281 ts->time_step = next_time_step; in TSStep_Alpha()
327 PetscReal h = ts->time_step, h_prev = ts->ptime - ts->ptime_prev; in TSEvaluateWLTE_Alpha()