Lines Matching refs:hist
4 TSHistory hist; member
14 …PetscCheck(thadapt->hist, PetscObjectComm((PetscObject)adapt), PETSC_ERR_ORDER, "Need to call TSAd… in TSAdaptChoose_History()
16 PetscCall(TSHistoryGetTimeStep(thadapt->hist, thadapt->bw, step + 1, next_h)); in TSAdaptChoose_History()
30 PetscCall(TSHistoryDestroy(&thadapt->hist)); in TSAdaptReset_History()
43 PetscErrorCode TSAdaptHistorySetTSHistory(TSAdapt adapt, TSHistory hist, PetscBool backward) in TSAdaptHistorySetTSHistory() argument
54 PetscCall(TSHistoryGetHistory(hist, &n, (const PetscReal **)&hist_t, NULL, NULL)); in TSAdaptHistorySetTSHistory()
90 PetscCall(TSHistoryGetTimeStep(thadapt->hist, thadapt->bw, step, dt)); in TSAdaptHistoryGetStep()
91 PetscCall(TSHistoryGetTime(thadapt->hist, thadapt->bw, step, t)); in TSAdaptHistoryGetStep()
113 PetscErrorCode TSAdaptHistorySetHistory(TSAdapt adapt, PetscInt n, PetscReal hist[], PetscBool back… in TSAdaptHistorySetHistory() argument
121 PetscAssertPointer(hist, 3); in TSAdaptHistorySetHistory()
126 PetscCall(TSHistoryDestroy(&thadapt->hist)); in TSAdaptHistorySetHistory()
127 PetscCall(TSHistoryCreate(PetscObjectComm((PetscObject)adapt), &thadapt->hist)); in TSAdaptHistorySetHistory()
128 PetscCall(TSHistorySetHistory(thadapt->hist, n, hist, NULL, PETSC_FALSE)); in TSAdaptHistorySetHistory()