Changing constructor in regionCoupledBase

This commit is contained in:
sergio
2014-05-14 17:12:59 +01:00
committed by Andrew Heather
parent 04ddc2d4e4
commit a03074ec89

View File

@ -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