Date: 2026-03-31T05:46:04+00:00

Actual source code: tshistoryimpl.h

      1: #pragma once

      3: #include <petsc/private/tsimpl.h>

      5: PETSC_EXTERN PetscErrorCode TSHistoryCreate(MPI_Comm, TSHistory *);
      6: PETSC_EXTERN PetscErrorCode TSHistoryDestroy(TSHistory *);
      7: PETSC_EXTERN PetscErrorCode TSHistorySetHistory(TSHistory, PetscInt, PetscReal[], PetscInt[], PetscBool);
      8: PETSC_EXTERN PetscErrorCode TSHistoryGetHistory(TSHistory, PetscInt *, const PetscReal *[], const PetscInt *[], PetscBool *);
      9: PETSC_EXTERN PetscErrorCode TSHistoryGetLocFromTime(TSHistory, PetscReal, PetscInt *);
     10: PETSC_EXTERN PetscErrorCode TSHistoryUpdate(TSHistory, PetscInt, PetscReal);
     11: PETSC_EXTERN PetscErrorCode TSHistoryGetTimeStep(TSHistory, PetscBool, PetscInt, PetscReal *);
     12: PETSC_EXTERN PetscErrorCode TSHistoryGetTime(TSHistory, PetscBool, PetscInt, PetscReal *);
     13: PETSC_EXTERN PetscErrorCode TSHistoryGetNumSteps(TSHistory, PetscInt *);