Dear all,
I found that there is a mask() function which literally masks out regions where computations are removed.
It sets the status of the cells in that region as cell.pid < 0, resulting in inactivation of computations.
However, as far as I understand, mask() is only available for Tree domains.
So I have two questions:
Q1.
Is there any way to easily set cell.pid < 0 in Multigrid domains?
Q2.
When we use embed, (as I understand it) the purpose is also to exclude a region from being computed.
Then why don’t we simply set the cells in the embed region as cell.pid < 0?
Are there intended cases where we still want the embed region to remain part of the computation?
Many Thanks in advance!
(I am newbie in Basilisk 😊)
Best regards,
Joon