pylbm.stencil.OneStencil

class pylbm.stencil.OneStencil(v, nv)

Create a stencil of a LBM scheme.

Parameters
vlist

the list of the velocities of that stencil

nvint

size of the list

num2indexlist of integers

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

Attributes
vlist

the list of the velocities of that stencil

nvint

size of the list v

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.