# PetscCitationsRegister
Register a bibtex item to obtain credit for an implemented algorithm used in the code. 
## Synopsis
```
static inline PetscErrorCode PetscCitationsRegister(const char cit[], PetscBool *set)
```
Not Collective - only what is registered on rank 0 of `PETSC_COMM_WORLD` will be printed


## Input Parameters

- ***cite -*** the bibtex item, formated to displayed on multiple lines nicely
- ***set -*** a boolean variable initially set to `PETSC_FALSE`; this is used to insure only a single registration of the citation


Options Database: Key

- ***-citations [filename]   -*** print out the bibtex entries for the given computation





## Fortran Note
Not available from Fortran


## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscsys.h.html#PetscCitationsRegister">include/petscsys.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsys.h)


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