Skip to content

Commit

Permalink
Minor interface cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kburns committed Jan 28, 2024
1 parent 7a7a998 commit ef0d652
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 21 deletions.
4 changes: 0 additions & 4 deletions dedalus/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@

from . import distributor
from . import domain
#from . import spaces
5 changes: 5 additions & 0 deletions dedalus/core/timesteppers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 0 additions & 15 deletions dedalus/dev.py

This file was deleted.

4 changes: 2 additions & 2 deletions dedalus/public.py
Original file line number Diff line number Diff line change
@@ -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 *

Expand Down

0 comments on commit ef0d652

Please sign in to comment.