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

Class DeviceContext


Nested Classes [hide private]
  JoinMode
  StreamType
Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(S, ...)
 
create(type cls)
 
duplicate(self)
 
fork(self, PetscInt n, stream_type=None)
 
getDevice(self)
 
getStreamType(self)
 
idle(self)
 
join(self, join_mode, py_sub_ctxs)
 
setDevice(self, Device device)
 
setFromOptions(self, comm=None)
 
setStreamType(self, stream_type)
 
setUp(self)
 
synchronize(self)
 
viewFromOptions(self, name, Object obj=None)
 
waitFor(self, other)

Inherited from Object: __copy__, __deepcopy__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__, __nonzero__, appendOptionsPrefix, compose, decRef, destroy, getAttr, getClassId, getClassName, getComm, getDict, getName, getOptionsPrefix, getRefCount, getTabLevel, getType, incRef, incrementTabLevel, query, setAttr, setName, setOptionsPrefix, setTabLevel, stateGet, stateIncrease, stateSet, view

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

Static Methods [hide private]
 
getCurrent()
 
setCurrent(dctx)
Properties [hide private]
  current
  device
  stream_type

Inherited from Object: classid, comm, fortran, handle, klass, name, prefix, refcount, 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__

setFromOptions(self, comm=None)

 
Overrides: Object.setFromOptions

viewFromOptions(self, name, Object obj=None)

 
Overrides: Object.viewFromOptions