Commit 53671c51 authored by Mark Olesen's avatar Mark Olesen
Browse files

avoid setSize(s,t) in refinementHistory

parent 073569c0
......@@ -410,8 +410,14 @@ Foam::refinementHistory::refinementHistory
}
else
{
splitCells_.setSize(nCells, splitCell8());
visibleCells_ = identity(nCells);
visibleCells_.setSize(nCells);
splitCells_.setSize(nCells);
for (label cellI = 0; cellI < nCells; cellI++)
{
visibleCells_[cellI] = cellI;
splitCells_.append(splitCell8());
}
}
// Check indices.
......
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