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

Elliptic DG: support modifying boundary data #6514

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nilsvu
Copy link
Member

@nilsvu nilsvu commented Mar 3, 2025

Proposed changes

This is used to solve for different variables in some regions of the domain to absorb singularities.
For example, when solving $-\Delta u = f$ we could define $u=u_R + u_P$ in some region of the domain with a known (often singular) field $u_P$ and solve only for the regular field $u_R$ in this region. So, when receiving boundary data from outside this region, we subtract $u_P$, and when receiving boundary data from inside this region, we add $u_P$. We also add $\Delta u_P$ to the volume fixed sources $f$ inside the regularized region.

Upgrade instructions

Code review checklist

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new feature if appropriate.

Further comments

@nilsvu nilsvu force-pushed the modify_boundary_data branch 2 times, most recently from 9116748 to 48b1b82 Compare March 6, 2025 00:25
@nilsvu nilsvu requested a review from wthrowe March 6, 2025 00:25
This is used to solve for different variables in
some regions of the domain to absorb singularities.
@nilsvu nilsvu force-pushed the modify_boundary_data branch from 48b1b82 to bd9a190 Compare March 6, 2025 06:27
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.

1 participant