petsc4py.PETSc.Device ===================== .. autoclass:: petsc4py.PETSc.Device :show-inheritance: .. rubric:: Enumerations .. autosummary:: :toctree: ~petsc4py.PETSc.Device.Type .. rubric:: Methods Summary .. autosummary:: ~petsc4py.PETSc.Device.configure ~petsc4py.PETSc.Device.create ~petsc4py.PETSc.Device.destroy ~petsc4py.PETSc.Device.getDeviceId ~petsc4py.PETSc.Device.getDeviceType ~petsc4py.PETSc.Device.setDefaultType ~petsc4py.PETSc.Device.view .. rubric:: Attributes Summary .. autosummary:: ~petsc4py.PETSc.Device.device_id ~petsc4py.PETSc.Device.type .. rubric:: Methods Documentation .. automethod:: configure .. automethod:: create .. automethod:: destroy .. automethod:: getDeviceId .. automethod:: getDeviceType .. automethod:: setDefaultType .. automethod:: view .. rubric:: Attributes Documentation .. autoattribute:: device_id .. autoattribute:: type