Skip to content

Commit 48dd53f

Browse files
committed
Minor import fixes
1 parent bf30c9e commit 48dd53f

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/festim/hydrogen_transport_problem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
import festim.boundary_conditions
1818
import festim.problem
1919
from festim import (
20-
SolubilityLaw,
2120
boundary_conditions,
2221
exports,
2322
k_B,
2423
problem,
2524
)
25+
from festim.material import SolubilityLaw
2626
from festim import (
2727
reaction as _reaction,
2828
)
@@ -39,7 +39,7 @@
3939
get_interpolation_points,
4040
is_it_time_to_export,
4141
)
42-
from festim.mesh import CoordinateSystem, Mesh
42+
from .mesh import CoordinateSystem, Mesh
4343

4444
__all__ = [
4545
"HydrogenTransportProblem",

src/festim/mesh/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
from .mesh import Mesh
1+
from .mesh import CoordinateSystem, Mesh
22
from .mesh_1d import Mesh1D
33
from .mesh_from_xdmf import MeshFromXDMF
44

5-
__all__ = ["Mesh", "Mesh1D", "MeshFromXDMF"]
5+
__all__ = ["CoordinateSystem", "Mesh", "Mesh1D", "MeshFromXDMF"]

src/festim/mesh/mesh.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from dolfinx.mesh import Mesh as dolfinx_Mesh
77
from dolfinx.mesh import meshtags
88

9+
__all__= ["CoordinateSystem", "Mesh"]
910

1011
class CoordinateSystem(Enum):
1112
CARTESIAN = 10

0 commit comments

Comments
 (0)