ppmd.pairloop.sub_cell module¶
Stencil tools for sub cell pair looping.
-
class
ppmd.pairloop.sub_cell.
SubCell
(ratios=(0.5, 0.5, 0.5))¶ Bases:
object
Constructs the interaction stencil for sub cell pairwise interactions where domains are decomposed into cells smaller than the interaction radius. Initalised with a 3-tuple holding the ratios between the smaller cell edge lengths and the interaction length.
-
get_offsets
(cell_array)¶ Given a cell array computes and returns the ctypes.c_int64 array of offsets for the passed cell array.
-
-
class
ppmd.pairloop.sub_cell.
SubCellList
(domain, position_dat, int_radius, cell_radius)¶ Bases:
object