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

Patch for distribute_local_to_global #7726

Merged
merged 1 commit into from Feb 14, 2019

Conversation

sebastian-stark
Copy link
Contributor

Patch for #7658

Copy link
Member

@kronbichler kronbichler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, thanks for the contribution. Could you please add a small file named doc/news/changes/minor/20190213SebastianStark where you describe the change in 1 or 2 sentences, in analogy to the other files you find in that folder? This makes your contribution appear on the list of changes to the current deal.II version.

Also, you should rebase your branch to master to get rid of the merge commits.

@kronbichler
Copy link
Member

/rebuild

@sebastian-stark sebastian-stark force-pushed the fix_matrix_diagonals branch 3 times, most recently from 47bb4b6 to 23d0f0f Compare February 14, 2019 12:52
If a local matrix with all diagonal elements equal to zero is distributed to a global matrix, the l1 norm of the local matrix divided by the size of the local matrix is now added to those diagonal elements of the global matrix which correspond to a constrained dof. In case the entire local matrix is zero, 1 is added. Previously zero was added for both cases, possibly resulting in singular global matrices. Additionally, a test for the patched version of distribute_local_to_global has been added.
Fixes dealii#7658
@masterleinad masterleinad merged commit 141d645 into dealii:master Feb 14, 2019
@masterleinad
Copy link
Member

Thanks!

@sebastian-stark sebastian-stark deleted the fix_matrix_diagonals branch February 14, 2019 18:10
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.

None yet

3 participants