Skip to content

Commit

Permalink
remove DOFDesc.with_dtag
Browse files Browse the repository at this point in the history
  • Loading branch information
majosm authored and inducer committed Aug 19, 2024
1 parent cdd16aa commit ed46051
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions grudge/dof_desc.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,6 @@ def uses_quadrature(self) -> bool:
raise ValueError(
f"Invalid discretization tag: {self.discretization_tag}")

def with_dtag(self, dtag) -> "DOFDesc":
from warnings import warn
warn("'with_dtag' is deprecated. Use 'with_domain_tag' instead. "
"This will stop working in 2023",
DeprecationWarning, stacklevel=2)
return replace(self, domain_tag=dtag)

def with_domain_tag(self, dtag) -> "DOFDesc":
return replace(self, domain_tag=dtag)

Expand Down

0 comments on commit ed46051

Please sign in to comment.