Lines Matching refs:next_h

185 …etscInt cur, PetscReal h, PetscReal tleft, PetscInt *next_sc, PetscReal *next_h, PetscBool *finish)  in TSGLLEAdaptChoose()  argument
193 PetscAssertPointer(next_h, 10); in TSGLLEAdaptChoose()
195 …PetscUseTypeMethod(adapt, choose, n, orders, errors, cost, cur, h, tleft, next_sc, next_h, finish); in TSGLLEAdaptChoose()
226 …etscInt cur, PetscReal h, PetscReal tleft, PetscInt *next_sc, PetscReal *next_h, PetscBool *finish) in TSGLLEAdaptChoose_None() argument
230 *next_h = h; in TSGLLEAdaptChoose_None()
231 if (*next_h > tleft) { in TSGLLEAdaptChoose_None()
233 *next_h = tleft; in TSGLLEAdaptChoose_None()
254 …etscInt cur, PetscReal h, PetscReal tleft, PetscInt *next_sc, PetscReal *next_h, PetscBool *finish) in TSGLLEAdaptChoose_Size() argument
268 if (last_desired_h > 1e-14) *next_h = PetscSqrtReal(last_desired_h * sz->desired_h); in TSGLLEAdaptChoose_Size()
269 else *next_h = sz->desired_h; in TSGLLEAdaptChoose_Size()
271 if (*next_h > tleft) { in TSGLLEAdaptChoose_Size()
273 *next_h = tleft; in TSGLLEAdaptChoose_Size()
295 …etscInt cur, PetscReal h, PetscReal tleft, PetscInt *next_sc, PetscReal *next_h, PetscBool *finish) in TSGLLEAdaptChoose_Both() argument
322 …*next_h = (both->count_at_order > 0) ? PetscSqrtReal(last_desired_h * both->desired_h) : b… in TSGLLEAdaptChoose_Both()
327 *next_h = PetscMax(h * rat * dec, PetscMin(h * rat * inc, best.h)); in TSGLLEAdaptChoose_Both()
332 if (*next_h > tleft) { in TSGLLEAdaptChoose_Both()
334 *next_h = tleft; in TSGLLEAdaptChoose_Both()