Skip to content

How to define a region with a fixed refinement level? #733

Answered by baperry2
Pockjob asked this question in Q&A
Discussion options

You must be logged in to vote

You can set a region for refinement to a specific level less than the overall maximum level using the following:

amr.max_level = 2

...

tagging.refinement_indicators = yLow
tagging.yLow.max_level = 1
tagging.yLow.in_box_lo = -0.1  -0.52  -0.85
tagging.yLow.in_box_hi =  3.1 -0.45    0.85

This will tag the specified region for one level of refinement, while allowing you to have other refinement indicators to higher levels. However, note that if your other refinement indicators are active in the specified region, then this region could still end up with more than one level of refinement. There isn't a built in way to set an overall maximum level in one region only that would prevent other …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pockjob
Comment options

Answer selected by Pockjob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants