BUG: primitiveMesh: cellPoints, cellEdges inconsistent API. Fixes #703.

This commit is contained in:
mattijs
2018-01-15 14:10:09 +00:00
parent ad82072d0f
commit effe4ce217
5 changed files with 20 additions and 14 deletions

View File

@ -718,10 +718,11 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells
// On-the-fly addressing storage.
DynamicList<label> dynFEdges;
DynamicList<label> dynCPoints;
labelHashSet pSet;
forAll(cellLevel, celli)
{
const labelList& cPoints = mesh_.cellPoints(celli, dynCPoints);
const labelList& cPoints = mesh_.cellPoints(celli, pSet, dynCPoints);
// Get number of anchor points (pointLevel <= cellLevel)