introduce "damage region" to speed up SYNC after restriction

Issue #1614 new
Roland Haas created an issue

after a restriction one needs to apply boundary conditions and SYNC the grid functions. This SYNCS (as far as I know) the whole grid function. However for a restriction only a (hopefully small) number of grid points should be affected.

It may thus make sense if Carpet were to exchange only the data that needs to be exchanged.

This seems to be not quit trivial to implement though since one has to translate from the send region to the recv region in the sendrecvs.

Keyword:

Comments (1)

  1. Erik Schnetter
    • removed comment

    It is straightforward to introduce new communication operators to CarpetLib. For example, we could introduce a sync-after-restrict operations. This would cost a small amount of space, since the respective communication schedule would need to be stored.

  2. Log in to comment