DOC: redistributePar: better warning

This commit is contained in:
mattijs
2022-10-20 10:24:14 +01:00
parent b145e59049
commit 7a67c1e72b

View File

@ -360,7 +360,7 @@ Foam::label Foam::fvMeshDistribute::findNonEmptyPatch() const
if (nonEmptyPatchi == -1)
{
FatalErrorInFunction
<< "Cannot find a patch which is neither of type empty nor"
<< "Cannot find a patch which is not of type empty, mapped or"
<< " coupled in patches " << patches.names() << endl
<< "There has to be at least one such patch for"
<< " distribution to work" << abort(FatalError);