Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Oct 28, 2024
1 parent f3df3b0 commit 403192e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/festim/exports/minimum_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def compute(self):
subdomain, and appends it to the data list
"""
solution = self.field.solution
indices = self.surface.locate_boundary_facet_indices(solution.function_space.mesh)
indices = self.surface.locate_boundary_facet_indices(
solution.function_space.mesh
)
self.value = np.min(self.field.solution.x.array[indices])
self.data.append(self.value)

0 comments on commit 403192e

Please sign in to comment.