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

Add internal function fillzero! for filling stored entries with 0 #562

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

fredrikekre
Copy link
Member

This patch adds a new internal function fillzero!(A) which fills (stored) entries of A with 0. This is part of breaking down the assembly procedure into smaller pieces such that each piece can be overriden more easily by other array types, similar to #548. fillzero!(A) falls back to fill!(A, 0).

This patch adds a new internal function `fillzero!(A)` which fills
(stored) entries of `A` with 0. This is part of breaking down the
assembly procedure into smaller pieces such that each piece can be
overriden more easily by other array types, similar to #548.
`fillzero!(A)` falls back to `fill!(A, 0)`.
@codecov-commenter
Copy link

codecov-commenter commented Dec 16, 2022

Codecov Report

Base: 93.04% // Head: 93.05% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (d1d726d) compared to base (4abecda).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #562      +/-   ##
==========================================
+ Coverage   93.04%   93.05%   +0.01%     
==========================================
  Files          25       25              
  Lines        4039     4047       +8     
==========================================
+ Hits         3758     3766       +8     
  Misses        281      281              
Impacted Files Coverage Δ
src/Dofs/DofHandler.jl 91.03% <100.00%> (ø)
src/arrayutils.jl 73.91% <100.00%> (+13.91%) ⬆️
src/assembler.jl 99.32% <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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fredrikekre fredrikekre merged commit 99e3c6f into master Dec 16, 2022
@fredrikekre fredrikekre deleted the fe/fillzero branch December 16, 2022 11:47
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