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