-
Notifications
You must be signed in to change notification settings - Fork 92
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
speed up adding sparsity pattern entries with coupling #1028
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1028 +/- ##
==========================================
+ Coverage 93.60% 93.61% +0.01%
==========================================
Files 39 39
Lines 5883 5893 +10
==========================================
+ Hits 5507 5517 +10
Misses 376 376 ☔ View full report in Codecov by Sentry. |
I see that the check for the coupling being non-zero is done inside |
There is already a duplicate-check here Ferrite.jl/src/Dofs/sparsity_pattern.jl Line 170 in 98e2b67
|
3f2ef5f
to
d77989c
Compare
I now have
In #993, the first only took 0.7 seconds. I'm on a pretty fast CPU so did something regress @fredrikekre? |
If I just flat out comment out the |
d77989c
to
1d40a6e
Compare
1d40a6e
to
18db56d
Compare
@AbdAlazezAhmed maybe you could look over this. |
LGTM :D |
Ref #993
As written then
in
check forj
was performed on every iteration overi
.I think the approach here of doing this
in
check like this has to be rethought do.