fvsPatchField::New: Improved the error messages to match the updated fvPatchField::New

This commit is contained in:
Henry Weller
2023-05-29 11:31:05 +01:00
parent 03cc825254
commit 32e26b819b
3 changed files with 26 additions and 20 deletions

View File

@ -159,6 +159,7 @@ Foam::autoPtr<Foam::pointPatchField<Type>> Foam::pointPatchField<Type>::New
) << "inconsistent patch and patchField types for \n"
<< " patch type " << p.type()
<< " and patchField type " << patchFieldType
<< " for field " << iF.name()
<< exit(FatalIOError);
}
}