Skip to content

Commit 862eec7

Browse files
committed
Lint fix
1 parent 17cb576 commit 862eec7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

gusto/time_discretisation/wrappers.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
from abc import ABCMeta, abstractmethod
88
from firedrake import (
99
FunctionSpace, Function, BrokenElement, Projector, Interpolator,
10-
VectorElement, Constant, as_ufl, dot, grad, TestFunction, MixedFunctionSpace,
11-
split
10+
VectorElement, Constant, as_ufl, dot, grad, TestFunction, MixedFunctionSpace
1211
)
1312
from firedrake.fml import Term
1413
from gusto.core.configuration import EmbeddedDGOptions, RecoveryOptions, SUPGOptions
@@ -353,7 +352,6 @@ def setup(self, field_name):
353352
self.x_out = Function(self.function_space)
354353
self.field_name = field_name
355354

356-
357355
# -------------------------------------------------------------------- #
358356
# Work out SUPG parameter
359357
# -------------------------------------------------------------------- #
@@ -392,7 +390,6 @@ def setup(self, field_name):
392390
# -------------------------------------------------------------------- #
393391
if hasattr(self.time_discretisation.equation, "field_names"):
394392
self.u_idx = self.time_discretisation.equation.field_names.index('u')
395-
#uadv = split(self.time_discretisation.equation.X)[self.u_idx]
396393
uadv = Function(domain.spaces('HDiv'))
397394
test = self.time_discretisation.equation.tests[self.idx]
398395
else:

0 commit comments

Comments
 (0)