mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Changing constructor in regionCoupledBase
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user