BUGFIX: hanging pointer if the local mesh is empty (no need to map particles)
This commit is contained in:
parent
f67382b044
commit
c001bc33b7
1 changed files with 1 additions and 0 deletions
|
@ -419,6 +419,7 @@ void Foam::Cloud<ParticleType>::rebuild
|
|||
const PtrList<labelIOList>& faceProcAddressing
|
||||
)
|
||||
{
|
||||
if (cellProcAddressing.set(Pstream::myProcNo()))
|
||||
{
|
||||
const labelList& procCell = cellProcAddressing[Pstream::myProcNo()];
|
||||
const labelList& procFace = faceProcAddressing[Pstream::myProcNo()];
|
||||
|
|
Reference in a new issue