Better error message for generic patch

This commit is contained in:
Hrvoje Jasak 2017-07-07 13:31:29 +01:00
parent 7bad3e7de7
commit 4a9967a12c

View file

@ -45,6 +45,7 @@ Foam::genericFvPatchField<Type>::genericFvPatchField
<< "Trying to construct an genericFvPatchField on patch " << "Trying to construct an genericFvPatchField on patch "
<< this->patch().name() << this->patch().name()
<< " of field " << this->dimensionedInternalField().name() << " of field " << this->dimensionedInternalField().name()
<< ". Actual type: " << actualTypeName_
<< abort(FatalError); << abort(FatalError);
} }