__init__.py 910 Bytes
Newer Older
1
"""Module to generate stencil kernels in C or CUDA using sympy expressions and call them as Python functions"""
Martin Bauer's avatar
Martin Bauer committed
2
from . import sympy_gmpy_bug_workaround  # NOQA
3
from .field import Field, FieldType, fields
4
5
6
7
from .data_types import TypedSymbol
from .slicing import make_slice
from .kernelcreation import create_kernel, create_indexed_kernel
from .display_utils import show_code, to_dot
8
from .simp import AssignmentCollection
9
10
from .assignment import Assignment
from .sympyextensions import SymbolCreator
11
from .datahandling import create_data_handling
12
from .kernel_decorator import kernel
Martin Bauer's avatar
Martin Bauer committed
13

14
__all__ = ['Field', 'FieldType', 'fields',
Martin Bauer's avatar
Martin Bauer committed
15
           'TypedSymbol',
Martin Bauer's avatar
Martin Bauer committed
16
           'make_slice',
Martin Bauer's avatar
Martin Bauer committed
17
           'create_kernel', 'create_indexed_kernel',
Martin Bauer's avatar
Martin Bauer committed
18
           'show_code', 'to_dot',
19
           'AssignmentCollection',
Martin Bauer's avatar
Martin Bauer committed
20
           'Assignment',
21
           'SymbolCreator',
22
23
           'create_data_handling',
           'kernel']
24