Skip to content

Curl Curl: Add support for variable alpha#5276

Merged
WeiqunZhang merged 7 commits intoAMReX-Codes:developmentfrom
WeiqunZhang:curl_curl_alpha
Apr 22, 2026
Merged

Curl Curl: Add support for variable alpha#5276
WeiqunZhang merged 7 commits intoAMReX-Codes:developmentfrom
WeiqunZhang:curl_curl_alpha

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

Add support for solving ∇ × α ∇ × E + β E = f, where α can be a nodal MultiFab.

Close #5241

Comment thread Tests/LinearSolvers/CurlCurl/MyTest.cpp Fixed
Add support for solving `∇ × α ∇ × E + β E = f`, where `α` can be a nodal
MultiFab.

Close AMReX-Codes#5241
@WeiqunZhang
Copy link
Copy Markdown
Member Author

/run-hpsf-gitlab-ci

@github-actions
Copy link
Copy Markdown

GitLab CI has started at https://gitlab.spack.io/amrex/amrex/-/pipelines/1518636.

@WeiqunZhang
Copy link
Copy Markdown
Member Author

@prkkumar-he Could give this a try?

@amrex-gitlab-ci-reporter
Copy link
Copy Markdown

GitLab CI 1518636 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1518636.

@BenDavisonPetch
Copy link
Copy Markdown
Contributor

I've run it on the magnetic diffusion problem described in https://web.mit.edu/6.013_book/www/chapter10/10.4.html and it looks like it is doing the right thing:
image
I need to double check the evolution timescale and diffusion of the z magnetic field component next week, but so far looks great!

@prkkumar-he
Copy link
Copy Markdown

Thanks, @WeiqunZhang! I will try it today.

@WeiqunZhang WeiqunZhang marked this pull request as ready for review April 18, 2026 17:51
@WeiqunZhang WeiqunZhang requested a review from atmyers April 18, 2026 17:51
@WeiqunZhang WeiqunZhang merged commit 24f07b7 into AMReX-Codes:development Apr 22, 2026
74 checks passed
@WeiqunZhang WeiqunZhang deleted the curl_curl_alpha branch April 22, 2026 18:48
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.

Support spatially varying alpha in MLCurlCurl

5 participants