PETSc version 3.16.5
Fix/Edit manual page

# PetscDeviceInitializePackage

This function initializes everything in the PetscDevice package. It is called from PetscDLLibraryRegister_petscsys() when using dynamic libraries, and on the first call to PetscDeviceContextCreate() when using shared or static libraries.

### Synopsis

    #include "petscdevice.h"
    PetscErrorCode PetscDeviceInitializePackage(void)

### See Also

PetscInitialize(), PetscDeviceFinalizePackage(), PetscDeviceContextCreate()

### Level

developer

### Location

src/sys/objects/device/interface/devicereg.cxx
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages