Package solvcon :: Module boundcond :: Class interface
[hide private]
[frames] | no frames]

Class interface

source code

object --+    
         |    
        BC --+
             |
            interface
Known Subclasses:

Abstract BC type for interface between blocks.

Nested Classes [hide private]

Inherited from BC: __metaclass__

Instance Methods [hide private]
 
__init__(self, **kw)
Initialize object with empty values or from another BC object.
source code
 
cloneTo(self, another)
Clone self to passed-in another BC object.
source code
 
relateCells(self, dom)
Calculate self.rclp[:,:] form the information about related block provided by dom parameter.
source code

Inherited from BC: __len__, __str__, bind, feedValue, final, init, unbind

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

Class Variables [hide private]

Inherited from BC: _pointers_, vdefaults, vnames

Instance Variables [hide private]
  rblkn
index number of related block.
  rclp
list of related cell pairs.

Inherited from BC: blk, blkn, facn, name, sern, svr, value

Properties [hide private]

Inherited from BC: fpdtypestr, is_bound, is_unbound, nvalue

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kw)
(Constructor)

source code 

Initialize object with empty values or from another BC object.

Parameters:
  • bc - Another BC object.
Overrides: object.__init__
(inherited documentation)

cloneTo(self, another)

source code 

Clone self to passed-in another BC object.

Parameters:
  • another - Another BC object.
Overrides: BC.cloneTo
(inherited documentation)

relateCells(self, dom)

source code 

Calculate self.rclp[:,:] form the information about related block provided by dom parameter.

Parameters:
  • dom (solvcon.domain.Collective) - Collective domain for information about related block.
Returns:
nothing.

Instance Variable Details [hide private]

rclp

list of related cell pairs. The first column is for the indices of the ghost cells belong to self block. The second column is for the indices of the cells belong to the related block. The third column is for the indices of the cells belong to self block.