Bugfix: remove locking: if processor does not touch GGI, skip it

This commit is contained in:
Hrvoje Jasak 2016-10-11 10:03:25 +01:00
parent 03bb8c8467
commit e7e64a8134

View file

@ -250,6 +250,12 @@ Foam::ggiAMGInterface::ggiAMGInterface
<< fineGgiInterface_.interfaceSize() << ": "
<< lTime_.elapsedCpuTime() << endl;
// If the processor is not in the GGI comm, escape. HJ, 10/Oct/2016
if (Pstream::myProcNo(comm()) == -1)
{
return;
}
// Note: local addressing contains only local faces
const labelList& fineZa = fineGgiInterface_.zoneAddressing();