Skip to main content
Ctrl+K
PETSc v3.26.1-487-gedb121578236 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PetscDeviceConfigure

PetscDeviceConfigure#

Configure a particular PetscDevice

Synopsis#

#include <petscdevice.h> 
PetscErrorCode PetscDeviceConfigure(PetscDevice device)

Not Collective

Input Parameter#

  • device - The PetscDevice to configure

Notes#

The user should not assume that this is a cheap operation.

See Also#

PetscDevice, PetscDeviceCreate(), PetscDeviceView(), PetscDeviceDestroy(), PetscDeviceGetType(), PetscDeviceGetDeviceId()

Level#

beginner

Location#

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

Examples#

src/sys/objects/device/tests/ex5.c
src/sys/objects/device/tests/ex8.c
src/sys/objects/device/tests/ex9.c


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

On this page
  • Synopsis
  • Input Parameter
  • Notes
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2026, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2026-11-22T03:39:48-0600 (v3.26.1-487-gedb121578236).