Architecture Advice: Best setup for multi-patch/multi-block systems with local coordinates #5477
|
Hi everyone, we are currently designing a multi-patch system for GRMHD simulations. Our primary requirement is that each patch must maintain its own local coordinate system. We want to ensure we are swimming with the current of AMReX's design rather than fighting it. We'd appreciate your advice on the best architectural setup. Context & Requirements:
Questions:
Thanks in advance for the guidance! |
Answered by
WeiqunZhang
Jun 8, 2026
Replies: 1 comment 1 reply
|
You can look at Tests/MultiBlock/Advection for an example of using multiple AmrCore's. It also shows how you can exchange data between blocks. As for, AMR, if the coarse/fine boundary crosses the block boundaries, it might not be easy to do. |
1 reply
Answer selected by
lwJi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can look at Tests/MultiBlock/Advection for an example of using multiple AmrCore's. It also shows how you can exchange data between blocks. As for, AMR, if the coarse/fine boundary crosses the block boundaries, it might not be easy to do.