Skip to content

Commit ef0d652

Browse files
committed
Minor interface cleanup
1 parent 7a7a998 commit ef0d652

File tree

4 files changed

+7
-21
lines changed

4 files changed

+7
-21
lines changed

dedalus/core/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
2-
from . import distributor
3-
from . import domain
4-
#from . import spaces

dedalus/core/timesteppers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@
77
from .system import CoeffSystem
88
from ..tools.array import apply_sparse
99

10+
11+
# Public interface
12+
__all__ = []
13+
1014
# Track implemented schemes
1115
schemes = OrderedDict()
1216
def add_scheme(scheme):
17+
__all__.append(scheme.__name__)
1318
schemes[scheme.__name__] = scheme
1419
return scheme
1520

dedalus/dev.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

dedalus/public.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
"""Dedalus public interface."""
22

33
# Import public interfaces from submodules
4+
from .core.arithmetic import *
5+
from .core.basis import *
46
from .core.coords import *
57
from .core.distributor import *
6-
from .core.basis import *
78
from .core.field import *
89
from .core.operators import *
9-
from .core.arithmetic import *
1010
from .core.problems import *
1111
from .core.timesteppers import *
1212

0 commit comments

Comments
 (0)