Repository navigation
Conversation
Files copied unchanged from ec873bf: fuse/tensor_products.py, fuse/enriched.py and their tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169MJWgfCahJDRKVbLZeFRD
TensorProductPoint, entity associations, interval and quad/hex constructors, as on ec873bf. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169MJWgfCahJDRKVbLZeFRD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169MJWgfCahJDRKVbLZeFRD
component_orientations reads each product entity's key off the flattened cell (cone_orientation of the facets' images) instead of G2. flatten is built once per product and records entities by factor tuple and by mask. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169MJWgfCahJDRKVbLZeFRD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169MJWgfCahJDRKVbLZeFRD
Replaces trace objects with a proxy ('hodge' for HDiv, 'flat' for HCurl)
that measures the direction a facet's DOFs see; pullback and sobolev_space
come from the factors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169MJWgfCahJDRKVbLZeFRD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169MJWgfCahJDRKVbLZeFRD
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
periodic_table(3, 2, k, deg) builds S_r Lambda^k on polygon(4): the serendipity element S_r, BDMCE_r, BDMCF_r and DPC_r. Their spaces are not tensor products, so they are triples on the flattened quadrilateral itself, generated with the sq_* transversals and with integral moments inside. The hexahedron members are not constructed yet. Supporting fixes: - basis_vectors on a non-simplex entity takes the vectors along the edges at v_0 (the axes of a hypercube) rather than to every other vertex, so DOFs on a quadrilateral's interior get a square basis change. - PolynomialKernel builds vector components as polynomials in the given symbols, so zero and constant components are accepted. Tests: span and entity DOF counts against FIAT (smoke), Firedrake construction and convergence on quad meshes, and the serendipity polynomial space test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
indiamai
force-pushed
the
indiamai/serendipity
branch
from
December 3, 2026 15:11
9aec157 to
9a4259c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.