From a03074ec89bc20ad893247c6a888f7cf5995334f Mon Sep 17 00:00:00 2001 From: sergio <sergio> Date: Wed, 14 May 2014 17:12:59 +0100 Subject: [PATCH] Changing constructor in regionCoupledBase --- .../regionCoupledPolyPatch/regionCoupledBase.C | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C b/src/meshTools/regionCoupled/patches/regionCoupledPolyPatch/regionCoupledBase.C index a18e83da1d6..00ace906cbc 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 -- GitLab