diff --git a/dedalus/core/__init__.py b/dedalus/core/__init__.py index e3f3e5e0..e69de29b 100644 --- a/dedalus/core/__init__.py +++ b/dedalus/core/__init__.py @@ -1,4 +0,0 @@ - -from . import distributor -from . import domain -#from . import spaces diff --git a/dedalus/core/timesteppers.py b/dedalus/core/timesteppers.py index 08e207b1..34acb362 100644 --- a/dedalus/core/timesteppers.py +++ b/dedalus/core/timesteppers.py @@ -7,9 +7,14 @@ from .system import CoeffSystem from ..tools.array import apply_sparse + +# Public interface +__all__ = [] + # Track implemented schemes schemes = OrderedDict() def add_scheme(scheme): + __all__.append(scheme.__name__) schemes[scheme.__name__] = scheme return scheme diff --git a/dedalus/dev.py b/dedalus/dev.py deleted file mode 100644 index 0e951827..00000000 --- a/dedalus/dev.py +++ /dev/null @@ -1,15 +0,0 @@ -"""Dedalus development interface.""" - -# Load core modules -from .core import coords -from .core import distributor -from .core import basis -from .core import field -from .core import operators -from .core import arithmetic -from .core import problems -from .core import solvers -from .core import timesteppers - -# Load select tools -from .tools import logging diff --git a/dedalus/public.py b/dedalus/public.py index 15fdd02d..f94e316b 100644 --- a/dedalus/public.py +++ b/dedalus/public.py @@ -1,12 +1,12 @@ """Dedalus public interface.""" # Import public interfaces from submodules +from .core.arithmetic import * +from .core.basis import * from .core.coords import * from .core.distributor import * -from .core.basis import * from .core.field import * from .core.operators import * -from .core.arithmetic import * from .core.problems import * from .core.timesteppers import *