PETSc version 3.16.6
Fix/Edit manual page

PetscDeviceContextGetDevice

Get the underlying PetscDevice for a PetscDeviceContext

Synopsis

#include "petscdevice.h" 
PetscErrorCode PetscDeviceContextGetDevice(PetscDeviceContext dctx, PetscDevice *device)
Not Collective, Asynchronous

Input Parameter

dctx - the PetscDeviceContext

Output Parameter

device - The PetscDevice

Notes

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

See Also

PetscDeviceContextSetDevice(), PetscDevice

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