Generic class for multi-dimensional (implemented with Block)
sequential/parallel solvers. Meta, metric, and connectivity data arrays
are absorbed into the instance of this class.
Before the invocation of init() method, bind() method must be
called.
Note:
When subclass BlockSolver, in the init() method in the subclass
must be initilized first, and the super().init() can then be
called. Otherwise the BCs can't set correct information to the
solver.
|
|
__init__(self,
blk,
*args,
**kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pull(self,
arrname,
inder=False,
worker=None)
Pull data array to dealer (rpc) through worker object. |
source code
|
|
|
|
pullank(self,
ankname,
objname,
worker=None)
Pull data array to dealer (rpc) through worker object. |
source code
|
|
|
|
pullibc(self,
arrname,
bc,
sendn,
worker=None)
Pull data from the interface determined by the serial of peer. |
source code
|
|
|
|
push(self,
marr,
arrname,
start=0,
inder=False)
Push data array received from dealer (rpc) into self. |
source code
|
|
|
|
pushibc(self,
arrname,
bc,
recvn,
worker=None)
Push data toward selected interface which connect to blocks with
larger serial number than myself. |
source code
|
|
|
|
remote_setattr(self,
name,
var)
Remotely set attribute of worker. |
source code
|
|
|
|
|
|
Inherited from BaseSolver:
dump,
exhaust,
final,
march,
postloop,
preloop,
provide
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|