File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -215,10 +215,14 @@ def __init__(self, meshes: Sequence[Mesh]):
215
215
self ._ufl_cell = CellSequence (tuple (m .ufl_cell () for m in meshes ))
216
216
(gdim ,) = set (m .geometric_dimension () for m in meshes )
217
217
# 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 )#???
219
219
AbstractDomain .__init__ (self , tdim , gdim )
220
220
self ._meshes = tuple (meshes )
221
221
222
+ #def topological_dimension(self):
223
+ # """Return the dimension of the topology of this domain."""
224
+ # raise AssertionError
225
+
222
226
def ufl_cell (self ):
223
227
"""Get the cell."""
224
228
# TODO: Might need MixedCell class for more general mixed meshes.
You can’t perform that action at this time.
0 commit comments