Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atb1995 committed Nov 26, 2024
1 parent 17cb576 commit 862eec7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions gusto/time_discretisation/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
from abc import ABCMeta, abstractmethod
from firedrake import (
FunctionSpace, Function, BrokenElement, Projector, Interpolator,
VectorElement, Constant, as_ufl, dot, grad, TestFunction, MixedFunctionSpace,
split
VectorElement, Constant, as_ufl, dot, grad, TestFunction, MixedFunctionSpace
)
from firedrake.fml import Term
from gusto.core.configuration import EmbeddedDGOptions, RecoveryOptions, SUPGOptions
Expand Down Expand Up @@ -353,7 +352,6 @@ def setup(self, field_name):
self.x_out = Function(self.function_space)
self.field_name = field_name


# -------------------------------------------------------------------- #
# Work out SUPG parameter
# -------------------------------------------------------------------- #
Expand Down Expand Up @@ -392,7 +390,6 @@ def setup(self, field_name):
# -------------------------------------------------------------------- #
if hasattr(self.time_discretisation.equation, "field_names"):
self.u_idx = self.time_discretisation.equation.field_names.index('u')
#uadv = split(self.time_discretisation.equation.X)[self.u_idx]
uadv = Function(domain.spaces('HDiv'))
test = self.time_discretisation.equation.tests[self.idx]
else:
Expand Down

0 comments on commit 862eec7

Please sign in to comment.