optimad / bitpit

Open source library for scientific HPC
http://optimad.github.io/bitpit/
GNU Lesser General Public License v3.0
117 stars 34 forks source link

volunstructured: enable generation of multiple halo layers #345

Closed lucask81 closed 1 year ago

lucask81 commented 1 year ago

This PR changes the way the halo size is set. Now it is possible to set the halo size only if the patch is all on a single process. The function _getMaxHaloSize is overridden also for volunstructured, in this way it is possible to set more the one layer of ghost also for this patch.

andrea-iob commented 1 year ago

I moved the changes that allows to set the halo layer on already partitioned patches in #310. This pull request is now only about enabling multiple halo layers on unstructured patches.