# TSGLLEAcceptRegister
adds a `TSGLLE` acceptance scheme 
## Synopsis
```
#include "petscts.h"   
PetscErrorCode TSGLLEAcceptRegister(const char sname[], TSGLLEAcceptFunction function)
```
Not Collective


## Input Parameters

- ***name_scheme -*** name of user-defined acceptance scheme
- ***routine_create -*** routine to create method context





## Note
`TSGLLEAcceptRegister()` may be called multiple times to add several user-defined families.


## Sample usage
```none
   TSGLLEAcceptRegister("my_scheme",MySchemeCreate);
```


Then, your scheme can be chosen with the procedural interface via
```none
TSGLLESetAcceptType(ts,"my_scheme")
```
or at runtime via the option
```none
-ts_gl_accept_type my_scheme
```


## See Also
 [](chapter_ts), `TSGLLE`, `TSGLLEType`, `TSGLLERegisterAll()`, `TSGLLEAcceptFunction`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/impls/implicit/glle/glle.c.html#TSGLLEAcceptRegister">src/ts/impls/implicit/glle/glle.c</A>


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