BUGFIX: hanging pointer if the local mesh is empty (no need to map particles)

This commit is contained in:
Henrik Rusche 2018-07-20 18:31:55 +02:00
parent f67382b044
commit c001bc33b7

View file

@ -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()];