-
Notifications
You must be signed in to change notification settings - Fork 345
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
New feature in EB: Add regular coarse levels #3414
New feature in EB: Add regular coarse levels #3414
Conversation
2f0b22e
to
dc879e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this means that we need to implement some other approach to keep the fine grid on the EB or we'll lose it on the first regrid. Is there somewhere the capability to tag IntVects on the coarse level where there are cut cells on the fine?
Are you using |
Yeah, using that. |
dc879e8
to
a5997b9
Compare
amrex::TagCutCell has been updated. I tested with EB_CNS. Regrid appears to work.
|
a5997b9
to
0ba1d9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent! Thanks Weiqun. This looks great. Can't wait to try it out on a thin body problem!
Hopefully, the fully covered cells will not cause any issues for your code. |
What's the concern? |
Like averageDown triggers floating point exceptions. |
0ba1d9d
to
dde5148
Compare
This feature could be useful when the EB is so thin that it is only resolved at the finest level and the usual way of generate coarse levels fails with multi-cut or multi-value cells. When the EB is fully refined to the finest level and there is no subcycling, no EB information is really needed at coarse levels. amrex::TagCutCells has been updated to work with the new feature.
dde5148
to
7f26be2
Compare
Summary
This feature could be useful when the EB is so thin that it is only resolved at the finest level and the usual way of generate coarse levels fails with multi-cut or multi-value cells. When the EB is fully refined to the finest level and there is no subcycling, no EB information is really needed at coarse levels.
Note that tagging cut cells for refinement no longer works if that level has all regular EB.amrex::TagCutCells has been updated to work with the new feature.Checklist
The proposed changes: