Skip to content

Construct the fourth column - #89

Open
indiamai wants to merge 33 commits into
mainfrom
indiamai/serendipity
Open

indiamai wants to merge 33 commits into
mainfrom
indiamai/serendipity

Conversation

@indiamai

@indiamai indiamai commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

indiamai and others added 30 commits November 16, 2026 16:20
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>
indiamai and others added 3 commits December 3, 2026 15:11
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
indiamai force-pushed the indiamai/serendipity branch from 9aec157 to 9a4259c Compare December 3, 2026 15:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant