Commit ffe2142d authored by Mattijs Janssens's avatar Mattijs Janssens
Browse files

refining without surfaces

parent 76f2d62b
......@@ -1838,7 +1838,11 @@ Foam::autoPtr<Foam::mapPolyMesh> Foam::meshRefinement::splitMesh
const labelList& faceNeighbour = mesh_.faceNeighbour();
// Patch for exposed faces for lack of anything sensible.
const label defaultPatch = globalToPatch[0];
label defaultPatch = 0;
if (globalToPatch.size() > 0)
{
defaultPatch = globalToPatch[0];
}
for (label i = 0; i < nBufferLayers; i++)
{
......
Markdown is supported
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