Commit 68c23cd8 authored by Martin Bauer's avatar Martin Bauer
Browse files

Worked on PackInfo generation & general walberla bridge

parent e60cb07b
......@@ -7,7 +7,8 @@ import inspect
from pystencils import AssignmentCollection
from pystencils.astnodes import SympyAssignment
from pystencils.sympyextensions import get_symmetric_part
from pystencils.field import offset_to_direction_string, Field
from pystencils.field import Field
from pystencils.stencils import offset_to_direction_string
from pystencils.backends.cbackend import CustomSympyPrinter, CBackend
from pystencils.data_types import TypedSymbol
from pystencils_walberla.sweep import KernelInfo
......@@ -198,9 +199,9 @@ def generate_lattice_model(lattice_model_name=None, optimization={}, refinement_
'refinement_scaling': refinement_scaling,
'stream_collide_kernel': KernelInfo(stream_collide_ast, ['pdfs_tmp'], [('pdfs', 'pdfs_tmp')]),
'collide_kernel': KernelInfo(collide_ast, [], []),
'stream_kernel': KernelInfo(stream_ast, ['pdfs_tmp'], [('pdfs', 'pdfs_tmp')]),
'stream_collide_kernel': KernelInfo(stream_collide_ast, ['pdfs_tmp'], [('pdfs', 'pdfs_tmp')], []),
'collide_kernel': KernelInfo(collide_ast, [], [], []),
'stream_kernel': KernelInfo(stream_ast, ['pdfs_tmp'], [('pdfs', 'pdfs_tmp')], []),
'target': 'cpu',
'namespace': 'lbm',
}
......
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