Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Dec 5, 2024
1 parent e4fb58b commit 5f2fd7e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions firedrake/slate/static_condensation/hybridization.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,7 @@ def initialize(self, pc):
if bc.function_space().index != self.vidx:
raise NotImplementedError("Dirichlet bc set on unsupported space.")
# append the set of sub domains
subdom = bc.sub_domain
if isinstance(subdom, str):
neumann_subdomains |= set([subdom])
else:
neumann_subdomains |= set(as_tuple(subdom, numbers.Integral))
neumann_subdomains |= set(bc.sub_domain)

# separate out the top and bottom bcs
extruded_neumann_subdomains = neumann_subdomains & {"top", "bottom"}
Expand Down

0 comments on commit 5f2fd7e

Please sign in to comment.