Skip to content

Commit

Permalink
MeshSequence: remove ufl_id
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Jan 10, 2025
1 parent 60e89ff commit 828cc50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 86 deletions.
81 changes: 0 additions & 81 deletions test/test_mixed_function_space_with_mixed_mesh.py

This file was deleted.

6 changes: 1 addition & 5 deletions ufl/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class and integrating multi-domain problems seamlessly.
"""

def __init__(self, meshes: Sequence[Mesh], ufl_id: int | None = None, cargo=None):
def __init__(self, meshes: Sequence[Mesh]):
"""Initialise."""
if any(isinstance(m, MeshSequence) for m in meshes):
raise NotImplementedError("""
Expand All @@ -219,10 +219,6 @@ def __init__(self, meshes: Sequence[Mesh], ufl_id: int | None = None, cargo=None
AbstractDomain.__init__(self, tdim, gdim)
self._meshes = tuple(meshes)

def ufl_cargo(self):
"""Return carried object that will not be used by UFL."""
return self._ufl_cargo

def ufl_cell(self):
"""Get the cell."""
# TODO: Might need MixedCell class for more general mixed meshes.
Expand Down

0 comments on commit 828cc50

Please sign in to comment.