TSBasicSymplecticType — PETSc 3.22.5 documentation

Skip to main content
`Ctrl`+`K`

# TSBasicSymplecticType

String with the name of a basic symplectic integration `TSBASICSYMPLECTIC` type

## Synopsis

    #include <petscts.h>
    typedef const char *TSBasicSymplecticType;
    #define TSBASICSYMPLECTICSIEULER   "1"
    #define TSBASICSYMPLECTICVELVERLET "2"
    #define TSBASICSYMPLECTIC3         "3"
    #define TSBASICSYMPLECTIC4         "4"
    PETSC_EXTERN PetscErrorCode TSBasicSymplecticSetType(TS, TSBasicSymplecticType);
    PETSC_EXTERN PetscErrorCode TSBasicSymplecticGetType(TS, TSBasicSymplecticType *);
    PETSC_EXTERN PetscErrorCode TSBasicSymplecticRegister(TSBasicSymplecticType, PetscInt, PetscInt, PetscReal[], PetscReal[]);
    PETSC_EXTERN PetscErrorCode TSBasicSymplecticRegisterAll(void);
    PETSC_EXTERN PetscErrorCode TSBasicSymplecticInitializePackage(void);
    PETSC_EXTERN PetscErrorCode TSBasicSymplecticFinalizePackage(void);
    PETSC_EXTERN PetscErrorCode TSBasicSymplecticRegisterDestroy(void);

## See Also

TS: Scalable ODE and DAE Solvers, `TSBasicSymplecticSetType()`, `TS`, `TSBASICSYMPLECTIC`, `TSBasicSymplecticRegister()`

## Level

beginner

## Location

include/petscts.h

Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages