PETSc version 3.16.1
PetscDeviceContextSetStreamType
Set the implementation type of the underlying stream for a PetscDeviceContext
Synopsis
#include "petscdevice.h"
PetscErrorCode PetscDeviceContextSetStreamType(PetscDeviceContext dctx, PetscStreamType type)
Not Collective, Asynchronous
Input Parameters
Notes
See PetscStreamType in include/petscdevicetypes.h for more information on the available
types and their interactions. If the PetscDeviceContext was previously set up and stream
type was changed, you must call PetscDeviceContextSetUp() again after this routine.
See Also
PetscDeviceContextGetStreamType(), PetscDeviceContextCreate(), PetscDeviceContextSetUp(), PetscDeviceContextSetFromOptions()
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