diff --git a/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C b/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C index a18e83da1d6a6fef13d724933e6f13ab8e57079b..00ace906cbc8370372f2147bad2c417c7faa7d03 100644 --- a/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C +++ b/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C @@ -154,22 +154,7 @@ Foam::regionCoupledBase::regionCoupledBase AMIReverse_(dict.lookupOrDefault<bool>("flipNormals", false)), surfPtr_(NULL), surfDict_(dict.subOrEmptyDict("surface")) -{ - if (nbrPatchName_ == patch_.name()) - { - FatalIOErrorIn - ( - "regionCoupledBase::regionCoupledBase" - "(" - "const polyPatch&, " - "const dictionary& " - ")", - dict - ) << "Neighbour patch name " << nbrPatchName_ - << " cannot be the same as this patch " << patch_.name() - << exit(FatalIOError); - } -} +{} Foam::regionCoupledBase::regionCoupledBase