| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
core.Format --+
|
BlockFormat
A class for fundamental facilities for I/O intrinsic mesh format (blk). A blk file is in general composed by (i) meta-data, (ii) group list, (iii) boundary condition list, and (iv) binary arrays. The saved arrays can be compressed. The compression must be applied to all or none of the arrays. Each of the derived classes represents a version of format.
There is only one object method: _save_meta(), since it needs to access object for meta-data. All other methods are either class methods or static methods.
|
|||
|
__metaclass__ Sum the length of all META_ entries of bases and derived classes; only collect from 1 level of parents. |
|||
|
|||
|
|||
|
|||
| solvcon.block.Block |
|
||
|
Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
| list |
|
||
| list |
|
||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
FILE_HEADER = header of the format; must be overridden. |
|||
|
meta_length length of all META_ entries; calculated by FormatMeta. |
|||
|
Inherited from |
|||
|
|||
|
compressor the compression to use: '', 'gz', or 'bz2' |
|||
|
fpdtype specified fpdtype for I/O. |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Save the block object into a file.
|
Load block from stream with BC mapper applied.
|
|
|
|
|
|
|
|
|
|
Convert boundary condition object into proper types.
|
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Dec 29 13:40:59 2010 | http://epydoc.sourceforge.net |