:orphan: # SNESInitializePackage This function initializes everything in the `SNES` package. It is called from PetscDLLibraryRegister_petscsnes() when using dynamic libraries, and on the first call to `SNESCreate()` when using shared or static libraries. ## Synopsis ``` PetscErrorCode SNESInitializePackage(void) ``` ## See Also `SNES`, `PetscInitialize()` ## Level developer ## Location src/snes/interface/dlregissnes.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/interface/dlregissnes.c) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)