Home
last modified time | relevance | path

Searched refs:desired_h (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/impls/implicit/glle/
H A Dglleadapt.c251 PetscReal desired_h; member
264 last_desired_h = sz->desired_h; in TSGLLEAdaptChoose_Size()
265 sz->desired_h = h * PetscMax(dec, PetscMin(inc, optimal)); /* Trim to [dec,inc] */ in TSGLLEAdaptChoose_Size()
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()
292 PetscReal desired_h; member
320 last_desired_h = both->desired_h; in TSGLLEAdaptChoose_Both()
321 both->desired_h = PetscMax(h * dec, PetscMin(h * inc, current.h)); in TSGLLEAdaptChoose_Both()
322 … = (both->count_at_order > 0) ? PetscSqrtReal(last_desired_h * both->desired_h) : both->desired_h; in TSGLLEAdaptChoose_Both()
329 both->desired_h = best.h; in TSGLLEAdaptChoose_Both()