Skip to content

Commit

Permalink
remove svr/tbr
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Jan 13, 2025
1 parent ef8fd99 commit f54a40f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 28 deletions.
4 changes: 0 additions & 4 deletions ufl/algorithms/apply_coefficient_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ def modified_terminal(self, o):

positive_restricted = modified_terminal
negative_restricted = modified_terminal
single_value_restricted = modified_terminal
to_be_restricted = modified_terminal
reference_grad = modified_terminal
reference_value = modified_terminal
terminal = modified_terminal
Expand Down Expand Up @@ -187,8 +185,6 @@ def indexed(self, o):
# Do something nicer
positive_restricted = _zero_simplify
negative_restricted = _zero_simplify
single_value_restricted = _zero_simplify
to_be_restricted = _zero_simplify
reference_grad = _zero_simplify
reference_value = _zero_simplify

Expand Down
2 changes: 0 additions & 2 deletions ufl/algorithms/apply_restrictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,6 @@ def _modifier(self, o):
reference_grad = _modifier
positive_restricted = _modifier
negative_restricted = _modifier
single_value_restricted = _modifier
to_be_restricted = _modifier
terminal = _modifier


Expand Down
2 changes: 0 additions & 2 deletions ufl/algorithms/balancing.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def _modifier(self, expr, *ops):
facet_avg = _modifier
positive_restricted = _modifier
negative_restricted = _modifier
single_value_restricted = _modifier
to_be_restricted = _modifier


def balance_modifiers(expr):
Expand Down
2 changes: 0 additions & 2 deletions ufl/algorithms/check_arities.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ def linear_operator(self, o, a):
# Positive and negative restrictions behave as linear operators
positive_restricted = linear_operator
negative_restricted = linear_operator
single_value_restricted = linear_operator
to_be_restricted = linear_operator

# Cell and facet average are linear operators
cell_avg = linear_operator
Expand Down
8 changes: 0 additions & 8 deletions ufl/algorithms/estimate_degrees.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,6 @@ def negative_restricted(self, v, a):
"""Apply to negative_restricted."""
return a

def single_value_restricted(self, v, a):
"""Apply to single_value_restricted."""
return a

def to_be_restricted(self, v, a):
"""Apply to to_be_restricted."""
return a

def conj(self, v, a):
"""Apply to conj."""
return a
Expand Down
2 changes: 0 additions & 2 deletions ufl/algorithms/formtransformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,6 @@ def linear_operator(self, x, arg):
# Positive and negative restrictions behave as linear operators
positive_restricted = linear_operator
negative_restricted = linear_operator
single_value_restricted = linear_operator
to_be_restricted = linear_operator

# Cell and facet average are linear operators
cell_avg = linear_operator
Expand Down
8 changes: 0 additions & 8 deletions ufl/formatting/ufl2unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,14 +749,6 @@ def negative_restricted(self, o, f):
"""Format a negative_restriced."""
return f"{par(f)}{UC.superscript_minus}"

def single_value_restricted(self, o, f):
"""Format a sigle_value_restriced."""
return f"{par(f)}{UC.superscript_vertical_bar}"

def to_be_restricted(self, o, f):
"""Format a to_be_restriced."""
return f"{par(f)}{UC.superscript_question_mark}"

def cell_avg(self, o, f):
"""Format a cell_avg."""
f = overline_string(f)
Expand Down

0 comments on commit f54a40f

Please sign in to comment.