Skip to content

Use sparse vector in periodic coupling#74

Merged
pjaap merged 2 commits intomasterfrom
feature/coupling
Jul 22, 2025
Merged

Use sparse vector in periodic coupling#74
pjaap merged 2 commits intomasterfrom
feature/coupling

Conversation

@pjaap
Copy link
Copy Markdown
Member

@pjaap pjaap commented Jul 21, 2025

This is based on the recent changes in ExtendableFEMBase and hence, requires version 1.3.0 of it.

With this patch, the coupling matrix computation in Example312 with order = 2 is reduced from
4.5 to 3.15 seconds. The gap grows for growing grid size, since the loop over all entries is quadratic in the number of unknowns.

@pjaap pjaap requested a review from chmerdon July 22, 2025 12:47
Copy link
Copy Markdown
Member

@chmerdon chmerdon left a comment

Choose a reason for hiding this comment

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

looks good

@pjaap pjaap merged commit f6519f4 into master Jul 22, 2025
8 checks passed
@pjaap pjaap deleted the feature/coupling branch January 28, 2026 10:40
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