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

Expose lower level insert_diagonal function #2684

Merged
merged 14 commits into from
Jun 27, 2023
Merged

Expose lower level insert_diagonal function #2684

merged 14 commits into from
Jun 27, 2023

Conversation

IgorBaratta
Copy link
Member

@IgorBaratta IgorBaratta commented Jun 26, 2023

Enables inserting values at the diagonal of a ghost region.

The local matrix to a process can be decomposed in 4 blocks:

[A00, A01
 A10, A11]

Where:

  • A00 - local rows and local columns
  • A01 - local rows and ghost columns
  • A10 - ghost rows and ghost columns
  • A11 - ghost rows and ghost columns

This PR enables setting diagonal values of A11.
Useful for domain decomposition methods, where each process assemble its local matrix with overlap.

@chrisrichardson
Copy link
Contributor

Can you add a simple test in the appropriate file?

@garth-wells
Copy link
Member

@IgorBaratta can you expand the PR description? It's not clear what the matrix blocks correspond to.

@IgorBaratta IgorBaratta added this pull request to the merge queue Jun 27, 2023
@garth-wells garth-wells removed this pull request from the merge queue due to a manual request Jun 27, 2023
@garth-wells garth-wells added the enhancement New feature or request label Jun 27, 2023
@garth-wells garth-wells added this pull request to the merge queue Jun 27, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Jun 27, 2023
@garth-wells garth-wells added this pull request to the merge queue Jun 27, 2023
Merged via the queue into main with commit 1735508 Jun 27, 2023
17 checks passed
@garth-wells garth-wells deleted the igor/bc_ghosts branch June 27, 2023 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants