# PetscElementalFinalizePackage
Finalize Elemental package 
## Synopsis
```
PetscErrorCode PetscElementalFinalizePackage(void)
```
Collective on `MPI_COMM_WORLD`, not `PETSC_COMM_WORLD`




## Note
Can be called outside of `PetscInitialize()` and `PetscFinalize()`.
Users who do not call `PetscElementalInitializePackage()` do not have to call this function.


## See Also
 `MATELEMENTAL`, `PetscElementalInitializePackage()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/objects/cxx/elemental.cxx.html#PetscElementalFinalizePackage">src/sys/objects/cxx/elemental.cxx</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/tutorials/ex4.c.html">src/sys/tutorials/ex4.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/tutorials/ex4f.F90.html">src/sys/tutorials/ex4f.F90.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/objects/cxx/elemental.cxx)


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