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

Class Device


Nested Classes [hide private]
  Type
Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(S, ...)
 
configure(self)
 
create(type cls, dtype=None, device_id=PETSC_DECIDE)
 
destroy(self)
 
getDeviceId(self)
 
getDeviceType(self)
 
view(self, Viewer viewer=None)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
setDefaultType(device_type)
Properties [hide private]
  device_id
  type

Inherited from object: __class__

Method Details [hide private]

__new__(S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__