File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 83
83
cmake -G Ninja -DCMAKE_BUILD_TYPE=Developer -B build -S dolfinx/cpp/
84
84
cmake --build build
85
85
cmake --install build
86
- python3 -m pip -v install --break-system-packages --no-build-isolation --check-build-dependencies --config-settings=cmake.build-type="Developer" dolfinx/python/
86
+ python3 -m pip install --break-system-packages -r dolfinx/python/build-requirements.txt
87
+ python3 -m pip -v install --break-system-packages --no-build-isolation --check-build-dependencies --config-settings=cmake.build-type="Developer" dolfinx/python/[ci]
87
88
- name : Run DOLFINx unit tests
88
89
run : python3 -m pytest -n auto dolfinx/python/test/unit
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ def apply(self, expr):
356
356
357
357
Returns: The function pulled back to the reference cell
358
358
"""
359
- domain = expr . ufl_domain ( )
359
+ domain = extract_unique_domain ( expr )
360
360
space = FunctionSpace (domain , self ._element )
361
361
rflat = [expr [idx ] for idx in np .ndindex (expr .ufl_shape )]
362
362
g_components = []
@@ -435,7 +435,7 @@ def apply(self, expr):
435
435
436
436
Returns: The function pulled back to the reference cell
437
437
"""
438
- domain = expr . ufl_domain ( )
438
+ domain = extract_unique_domain ( expr )
439
439
space = FunctionSpace (domain , self ._element )
440
440
rflat = [expr [idx ] for idx in np .ndindex (expr .ufl_shape )]
441
441
g_components = []
Original file line number Diff line number Diff line change 7
7
#
8
8
# Modified by Anders Logg, 2008
9
9
10
+ from ufl .domain import extract_unique_domain
10
11
from ufl .functionspace import FunctionSpace
11
12
from ufl .indexed import Indexed
12
13
from ufl .permutation import compute_indices
@@ -21,7 +22,7 @@ def split(v):
21
22
If v is a Coefficient or Argument in a mixed space, returns a tuple
22
23
with the function components corresponding to the subelements.
23
24
"""
24
- domain = v . ufl_domain ( )
25
+ domain = extract_unique_domain ( v )
25
26
26
27
# Default range is all of v
27
28
begin = 0
You can’t perform that action at this time.
0 commit comments