Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Jan 17, 2025
1 parent ed12f23 commit 2e302fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion firedrake/tsfc_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import ufl
import finat.ufl
from ufl import conj, Form, ZeroBaseForm
>>>>>>> 40d114f88 (introduce MixedMesh)
from .ufl_expr import TestFunction, extract_domains

from tsfc import compile_form as original_tsfc_compile_form
Expand Down
3 changes: 2 additions & 1 deletion firedrake/ufl_expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from ufl.domain import as_domain
import firedrake
from firedrake import utils, function, cofunction
from firedrake.mesh import MeshSequenceGeometry
from firedrake.constant import Constant
from firedrake.petsc import PETSc

Expand Down Expand Up @@ -380,6 +379,8 @@ def extract_domains(f):
list of firedrake.mesh.MeshGeometry
Extracted domains.
"""
from firedrake.mesh import MeshSequenceGeometry

if isinstance(f, firedrake.slate.TensorBase):
return f.ufl_domains()
elif isinstance(f, cofunction.Cofunction):
Expand Down

0 comments on commit 2e302fa

Please sign in to comment.