Skip to content

Fix composite assembly with FreeFem++-mpi#393

Merged
prj- merged 1 commit into
developfrom
jolivet/fix-composite
May 11, 2026
Merged

Fix composite assembly with FreeFem++-mpi#393
prj- merged 1 commit into
developfrom
jolivet/fix-composite

Conversation

@prj-

@prj- prj- commented May 7, 2026

Copy link
Copy Markdown
Member

No description provided.

@prj-
prj- requested review from Copilot and phtournier May 7, 2026 15:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR adjusts BEM bilinear form type detection in compositeFESpace.cpp to work reliably under FreeFem++-mpi by using a helper that safely handles missing runtime type registration.

Changes:

  • Added isBemFormBilinearType() helper that uses atype0<...>() for safe type lookups.
  • Replaced multiple direct atype<const BemFormBilinear*>() comparisons with the new helper.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/fflib/compositeFESpace.cpp Outdated
Comment thread src/fflib/compositeFESpace.cpp Outdated
@prj-
prj- force-pushed the jolivet/fix-composite branch from 7f44da6 to 845702b Compare May 8, 2026 13:31
@prj-
prj- merged commit 8854305 into develop May 11, 2026
@prj-
prj- deleted the jolivet/fix-composite branch May 11, 2026 11:26
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.

2 participants