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

adapt_mask ineffective if combined with subsampling #117

Open
Morkney opened this issue Sep 15, 2022 · 0 comments
Open

adapt_mask ineffective if combined with subsampling #117

Morkney opened this issue Sep 15, 2022 · 0 comments

Comments

@Morkney
Copy link

Morkney commented Sep 15, 2022

Hello,

I've been having a little trouble getting the adapt_mask option to work as intended when combined with subsampling.
As an example, I might have a zoom geometry like:

subsample 8

# Specify the base-level grid:
base_grid 100 192

# Zoom level 1:
centre 50 50 50
select_cube 10
zoom_grid 4 48

# Zoom level 2:
centre 50 50 50
select_sphere 3
zoom_grid 2 96

adapt_mask 5
autopad 5

In my mind, this is describing a central high-resolution sphere, enclosed within a central base-resolution cube, with a base that is subsampled by 8 times. Then, the adapt_mask and autopad options should adapt the particles in zoom level 1 so that they form a sphere wrapped around the particles in zoom level 2, and every autopad level should also be rounded.

However, what I find is that the resolution levels are only spherical out until the borders of the zoom level 1 particles, beyond which they become cube shaped.

Perhaps I am misunderstanding how the options interact, or what they are supposed to do.

All the best

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

1 participant