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

AffineConstraints: remove the block sparsity constraint function. #14398

Merged
merged 2 commits into from
Nov 14, 2022

Commits on Nov 12, 2022

  1. AffineConstraints: remove the block sparsity constraint function.

    This function predates BlockSparsityPatternBase<T>::add_entries(), which does
    the same thing (essentially just updating the individual blocks after computing
    offsets). For good measure I added a test which verifies that we get identical
    output with constraints and a DoF mask table before and after the switch.
    drwells committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    628fd5d View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. Optimize BlockSparsityPatternBase::add_entries().

    We can avoid some expensive parts and looping over data more than once by
    utilizing the fact that the DoFs are sorted, which implies that they are also
    sorted by block.
    drwells committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    5b2d8e2 View commit details
    Browse the repository at this point in the history