|
9 | 9 | from numbers import Number |
10 | 10 |
|
11 | 11 | from ufl.algorithms import extract_arguments, replace |
12 | | -from ufl.domain import extract_unique_domain, as_domain |
| 12 | +from ufl.domain import extract_unique_domain |
13 | 13 | from ufl.classes import Expr |
14 | 14 | from ufl.duals import is_dual |
15 | 15 | from ufl.constantvalue import zero, as_ufl |
@@ -224,7 +224,7 @@ def __init__(self, expr: Interpolate): |
224 | 224 | self.access = expr.options.access |
225 | 225 |
|
226 | 226 | @abc.abstractmethod |
227 | | - def _build_callable(self, tensor: Function | Cofunction | MatrixBase | None = None, |
| 227 | + def _build_callable(self, tensor: Function | Cofunction | MatrixBase | None = None, |
228 | 228 | bcs: Iterable[DirichletBC] | None = None) -> None: |
229 | 229 | """Builds callable to perform interpolation. Stored in ``self.callable``. |
230 | 230 |
|
@@ -980,11 +980,11 @@ def compile_expression(comm, *args, **kwargs): |
980 | 980 |
|
981 | 981 | @singledispatch |
982 | 982 | def rebuild(element, expr_cell, rt_var_name): |
983 | | - """Construct a FInAT QuadratureElement for interpolation onto a |
| 983 | + """Construct a FInAT QuadratureElement for interpolation onto a |
984 | 984 | VertexOnlyMesh. The quadrature point is an UnknownPointSet of shape |
985 | | - (1, tdim) where tdim is the topological dimension of expr_cell. The |
986 | | - weight is [1.0], since the single local dof in the VertexOnlyMesh function |
987 | | - space corresponds to a point evaluation at the vertex. |
| 985 | + (1, tdim) where tdim is the topological dimension of expr_cell. The |
| 986 | + weight is [1.0], since the single local dof in the VertexOnlyMesh function |
| 987 | + space corresponds to a point evaluation at the vertex. |
988 | 988 |
|
989 | 989 | Parameters |
990 | 990 | ---------- |
@@ -1515,7 +1515,7 @@ def __init__(self, expr: Interpolate): |
1515 | 1515 | super().__init__(expr) |
1516 | 1516 |
|
1517 | 1517 | def _get_sub_interpolators(self, bcs: Iterable[DirichletBC] | None = None) -> dict[tuple[int, int], tuple[Interpolator, list[DirichletBC]]]: |
1518 | | - """Gets `Interpolator`s anf boundary conditions for each sub-Interpolate |
| 1518 | + """Gets `Interpolator`s anf boundary conditions for each sub-Interpolate |
1519 | 1519 | in the mixed expression. |
1520 | 1520 |
|
1521 | 1521 | Returns |
|
0 commit comments