BUG: refinementSurfaces: copy from PtrList

This commit is contained in:
mattijs
2013-07-04 17:14:12 +01:00
parent 5125f417ff
commit 0aae9f6b68
2 changed files with 3 additions and 3 deletions

View File

@ -418,7 +418,7 @@ Foam::refinementSurfaces::refinementSurfaces
const labelList& maxLevel,
const labelList& gapLevel,
const scalarField& perpendicularAngle,
const PtrList<dictionary>& patchInfo
PtrList<dictionary>& patchInfo
)
:
allGeometry_(allGeometry),
@ -440,7 +440,7 @@ Foam::refinementSurfaces::refinementSurfaces
{
if (patchInfo.set(pI))
{
patchInfo_[pI] = patchInfo[pI];
patchInfo_.set(pI, patchInfo.set(pI, NULL));
}
}
}

View File

@ -169,7 +169,7 @@ public:
const labelList& maxLevel,
const labelList& gapLevel,
const scalarField& perpendicularAngle,
const PtrList<dictionary>& patchInfo
PtrList<dictionary>& patchInfo
);