__init__.py 850 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
4
5
6
7
8
9
10
from .field import Field, FieldType
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
from .assignment_collection import AssignmentCollection
from .assignment import Assignment
from .sympyextensions import SymbolCreator
11
from .datahandling import create_data_handling
Martin Bauer's avatar
Martin Bauer committed
12

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