hemocell
Loading...
Searching...
No Matches
Functions
shiftPack Namespace Reference

Functions

 shift_pack (offset, bounds, packer, args)
 
 shift (values, offset)
 

Function Documentation

◆ shift()

shiftPack.shift (   values,
  offset 
)

◆ shift_pack()

shiftPack.shift_pack (   offset,
  bounds,
  packer,
  args 
)
Generate cell packings where cells are kept away with half the given
OFFSET from the domain by BOUNDS (dx, dy, dz). The packing is generated by
invoking `packCells` (provided by HemoCell) with reduced bounds of the
domain by subtracting the given offset from each edge length. After the
packing is generated for the reduced domain, the cells are shifted in x, y,
and z direction to ensure a centred packing is obtained.

Additional arguments ARGS are forwarded to `packCells`.