Skip to content
Snippets Groups Projects
Commit d2d65142 authored by laurence's avatar laurence
Browse files

BUG: foamyHexMesh: With surfaces of same priority do not overwrite cell size

parent 6d224df7
Branches
Tags
No related merge requests found
......@@ -295,14 +295,14 @@ void Foam::controlMeshRefinement::initialMeshPopulation
shapeController_.minimumCellSize()
);
}
else if (maxPriority == controlFunction.maxPriority())
{
vertices[vI].targetCellSize() = max
(
min(sizes[vI], size),
shapeController_.minimumCellSize()
);
}
// else if (maxPriority == controlFunction.maxPriority())
// {
// vertices[vI].targetCellSize() = max
// (
// min(sizes[vI], size),
// shapeController_.minimumCellSize()
// );
// }
else
{
vertices[vI].targetCellSize() = max
......
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