| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
BaseSolver
Generic solver definition. It is an abstract class and should not be used
to any concrete simulation case. The concrete solver sub-classes should
override the empty init and final methods for initialization and
finalization, respectively.
@cvar _clib_solve: the external dll (accessible through ctypes) which do
the cell loop. Subclass should override it.
@ctype _clib_solve: ctypes.CDLL
@cvar _exedatatype_: the C struct definition in ctypes.Structure.
@ctype _exedatatype_: ctypes.Structure
@cvar MESG_FILENAME_DEFAULT = the default file name for serial solver
object.
@ivar _fpdtype: dtype for the floating point data in the block instance.
@itype _fpdtype: numpy.dtype
@ivar enable_mesg: flag if mesg device should be enabled.
@itype enable_mesg: bool
@ivar mesg: message printer attached to a certain solver object; designed
and mainly used for parallel solver.
@itype mesg: solvcon.helper.Printer
@ivar runanchors: the list for the anchor objects to be run.
@itype runanchors: solvcon.anchor.AnchorList
@ivar exd: execution information for the solver.
@itype exd: ctypes.Structure
@ivar tpool: thread pool for solver.
@itype tpool: solvcon.mthread.ThreadPool
@ivar arglists: argument lists for C functions to be executed in the
thread pool.
@itype arglists: list
@ivar mmnames: marching methods name.
@itype mmnames: list
@ivar marchret: return value set for march.
@ivar der: the dictionary to put derived data arrays. Mostly used by
Anchors.
@itype der: dict
|
|||
|
__metaclass__ Meta class to make classes with ctypes pointers or containers with ctypes pointers. |
|||
|
_exedatatype_ Execution information for BaseSolver. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| float |
|
||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
_pointers_ =
|
|||
_clib_solve = Nonehash(x) |
|||
MESG_FILENAME_DEFAULT =
|
|||
MMNAMES =
|
|||
|
|||
| fpdtype | |||
| fpdtypestr | |||
| _clib_solvcon | |||
|
is_bound Determine if all the pointers are fully bound. |
|||
|
is_unbound Determine if all the pointers are fully unbound. |
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Create the message outputing device, which is intended for debugging and outputing messages related to the solver. The outputing device is most useful when running distributed solvers. The created device will be attach to self.
|
Pickle self into the given filename.
|
Put everything that cannot be pickled, such as file objects, ctypes pointers, etc., into self.
|
Default marcher for the solver object.
|
|
|||
fpdtype
|
fpdtypestr
|
_clib_solvcon
|
is_boundDetermine if all the pointers are fully bound.
|
is_unboundDetermine if all the pointers are fully unbound.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed May 18 11:57:33 2011 | http://epydoc.sourceforge.net |