| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Block
Provide metric and connectivity information for unstructured-mesh block. In terms of APIs in the Block class, to build a block requires the following actions:
Note: Prefixes: nd = node, fc = face, cl = cell; gst = ghost; sh = shared.
|
|||
|
|||
|
|||
|
|||
|
|||
| BlockShape |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| tuple |
|
||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
FCMND = 4
|
|||
CLMND = 8
|
|||
CLMFC = 6
|
|||
|
|||
|
_fpdtype dtype for the floating point data in the block instance. |
|||
|
bclist list of associated BC objects. |
|||
|
blkn serial number of the block. |
|||
|
bndfcs list of BC faces, contains BC face index and BC class serial number, respectively. |
|||
|
clcnd Central coordinates of cell. |
|||
|
clfcs List of faces in cell; arr[:,0] for the number. |
|||
|
clgrp Group index of cell. |
|||
|
clnds List of nodes in cell; arr[:,0] for the number. |
|||
|
cltpn Type of cell. |
|||
|
clvol Volume of cell. |
|||
|
fcara Area of face. |
|||
|
fccls Related cells for each face, contains belong, neibor (ghost as negative), neiblk, and neibcl (cell index in neighboring block), respectively. |
|||
|
fccnd Central coordinates of face. |
|||
|
fcnds List of nodes in face; arr[:,0] for the number. |
|||
|
fcnml Unit-normal vector of face. |
|||
|
fctpn Type of face. |
|||
|
grpnames list of names of cell groups. |
|||
|
ndcrd Node croodinate data. |
|||
|
|||
| fpdtype | |||
| fpdtypestr | |||
| fpptr | |||
| _clib_solvcon | |||
| ndim | |||
| nnode | |||
| nface | |||
| ncell | |||
| nbound | |||
| ngstnode | |||
| ngstface | |||
| ngstcell | |||
|
Inherited from |
|||
|
|||
Initialization.
|
str(x)
|
|
Calculate metrics including normal vector and area of faces, and centroid coordinates and volume of cells.
|
Build all remaining connectivity information out of cell node definition, and calculate metric. This method alters content in self object.
|
Build boundary faces according to face connectivity. If a face belongs to only one cell (i.e., has no neighboring cell), it is regarded as a boundary face. This method alters content in self object.
|
Build data for ghost cells and related information. This method alters content in self object.
|
Count number of ghost entities. Number of nodes, faces, and cells for ghost can be determined according to boundary connectivities. Nubmer of ghost cells is exactly the number of boundary faces. Number of exterior faces for ghost cells is the total number of faces of ghost cells minus the number of boundary faces (which is shared between ghost cells and adjacent interior cells). Number of exterior nodes for ghost cells is the total number of nodes of ghost cells minus the total number of nodes of boundary faces.
|
Allocate arrays to stored data both for ghost and real/interior cells. This method alters content in self object.
|
Assign ghost arrays to lower portion of shared arrays. This method alters content in self object.
|
Reassign interior data stored in standalone ndarray object to upper portion of shared ndarray object. This method alters content in self object.
|
|
|||
bndfcslist of BC faces, contains BC face index and BC class serial number, respectively. The type number definition follows Nasa 2D CESE code. |
|
|||
fpdtype
|
fpdtypestr
|
fpptr
|
_clib_solvcon
|
ndim
|
nnode
|
nface
|
ncell
|
nbound
|
ngstnode
|
ngstface
|
ngstcell
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Dec 29 13:40:58 2010 | http://epydoc.sourceforge.net |