Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adept/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from ._base_ import ADEPTModule, ergoExo # noqa: I001
from .mlflow_logging import MlflowLoggingModule
from . import hermite_poisson_1d, lpse2d, vlasov1d, vlasov2d
from . import hermite_legendre_1d, hermite_poisson_1d, lpse2d, vlasov1d, vlasov2d
3 changes: 3 additions & 0 deletions adept/_base_.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ def _get_adept_module_(self, cfg: dict) -> ADEPTModule:
elif cfg["solver"] == "pic-1d":
from adept.pic1d import BasePIC1D as this_module

elif cfg["solver"] == "hermite-legendre-1d":
from adept.hermite_legendre_1d import BaseHermiteLegendre1D as this_module

else:
raise NotImplementedError("This solver approach has not been implemented yet")

Expand Down
3 changes: 3 additions & 0 deletions adept/_hermite_legendre_1d/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .modules import BaseHermiteLegendre1D

__all__ = ["BaseHermiteLegendre1D"]
Loading
Loading