Bugfix: remove locking: if processor does not touch GGI, skip it
This commit is contained in:
parent
03bb8c8467
commit
e7e64a8134
1 changed files with 6 additions and 0 deletions
|
@ -250,6 +250,12 @@ Foam::ggiAMGInterface::ggiAMGInterface
|
||||||
<< fineGgiInterface_.interfaceSize() << ": "
|
<< fineGgiInterface_.interfaceSize() << ": "
|
||||||
<< lTime_.elapsedCpuTime() << endl;
|
<< 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
|
// Note: local addressing contains only local faces
|
||||||
const labelList& fineZa = fineGgiInterface_.zoneAddressing();
|
const labelList& fineZa = fineGgiInterface_.zoneAddressing();
|
||||||
|
|
||||||
|
|
Reference in a new issue