ENH: mapDistribute: improved error message

This commit is contained in:
mattijs 2024-03-18 10:44:54 +00:00
parent f639538600
commit bc03a538cf

View File

@ -349,7 +349,10 @@ void Foam::mapDistributeBase::receive
{
FatalErrorInFunction
<< "From processor " << proci
<< " : unallocated receive field" << nl
<< " : unallocated receive field."
<< " Expected size " << map.size()
<< " on comm " << comm
<< " with procs " << UPstream::nProcs(comm) << nl
<< exit(FatalError);
}
}