Date: 2022-03-04T17:40:03+00:00

Actual source code: tshistoryimpl.h

      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