Commit e60cb07b authored by Martin Bauer's avatar Martin Bauer
Browse files

Test for walberla sparse kernel generation

parent e79e848e
......@@ -5,14 +5,6 @@ from pystencils import TypedSymbol, create_kernel
class ListLbGenerator:
"""
>>> from lbmpy.creationfunctions import create_lb_collision_rule
>>> from pystencils import show_code
>>> g = ListLbGenerator(create_lb_collision_rule())
>>> kernel_code = str(show_code(g.kernel()))
>>> setter_code = str(show_code(g.setter_ast()))
>>> getter_code = str(show_code(g.getter_ast()))
"""
def __init__(self, collision_rule, pdf_type=np.float64, index_type=np.uint32, layout='SoA'):
self.collision_rule = collision_rule
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment