Lines Matching refs:cur
185 …scInt orders[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, Petsc… in TSGLLEAdaptChoose() argument
195 …PetscUseTypeMethod(adapt, choose, n, orders, errors, cost, cur, h, tleft, next_sc, next_h, finish); in TSGLLEAdaptChoose()
226 …scInt orders[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, Petsc… in TSGLLEAdaptChoose_None() argument
229 *next_sc = cur; in TSGLLEAdaptChoose_None()
254 …scInt orders[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, Petsc… in TSGLLEAdaptChoose_Size() argument
260 *next_sc = cur; in TSGLLEAdaptChoose_Size()
261 optimal = PetscPowReal((PetscReal)errors[cur], (PetscReal)-1. / (safe * orders[cur])); in TSGLLEAdaptChoose_Size()
295 …scInt orders[], const PetscReal errors[], const PetscReal cost[], PetscInt cur, PetscReal h, Petsc… in TSGLLEAdaptChoose_Both() argument
313 if (i == cur) PetscCall(PetscArraycpy(¤t, &trial, 1)); in TSGLLEAdaptChoose_Both()
317 if (best.eff < 1.2 * current.eff || both->count_at_order < orders[cur] + 2) { in TSGLLEAdaptChoose_Both()
325 PetscReal rat = cost[best.id] / cost[cur]; in TSGLLEAdaptChoose_Both()