PetscDeviceContextGetDevice#

Get the underlying PetscDevice for a PetscDeviceContext

Synopsis#

Not Collective

Input Parameter#

Output Parameter#

Note#

This is a borrowed reference, the user should not destroy device.

See Also#

PetscDeviceContextSetDevice(), PetscDevice, PetscDeviceContextGetDeviceType()

Level#

intermediate

Location#

src/sys/objects/device/interface/dcontext.cxx


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages