|
7 | 7 | from abc import ABCMeta, abstractmethod
|
8 | 8 | from firedrake import (
|
9 | 9 | 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 |
12 | 11 | )
|
13 | 12 | from firedrake.fml import Term
|
14 | 13 | from gusto.core.configuration import EmbeddedDGOptions, RecoveryOptions, SUPGOptions
|
@@ -353,7 +352,6 @@ def setup(self, field_name):
|
353 | 352 | self.x_out = Function(self.function_space)
|
354 | 353 | self.field_name = field_name
|
355 | 354 |
|
356 |
| - |
357 | 355 | # -------------------------------------------------------------------- #
|
358 | 356 | # Work out SUPG parameter
|
359 | 357 | # -------------------------------------------------------------------- #
|
@@ -392,7 +390,6 @@ def setup(self, field_name):
|
392 | 390 | # -------------------------------------------------------------------- #
|
393 | 391 | if hasattr(self.time_discretisation.equation, "field_names"):
|
394 | 392 | self.u_idx = self.time_discretisation.equation.field_names.index('u')
|
395 |
| - #uadv = split(self.time_discretisation.equation.X)[self.u_idx] |
396 | 393 | uadv = Function(domain.spaces('HDiv'))
|
397 | 394 | test = self.time_discretisation.equation.tests[self.idx]
|
398 | 395 | else:
|
|
0 commit comments