Home
last modified time | relevance | path

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

/petsc/src/ts/impls/implicit/glle/
H A Dglleadapt.c185 PetscErrorCode TSGLLEAdaptChoose(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[], const Pets… in TSGLLEAdaptChoose() argument
189 PetscAssertPointer(orders, 3); in TSGLLEAdaptChoose()
195 …PetscUseTypeMethod(adapt, choose, n, orders, errors, cost, cur, h, tleft, next_sc, next_h, finish); in TSGLLEAdaptChoose()
226 static PetscErrorCode TSGLLEAdaptChoose_None(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[]… in TSGLLEAdaptChoose_None() argument
254 static PetscErrorCode TSGLLEAdaptChoose_Size(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[]… in TSGLLEAdaptChoose_Size() argument
261 optimal = PetscPowReal((PetscReal)errors[cur], (PetscReal)-1. / (safe * orders[cur])); in TSGLLEAdaptChoose_Size()
295 static PetscErrorCode TSGLLEAdaptChoose_Both(TSGLLEAdapt adapt, PetscInt n, const PetscInt orders[]… in TSGLLEAdaptChoose_Both() argument
309 optimal = PetscPowReal((PetscReal)errors[i], (PetscReal)-1. / (safe * orders[i])); in TSGLLEAdaptChoose_Both()
317 if (best.eff < 1.2 * current.eff || both->count_at_order < orders[cur] + 2) { in TSGLLEAdaptChoose_Both()
H A Dglle.c793 PetscInt i, n, cur_p, cur, next_sc, candidates[64], orders[64]; in TSGLLEChooseNextScheme() local
808 orders[n] = PetscMin(sc->p, sc->q); /* order of global truncation error */ in TSGLLEChooseNextScheme()
814 …PetscCall(TSGLLEAdaptChoose(gl->adapt, n, orders, errors, costs, cur, h, tleft, &next_sc, next_h, … in TSGLLEChooseNextScheme()