# TSBasicSymplecticGetType
Get the type of the basic symplectic method 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSBasicSymplecticGetType(TS ts, TSBasicSymplecticType *bsymptype)
```
Logically Collective


## Input Parameters

- ***ts -*** timestepping context
- ***bsymptype -*** type of the basic symplectic scheme





## See Also
 [](chapter_ts), `TSBASICSYMPLECTIC`, `TSBasicSymplecticType`, `TSBasicSymplecticSetType()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c.html#TSBasicSymplecticGetType">src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c.html#TSBasicSymplecticGetType_BasicSymplectic">TSBasicSymplecticGetType_BasicSymplectic in src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
