Searched refs:tshn (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/ts/trajectory/utils/ |
| H A D | reconstruct.c | 54 PetscInt id, cnt, i, tshn; in TSTrajectoryReconstruct_Private() local 58 PetscCall(TSHistoryGetHistory(tsh, &tshn, &tshhist, &tshhist_id, NULL)); in TSTrajectoryReconstruct_Private() 59 if (id == -1 || id == -tshn - 1) { in TSTrajectoryReconstruct_Private() 60 PetscReal t0 = tshn ? tshhist[0] : 0.0; in TSTrajectoryReconstruct_Private() 61 PetscReal tf = tshn ? tshhist[tshn - 1] : 0.0; in TSTrajectoryReconstruct_Private() 62 …tside the history interval [%g, %g] (%" PetscInt_FMT ")", (double)t, (double)t0, (double)tf, tshn); in TSTrajectoryReconstruct_Private() 76 PetscInt up = PetscMin(nid + tj->lag.order / 2 + 1, tshn); in TSTrajectoryReconstruct_Private() 78 up = PetscMin(PetscMax(low + tj->lag.order + 1, up), tshn); in TSTrajectoryReconstruct_Private()
|