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

patchkernel: change the condition that defines if a patch is partitioned #365

Closed andrea-iob closed 1 year ago

andrea-iob commented 1 year ago

A patch is now considered partitioned if its MPI communicator spans multiple processes.

I did some tests with an application that uses bitpit and I haven't found any problems.

Superseeds #336 (the function getProcessorCount can be used to get the number of processes associated with the patch).