Actual source code: tshistoryimpl.h
petsc-3.13.6 2020-09-29
1: #ifndef __TSHISTORYIMPL_H
4: #include <petsc/private/tsimpl.h>
6: PETSC_EXTERN PetscErrorCode TSHistoryCreate(MPI_Comm,TSHistory*);
7: PETSC_EXTERN PetscErrorCode TSHistoryDestroy(TSHistory*);
8: PETSC_EXTERN PetscErrorCode TSHistorySetHistory(TSHistory,PetscInt,PetscReal[],PetscInt[],PetscBool);
9: PETSC_EXTERN PetscErrorCode TSHistoryGetHistory(TSHistory,PetscInt*,const PetscReal*[],const PetscInt*[],PetscBool*);
10: PETSC_EXTERN PetscErrorCode TSHistoryGetLocFromTime(TSHistory,PetscReal,PetscInt*);
11: PETSC_EXTERN PetscErrorCode TSHistoryUpdate(TSHistory,PetscInt,PetscReal);
12: PETSC_EXTERN PetscErrorCode TSHistoryGetTimeStep(TSHistory,PetscBool,PetscInt,PetscReal*);
13: PETSC_EXTERN PetscErrorCode TSHistoryGetTime(TSHistory,PetscBool,PetscInt,PetscReal*);
14: PETSC_EXTERN PetscErrorCode TSHistoryGetNumSteps(TSHistory,PetscInt*);
15: #endif