Skip to content
Snippets Groups Projects
Commit a03074ec authored by sergio's avatar sergio Committed by Andrew Heather
Browse files

Changing constructor in regionCoupledBase

parent 04ddc2d4
Branches
Tags
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment