Skip to content

Adapt Mixed implementation to ensure we can apply it vector valued elements - #90

Open
indiamai wants to merge 5 commits into
indiamai/serendipityfrom
indiamai/peers
Open

indiamai wants to merge 5 commits into
indiamai/serendipityfrom
indiamai/peers

Conversation

@indiamai

@indiamai indiamai commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Example use: PEERs element (RT rows)

indiamai and others added 5 commits August 7, 2026 11:54
Resolve the ComponentKernel.__repr__ conflict in favour of the mixed
branch, where a ComponentKernel always wraps a base kernel whose repr
already carries its action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PEERS = (RT + B)^2 x DG0^2 x CG1 is now composed from FUSE operations
alone: enrichment, VectorTriple and MixedTriple.

- VectorTriple vectorises any base whose pullback acts on each copy
  alone: identity and L2 Piola entrywise, covariant and contravariant
  Piola on the last index. A vector valued base gains leading indices,
  e.g. a Piola mapped row per index for the PEERS stress.
- ComponentKernel gains flat=False, placing a shaped block at a leading
  index rather than a flat offset.
- PolynomialSpace.to_vector prepends the new shape to the space's own.
  ConstructedPolynomialSpace.to_vector keeps the combination as a direct
  sum of copies; it used to return the full space of its degree, so
  vectorising e.g. P2 + bubble failed.
- test_peers.py: the div-free bubble, RT + B, and PEERS convergence for
  weakly symmetric elasticity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@indiamai
indiamai changed the base branch from indiamai/mixed to main December 4, 2026 09:57
@indiamai
indiamai changed the base branch from main to indiamai/serendipity December 4, 2026 11:47
@indiamai
indiamai added this pull request to stack #92 December 4, 2026 14:58

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