Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
80304b7
add equality to cells
indiamai Apr 1, 2025
d881c4a
refactor
indiamai Apr 1, 2025
e49c703
first steps to making a fuse element from a flattened tensor prod
indiamai Apr 1, 2025
2fb6b88
first level of generated hasse diagram
indiamai Apr 3, 2025
e6341b9
fix recursion issue
indiamai Apr 7, 2025
208d64a
lint
indiamai Apr 7, 2025
3f06f03
refactor work on poly spaces and trying to figure out how to make qua…
indiamai Apr 7, 2025
01ac541
fix contains in polynomial sets
indiamai Apr 10, 2025
78e0861
working on cell
indiamai Apr 14, 2025
e9560f9
Ensure all numeric reps are 0..n over the whole group
indiamai Apr 23, 2025
37b6124
comparision to existing
indiamai Apr 24, 2025
d2d2d4b
tidy up
indiamai Mar 10, 2026
06a50d0
lint
indiamai Mar 10, 2026
52fa438
small fixes
indiamai Mar 10, 2026
0e197b4
modifications to polynomial kernel to take into account value shape
indiamai Mar 11, 2026
87dfe97
fix mistake in components
indiamai Mar 11, 2026
ea8265b
add jacobian
indiamai Mar 11, 2026
6ad49d3
ensure vector kernel and scalar poly kernel behave the same
indiamai Mar 11, 2026
3eaf4c7
bug fix
indiamai Mar 11, 2026
fdf00cc
use ufl sobolev spaces
indiamai Mar 11, 2026
f7f2709
first stab at addition
indiamai Mar 11, 2026
860f11e
fix bubble - addition working
indiamai Mar 12, 2026
d196320
fix tests
indiamai Mar 12, 2026
ec273f6
working towards symmetric tensor products
indiamai Mar 19, 2026
f3627a0
add groups to non flattened tensor product cell
indiamai Mar 20, 2026
8f3719a
flattening or not
indiamai Mar 23, 2026
6e4f40f
work on combining matrices
indiamai Apr 20, 2026
f91d745
fix choice of form degree for fuse elements, work on making hdiv elem…
indiamai Apr 21, 2026
9c107c0
add higher order tests, turn matrix use off
indiamai May 4, 2026
493d2b5
Merge branch 'main' into indiamai/full_symmetry
indiamai May 4, 2026
55ac2f9
adapt tensor product creation to follow fuse directions, include in m…
indiamai May 4, 2026
5748785
lint
indiamai May 4, 2026
7d03fb5
fix merge issues
indiamai May 5, 2026
40a00be
add volume scaling
indiamai May 5, 2026
8745746
pin ubuntu version for ci
indiamai May 6, 2026
3b01f8c
fix method issues
indiamai May 6, 2026
c9c9bd6
making matrices for symmetric tps - successfully broke cg3
indiamai May 14, 2026
4b85868
pin ubuntu here too
indiamai May 14, 2026
0bcf3f6
initial incomplete stab at enriched tensor products
indiamai May 15, 2026
16d9f6a
draft for testing
indiamai Jun 3, 2026
f7cf475
force change of ordering
indiamai Jun 8, 2026
3367a48
remove ubuntu version
indiamai Jun 8, 2026
8d61d3e
poking around ordering
indiamai Jun 9, 2026
3d8907e
test sum factorisation is preserved
indiamai Jun 10, 2026
c218f33
work on enriched/flat vs not tensor prods
indiamai Jun 15, 2026
b186d44
Merge branch 'main' into indiamai/full_symmetry
indiamai Jun 24, 2026
d0e9d96
cleanup some merge errors
indiamai Jun 25, 2026
6556c7f
lint
indiamai Jun 25, 2026
77305f6
change branch ci based on
indiamai Jun 25, 2026
a50cbcd
add ordered vertex coords to tensor prod point
indiamai Jun 25, 2026
efa23dc
Merge branch 'indiamai/integral_scaling' into indiamai/full_symmetry
indiamai Jun 25, 2026
91bcf9a
all tensor products of more than two factors
indiamai Jun 29, 2026
d71ac42
refactor fuse rep creation for flattened
indiamai Jun 30, 2026
0228649
forgot some files
indiamai Jun 30, 2026
1b15e7c
change ubuntu to latest
indiamai Jun 30, 2026
5a7b2c6
make enriched use entity_ids not dofs
indiamai Jul 1, 2026
9ee0099
change silly merge error in dofs
indiamai Jul 1, 2026
cea9768
hdiv on flattened
indiamai Jul 1, 2026
17e9a77
lint and fix a few random tests
indiamai Jul 1, 2026
eb8e36b
fixing some tests
indiamai Jul 1, 2026
cdce838
fiddling with tests
indiamai Jul 1, 2026
13343be
rename entity_ids
indiamai Jul 2, 2026
c0be44f
Add ufl to ci
indiamai Jul 2, 2026
132580f
small test changes
indiamai Jul 2, 2026
d257834
lint
indiamai Jul 2, 2026
fe1fc20
resolve some issues with tensor prods of tensor prods
indiamai Jul 7, 2026
e4117a4
fix test errors
indiamai Jul 7, 2026
1620363
use refactored pack
indiamai Jul 9, 2026
099f4ec
fixup hcurl transformer
indiamai Jul 9, 2026
1875586
use ufl sobolev spaces
indiamai Mar 11, 2026
cb43446
lint
indiamai Jul 9, 2026
4a0191e
lint more
indiamai Jul 10, 2026
3df6d3f
Merge branch 'indiamai/uflsobolve' into indiamai/tensor_prd_refac
indiamai Jul 10, 2026
9eef0e4
Merge branch 'indiamai/tensor_prd_refac' of github.com:firedrakeproje…
indiamai Jul 10, 2026
b14a954
remove stale code
indiamai Jul 10, 2026
ad03d1a
fix numeric issue
indiamai Jul 10, 2026
3326d9e
lint
indiamai Jul 10, 2026
4aa8bec
fixing some tests
indiamai Jul 13, 2026
bbc29a5
add more branches to matrix construction to eliminate vague warning
indiamai Jul 13, 2026
be67106
Merge branch 'main' into indiamai/tensor_prd_refac
indiamai Jul 13, 2026
a872169
change firedrake branch and update test
indiamai Jul 13, 2026
560a5bb
fix up hcurl and add test
indiamai Jul 13, 2026
f418482
hcurl converge test
indiamai Jul 13, 2026
71181d6
lint
indiamai Jul 14, 2026
1761197
tidying up for 3d tensor hdiv
indiamai Jul 15, 2026
76b18f0
comment out print
indiamai Jul 15, 2026
c9eee11
fix issue in enriched
indiamai Jul 15, 2026
98c5e71
add 3d hex hdiv
indiamai Jul 15, 2026
4fa92a8
hcurl 3d
indiamai Jul 15, 2026
b15860f
add convergence test for 3d
indiamai Jul 15, 2026
4a01b21
fix issue in ned edges
indiamai Jul 16, 2026
b6ed96c
draft interval element construct
indiamai Jul 16, 2026
6e0a99d
remvoe stray breakpoint, tidy
indiamai Jul 16, 2026
f544b2d
Merge remote-tracking branch 'origin/indiamai/tensor_prd_refac' into …
indiamai Jul 16, 2026
3f7cba4
add dg and cg hex and quad - start of third column periodic table con…
indiamai Jul 16, 2026
a4b1952
add rt/nd
indiamai Jul 16, 2026
6ca6db3
test hdiv curl
indiamai Jul 16, 2026
f3cc01d
new orientation test
indiamai Jul 17, 2026
5bc0106
renumbering of orientatation labelling in line with FIAT
indiamai Jul 17, 2026
ad82236
hypercube test file
indiamai Jul 17, 2026
343102a
reorder dofs to not interleave
indiamai Jul 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,20 @@ jobs:
run: |
. venv/bin/activate
python3 -m pip install --break-system-packages -e './fiat-repo'

- uses: actions/checkout@v5
with:
repository: firedrakeproject/ufl
path: ufl-repo
ref: refs/heads/indiamai/hash_directional_sobolev

- name: Install checked out UFL
run: |
. venv/bin/activate
python3 -m pip install --break-system-packages -e './ufl-repo'

- name: Run tests
run: |
. venv/bin/activate
cd ./fuse-repo
firedrake-run-split-tests 1 1 -n 8 "$EXTRA_PYTEST_ARGS" ./test
firedrake-run-split-tests 1 1 -n 8 "$EXTRA_PYTEST_ARGS" ./test
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ tests:
@echo " Running all tests"
@python3 -m coverage run -p -m pytest -rx test

mini_tests:
@FIREDRAKE_USE_FUSE=1 python3 -m pytest test/test_2d_examples_docs.py
@FIREDRAKE_USE_FUSE=1 python3 -m pytest test/test_convert_to_fiat.py::test_1d
@FIREDRAKE_USE_FUSE=1 python3 -m pytest test/test_orientations.py::test_surface_vec_rt
@FIREDRAKE_USE_FUSE=1 python3 -m pytest test/test_convert_to_fiat.py::test_projection_convergence_3d\[construct_tet_ned-N1curl-1-0.8\]

coverage:
@python3 -m coverage combine
@python3 -m coverage report -m
Expand Down
5 changes: 3 additions & 2 deletions fuse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from fuse.cells import Point, Edge, polygon, make_tetrahedron, constructCellComplex
from fuse.cells import Point, Edge, polygon, line, make_tetrahedron, constructCellComplex, TensorProductPoint
from fuse.groups import S1, S2, S3, D4, Z3, Z4, tet_C2, C3, C4, S4, A4, tet_edges, tet_faces, sq_edges, GroupRepresentation, PermutationSetRepresentation, Permutation, get_cyc_group, get_sym_group

from fuse.dof import DeltaPairing, DOF, L2Pairing, FuseFunction, PointKernel, VectorKernel, BarycentricPolynomialKernel, PolynomialKernel, ComponentKernel
from fuse.triples import ElementTriple, DOFGenerator, immerse
from fuse.traces import TrH1, TrGrad, TrHess, TrHCurl, TrHDiv
from fuse.tensor_products import tensor_product
from fuse.tensor_products import tensor_product, symmetric_tensor_product

from fuse.spaces.element_sobolev_spaces import CellH1, CellL2, CellHDiv, CellHCurl, CellH2
from fuse.spaces.polynomial_spaces import P0, P1, P2, P3, Q2, PolynomialSpace
Expand Down
Loading
Loading