:orphan: # TSBasicSymplecticRegister register a basic symplectic integration scheme by providing the coefficients. ## Synopsis ``` #include "petscts.h" PetscErrorCode TSBasicSymplecticRegister(TSRosWType name, PetscInt order, PetscInt s, PetscReal c[], PetscReal d[]) ``` Not Collective, but the same schemes should be registered on all processes on which they will be used ## Input Parameters - ***name -*** identifier for method - ***order -*** approximation order of method - ***s -*** number of stages, this is the dimension of the matrices below - ***c -*** coefficients for updating generalized position (dimension s) - ***d -*** coefficients for updating generalized momentum (dimension s) ## Notes Several symplectic methods are provided, this function is only needed to create new methods. ## See Also [](ch_ts), `TSBASICSYMPLECTIC` ## Level advanced ## Location src/ts/impls/symplectic/basicsymplectic/basicsymplectic.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)