Skip to content

Commit

Permalink
Remove cell restriction check
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Nov 15, 2024
1 parent 5b52272 commit c4391c1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ufl/algorithms/compute_form_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@ def compute_form_data(
The default arguments configured to behave the way old FFC expects.
"""
# Currently, only integral_type="cell" can be used with MixedMesh.
for integral in form.integrals():
if integral.integral_type() != "cell":
all_domains = extract_domains(integral.integrand(), expand_mixed_mesh=False)
if any(isinstance(m, MixedMesh) for m in all_domains):
raise NotImplementedError("""
Only integral_type="cell" can be used with MixedMesh""")

# TODO: Move this to the constructor instead
self = FormData()

Expand Down

0 comments on commit c4391c1

Please sign in to comment.