Skip to content

Commit d73752c

Browse files
committed
Black formatting
1 parent dc8a2e6 commit d73752c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/festim/hydrogen_transport_problem.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,13 +1472,17 @@ def mixed_term(u, v, n):
14721472
interface.id
14731473
) - 0.5 * mixed_term(
14741474
v_b, (u_b / K_b - u_t / K_t), n_0
1475-
) * dInterface(interface.id)
1475+
) * dInterface(
1476+
interface.id
1477+
)
14761478

14771479
F_1 = +0.5 * mixed_term((u_b + u_t), v_t, n_0) * dInterface(
14781480
interface.id
14791481
) - 0.5 * mixed_term(
14801482
v_t, (u_b / K_b - u_t / K_t), n_0
1481-
) * dInterface(interface.id)
1483+
) * dInterface(
1484+
interface.id
1485+
)
14821486
F_0 += (
14831487
2
14841488
* gamma
@@ -1699,9 +1703,9 @@ def post_processing(self):
16991703
export.write(t=float(self.t))
17001704

17011705
elif isinstance(export, exports.Profile1DExport):
1702-
assert export.subdomain, (
1703-
"Profile1DExport requires a subdomain to be set"
1704-
)
1706+
assert (
1707+
export.subdomain
1708+
), "Profile1DExport requires a subdomain to be set"
17051709
u = export.subdomain.u
17061710
if export._dofs is None:
17071711
index = self.subdomain_to_species[export.subdomain].index(

0 commit comments

Comments
 (0)