mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: refCast: give better error messages. Fixes #953.
This commit is contained in:
@ -92,7 +92,7 @@ Foam::processorFaPatchField<Type>::processorFaPatchField
|
||||
)
|
||||
:
|
||||
coupledFaPatchField<Type>(p, iF, dict),
|
||||
procPatch_(refCast<const processorFaPatch>(p))
|
||||
procPatch_(refCast<const processorFaPatch>(p, dict))
|
||||
{
|
||||
if (!isType<processorFaPatch>(p))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user