Lines Matching refs:time_step
58 PetscReal dt = ts->time_step; in TSAlpha_StageTime()
76 PetscReal dt = ts->time_step; in TSAlpha_StageVecs()
116 PetscReal time_step; in TSAlpha_Restart() local
127 PetscCall(TSGetTimeStep(ts, &time_step)); in TSAlpha_Restart()
128 ts->time_step = time_step / 2; in TSAlpha_Restart()
134 th->stage_time += ts->time_step; in TSAlpha_Restart()
144 th->stage_time += ts->time_step; in TSAlpha_Restart()
155 PetscCall(VecAXPY(th->V0, -3 / time_step, X0)); in TSAlpha_Restart()
156 PetscCall(VecAXPY(th->V0, +4 / time_step, X1)); in TSAlpha_Restart()
157 PetscCall(VecAXPY(th->V0, -1 / time_step, X2)); in TSAlpha_Restart()
171 PetscCall(TSSetTimeStep(ts, 2 * ts->time_step)); in TSAlpha_Restart()
184 PetscReal next_time_step = ts->time_step; in TSStep_Alpha()
212 PetscCall(TSAdaptChoose(ts->adapt, ts, ts->time_step, NULL, &next_time_step, &accept)); in TSStep_Alpha()
216 ts->time_step = next_time_step; in TSStep_Alpha()
220 ts->ptime += ts->time_step; in TSStep_Alpha()
221 ts->time_step = next_time_step; in TSStep_Alpha()
256 PetscReal h = ts->time_step, h_prev = ts->ptime - ts->ptime_prev; in TSEvaluateWLTE_Alpha()
282 PetscCall(VecAXPBY(th->V1, 1 - 1 / Gamma, 1 / (Gamma * ts->time_step), th->V0)); in TSInterpolate_Alpha()