Skip to content

Commit 8407209

Browse files
committed
debug
1 parent 61eadc1 commit 8407209

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ufl/domain.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,14 @@ def __init__(self, meshes: Sequence[Mesh]):
215215
self._ufl_cell = CellSequence(tuple(m.ufl_cell() for m in meshes))
216216
(gdim,) = set(m.geometric_dimension() for m in meshes)
217217
# TODO: Need to change for more general mixed meshes.
218-
(tdim,) = set(m.topological_dimension() for m in meshes)
218+
tdim = max(m.topological_dimension() for m in meshes)#???
219219
AbstractDomain.__init__(self, tdim, gdim)
220220
self._meshes = tuple(meshes)
221221

222+
#def topological_dimension(self):
223+
# """Return the dimension of the topology of this domain."""
224+
# raise AssertionError
225+
222226
def ufl_cell(self):
223227
"""Get the cell."""
224228
# TODO: Might need MixedCell class for more general mixed meshes.

0 commit comments

Comments
 (0)