Allow access to interpolator in detached state

This commit is contained in:
Hrvoje Jasak 2012-01-29 11:46:40 +00:00
parent 43674c372f
commit 04b1ca70b8

View file

@ -858,16 +858,6 @@ bool Foam::regionCouplePolyPatch::localParallel() const
const Foam::ggiZoneInterpolation& const Foam::ggiZoneInterpolation&
Foam::regionCouplePolyPatch::patchToPatch() const Foam::regionCouplePolyPatch::patchToPatch() const
{ {
// if (!attached_)
// {
// FatalErrorIn
// (
// "const patchToPatchInterpolation& "
// "regionCouplePolyPatch::patchToPatch() const"
// ) << "Requesting patchToPatchInterpolation in detached state"
// << abort(FatalError);
// }
if (master()) if (master())
{ {
if (!patchToPatchPtr_) if (!patchToPatchPtr_)