#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
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) |