Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement coupling support for MixedDofHandler #650

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

fredrikekre
Copy link
Member

This patch enables creating sparsity patterns with the field/component coupling specified just like for DofHandler. Also enables the Metis reordering to use coupling information when renumbering dofs in a MixedDofHandler. Closes #630.

src/Dofs/sparsity_pattern.jl Show resolved Hide resolved
src/Dofs/sparsity_pattern.jl Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Mar 28, 2023

Codecov Report

Patch coverage: 98.79% and project coverage change: +0.03 🎉

Comparison is base (a12d87d) 92.93% compared to head (8127128) 92.97%.

❗ Current head 8127128 differs from pull request most recent head d668b2d. Consider uploading reports for the commit d668b2d to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #650      +/-   ##
==========================================
+ Coverage   92.93%   92.97%   +0.03%     
==========================================
  Files          30       30              
  Lines        4461     4481      +20     
==========================================
+ Hits         4146     4166      +20     
  Misses        315      315              
Impacted Files Coverage Δ
src/Dofs/sparsity_pattern.jl 99.27% <98.30%> (+0.07%) ⬆️
ext/FerriteMetis.jl 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fredrikekre fredrikekre force-pushed the fe/mixed-coupling branch 2 times, most recently from be20d5e to 8127128 Compare March 28, 2023 23:01
This patch enables creating sparsity patterns with the field/component
coupling specified just like for DofHandler. Also enables the Metis
reordering to use coupling information when renumbering dofs in a
MixedDofHandler. Closes #630.
@fredrikekre fredrikekre merged commit 9ca56f3 into master Mar 28, 2023
@fredrikekre fredrikekre deleted the fe/mixed-coupling branch March 28, 2023 23:46
fredrikekre added a commit that referenced this pull request Mar 29, 2023
After #650, `couplings` become `Core.Box`'d due to being used in the
generator for `count` so looking up the coupling in the hot loop
afterwards became really slow.
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