petsc4py.PETSc.Sys

Package petsc4py :: Module PETSc :: Class Sys |
[hide private]
[frames] | no frames]

# Class Sys

Nested Classes | [hide private]
| DeviceType

Instance Methods | [hide private]
Print(type cls, *args, **kargs) |
a new object with type S, a subtype of T |
__new__(S, ...) |
getDefaultComm(type cls) |
getVersion(type cls, devel=False, date=False, author=False) |
getVersionInfo(type cls) |
hasExternalPackage(type cls, package) |
infoAllow(type cls, flag, filename=None, mode='w') |
isFinalized(type cls) |
isInitialized(type cls) |
popErrorHandler(type cls) |
popSignalHandler(type cls) |
pushErrorHandler(type cls, errhandler) |
registerCitation(type cls, citation) |
setDefaultComm(type cls, comm) |
sleep(type cls, seconds=1) |
splitOwnership(type cls, size, bsize=None, comm=None) |
syncFlush(type cls, comm=None) |
syncPrint(type cls, *args, **kargs) |
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Static Methods | [hide private]
initializeDevice(device_type) Initializes the device *device_type*. |
isDeviceInitialized(device_type) Returns *True* if the device *device_type* is initialized, otherwise returns *False*. |

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __new__(S, ...) |
Returns: a new object with type S, a subtype of T Overrides: object.__new__

### initializeDevice(device_type) Static Method |
    Initializes the device *device_type*.

    :arg device_type: A :class:`Sys.DeviceType` enum value.

### isDeviceInitialized(device_type) Static Method |
    Returns *True* if the device *device_type* is initialized,
    otherwise returns *False*.

    :arg device_type: A :class:`Sys.DeviceType` enum value.