cyclicAMIPointPatchField: Fixed type-detection for ACMI
This commit is contained in:
@ -57,7 +57,7 @@ Foam::cyclicAMIPointPatchField<Type>::cyclicAMIPointPatchField
|
||||
ppiPtr_(nullptr),
|
||||
nbrPpiPtr_(nullptr)
|
||||
{
|
||||
if (!isType<cyclicAMIPointPatch>(p))
|
||||
if (!isA<cyclicAMIPointPatch>(p))
|
||||
{
|
||||
FatalIOErrorInFunction
|
||||
(
|
||||
@ -83,7 +83,7 @@ Foam::cyclicAMIPointPatchField<Type>::cyclicAMIPointPatchField
|
||||
ppiPtr_(nullptr),
|
||||
nbrPpiPtr_(nullptr)
|
||||
{
|
||||
if (!isType<cyclicAMIPointPatch>(this->patch()))
|
||||
if (!isA<cyclicAMIPointPatch>(this->patch()))
|
||||
{
|
||||
FatalErrorInFunction
|
||||
<< "Field type does not correspond to patch type for patch "
|
||||
|
||||
Reference in New Issue
Block a user