From 862eec7b0e5ea04242919e86f87c974845c3a4fb Mon Sep 17 00:00:00 2001 From: atb1995 Date: Tue, 26 Nov 2024 17:04:34 +0000 Subject: [PATCH] Lint fix --- gusto/time_discretisation/wrappers.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gusto/time_discretisation/wrappers.py b/gusto/time_discretisation/wrappers.py index 6cc61350f..d842c810e 100644 --- a/gusto/time_discretisation/wrappers.py +++ b/gusto/time_discretisation/wrappers.py @@ -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 @@ -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 # -------------------------------------------------------------------- # @@ -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: