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

quadtree and octree structure #4203

Open
Maccchiatooo opened this issue Oct 30, 2024 · 1 comment
Open

quadtree and octree structure #4203

Maccchiatooo opened this issue Oct 30, 2024 · 1 comment

Comments

@Maccchiatooo
Copy link

I am trying to use quadtree and octree geometry. 'geometry' means Level is in a hierarchy. Level 3 can only be contiguous to Level 2 and Level 4 but not Level 1. Can I do that by using AMREX?

I learned from other issues that AMREX is not a tree structure. That is fine for me, I am only concerned about the physical geometry contiguous level but not the code structure.

Thanks.

@WeiqunZhang
Copy link
Member

I think you are talking about what we call properly nested grids. Yes, it's guaranteed. See https://amrex-codes.github.io/amrex/docs_html/RuntimeParameters.html?highlight=nesting#amr.n_proper Unless you change that parameter to zero, or your stencil needs lots of ghost cells, you should be fine.

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

No branches or pull requests

2 participants