# TSARKIMEXRegister
register a `TSARKIMEX` scheme by providing the entries in the Butcher tableau and optionally embedded approximations and interpolation 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSARKIMEXRegister(TSARKIMEXType name, PetscInt order, PetscInt s, const PetscReal At[], const PetscReal bt[], const PetscReal ct[], const PetscReal A[], const PetscReal b[], const PetscReal c[], const PetscReal bembedt[], const PetscReal bembed[], PetscInt pinterp, const PetscReal binterpt[], const PetscReal binterp[])
```
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
- ***At -*** Butcher table of stage coefficients for stiff part (dimension s*s, row-major)
- ***bt -*** Butcher table for completing the stiff part of the step (dimension s; NULL to use the last row of At)
- ***ct -*** Abscissa of each stiff stage (dimension s, NULL to use row sums of At)
- ***A -*** Non-stiff stage coefficients (dimension s*s, row-major)
- ***b -*** Non-stiff step completion table (dimension s; NULL to use last row of At)
- ***c -*** Non-stiff abscissa (dimension s; NULL to use row sums of A)
- ***bembedt -*** Stiff part of completion table for embedded method (dimension s; NULL if not available)
- ***bembed -*** Non-stiff part of completion table for embedded method (dimension s; NULL to use bembedt if provided)
- ***pinterp -*** Order of the interpolation scheme, equal to the number of columns of binterpt and binterp
- ***binterpt -*** Coefficients of the interpolation formula for the stiff part (dimension s*pinterp)
- ***binterp -*** Coefficients of the interpolation formula for the non-stiff part (dimension s*pinterp; NULL to reuse binterpt)





## Note
Several `TSARKIMEX` methods are provided, this function is only needed to create new methods.


## See Also
 [](chapter_ts), `TSARKIMEX`, `TSType`, `TS`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/arkimex/arkimex.c.html#TSARKIMEXRegister">src/ts/impls/arkimex/arkimex.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex16.c.html">src/ts/tutorials/ex16.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/ex19.c.html">src/ts/tutorials/ex19.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/impls/arkimex/arkimex.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)  
