pyLBM.stencil.Stencil.visualize

Stencil.visualize(viewer_mod=<module 'pyLBM.viewer.matplotlibViewer' from '/home/docs/checkouts/readthedocs.org/user_builds/pylbm-loic/conda/fix-readthedoc/lib/python2.7/site-packages/pyLBM-0.3.0-py2.7.egg/pyLBM/viewer/matplotlibViewer.pyc'>, k=None, unique_velocities=False)

plot the velocities

Parameters:

viewer : package used to plot the figure (could be matplotlib, vtk, ...)

see viewer for more information

k : list of stencil index to plot

if None plot all stencils

unique_velocities : if True plot the unique velocities