pyLBM.stencil.OneStencil

class pyLBM.stencil.OneStencil(v, nv, num2index, nv_ptr)

Create a stencil of a LBM scheme.

Parameters:

v : list

the list of the velocities of that stencil

nv : int

size of the list

num2index : list of integers

link between the velocity number and its position in the unique velocities array

Attributes

num the numbering of the velocities.
vx the x component of the velocities.
vy the y component of the velocities.
vz the z component of the velocities.
v (list) the list of the velocities of that stencil
nv (int) size of the list v
num2index (list of integers) link between the velocity number and its position in the unique velocities array