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

Deprecate start_assemble(f, K) #707

Merged
merged 2 commits into from
May 11, 2023
Merged

Conversation

KnutAM
Copy link
Member

@KnutAM KnutAM commented May 11, 2023

Seems unnecessary to allow both options for starting to assemble, of which only one is documented.

KnutAM

This comment was marked as spam.

@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -0.35 ⚠️

Comparison is base (c6c185c) 92.61% compared to head (a34a393) 92.27%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #707      +/-   ##
==========================================
- Coverage   92.61%   92.27%   -0.35%     
==========================================
  Files          30       30              
  Lines        4430     4429       -1     
==========================================
- Hits         4103     4087      -16     
- Misses        327      342      +15     
Impacted Files Coverage Δ
src/assembler.jl 100.00% <ø> (+0.65%) ⬆️
src/deprecations.jl 36.66% <ø> (ø)

... and 3 files with indirect coverage changes

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

@fredrikekre fredrikekre merged commit 0d05ba4 into master May 11, 2023
@fredrikekre fredrikekre deleted the kam/deprecate_startassem_r_K branch May 11, 2023 15:33
fredrikekre added a commit that referenced this pull request Sep 19, 2024
This patch deprecates the signature
`assemble!(assembler, dofs, local_vector, local_matrix)` in favor of
`assemble!(assembler, dofs, local_matrix, local_vector)`. The former
signature was not used in many places, not supported by e.g. the block
matrix assembler, and it is confusing that there are two options. See
also #707 for a similar change to `start_assemble`.

In addition, if the assembler is used just for matrix assembly, this
patch removes an unnecessary allocation of an empty vector for every
call to `assemble!`.
fredrikekre added a commit that referenced this pull request Sep 19, 2024
This patch deprecates the signature
`assemble!(assembler, dofs, local_vector, local_matrix)` in favor of
`assemble!(assembler, dofs, local_matrix, local_vector)`. The former
signature was not used in many places, not supported by e.g. the block
matrix assembler, and it is confusing that there are two options. See
also #707 for a similar change to `start_assemble`.

In addition, if the assembler is used just for matrix assembly, this
patch removes an unnecessary allocation of an empty vector for every
call to `assemble!`.
fredrikekre added a commit that referenced this pull request Sep 19, 2024
This patch deprecates the signature
`assemble!(assembler, dofs, local_vector, local_matrix)` in favor of
`assemble!(assembler, dofs, local_matrix, local_vector)`. The former
signature was not used in many places, not supported by e.g. the block
matrix assembler, and it is confusing that there are two options. See
also #707 for a similar change to `start_assemble`.

In addition, if the assembler is used just for matrix assembly, this
patch removes an unnecessary allocation of an empty vector for every
call to `assemble!`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants