Commit b04caa75 authored by Markus Holzer's avatar Markus Holzer Committed by Jan Hönig
Browse files

Dataclasses for method creation

parent 4e47c1eb
......@@ -5,14 +5,14 @@ import pystencils as ps
from lbmpy.stencils import get_stencil
from lbmpy.advanced_streaming.utility import get_timesteps, streaming_patterns, get_accessor, is_inplace, AccessPdfValues
from lbmpy.updatekernels import create_stream_only_kernel
from pystencils import create_kernel
from pystencils import create_kernel, Target
@pytest.mark.parametrize('streaming_pattern', streaming_patterns)
def test_stream_only_kernel(streaming_pattern):
domain_size = (4, 4)
stencil = get_stencil("D2Q9")
dh = ps.create_data_handling(domain_size, default_target='cpu')
dh = ps.create_data_handling(domain_size, default_target=Target.CPU)
pdfs = dh.add_array('pdfs', values_per_cell=len(stencil))
pdfs_tmp = dh.add_array_like('pdfs_tmp', 'pdfs')
......
......@@ -80,9 +80,9 @@ setup(name='lbmpy',
description='Code Generation for Lattice Boltzmann Methods',
long_description=readme(),
long_description_content_type="text/markdown",
author='Martin Bauer',
author='Martin Bauer, Markus Holzer',
license='AGPLv3',
author_email='martin.bauer@fau.de',
author_email='cs10-codegen@fau.de',
url='https://i10git.cs.fau.de/pycodegen/lbmpy/',
packages=['lbmpy'] + ['lbmpy.' + s for s in find_packages('lbmpy')],
install_requires=['pystencils', 'sympy>=1.2', 'numpy>=1.11.0'],
......@@ -98,7 +98,7 @@ setup(name='lbmpy',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
],
python_requires=">=3.6",
python_requires=">=3.8",
extras_require={
'gpu': ['pycuda'],
'opencl': ['pyopencl'],
......
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