__init__.py 944 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
from . import fd
Martin Bauer's avatar
Martin Bauer committed
14

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