pylbm.stencil.Stencil.get_all_velocities

method

Stencil.get_all_velocities(self, scheme_id=None)

get all the velocities for all the stencils in one array

Parameters
scheme_id: int

specify for which scheme we want all velocities if None, return the velocities for all the schemes

Returns
ndarray

all velocities of a scheme or of all the schemes