mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use updated HashTable methods
This commit is contained in:
committed by
Andrew Heather
parent
5dcced7b86
commit
d9727fad1c
@ -148,7 +148,7 @@ void Foam::cellSplitter::setRefinement
|
||||
)
|
||||
{
|
||||
addedPoints_.clear();
|
||||
addedPoints_.resize(cellToMidPoint.size());
|
||||
addedPoints_.reserve(cellToMidPoint.size());
|
||||
|
||||
|
||||
//
|
||||
@ -184,7 +184,7 @@ void Foam::cellSplitter::setRefinement
|
||||
// Add cells (first one is modified original cell)
|
||||
//
|
||||
|
||||
Map<labelList> cellToCells(cellToMidPoint.size());
|
||||
Map<labelList> cellToCells(2*cellToMidPoint.size());
|
||||
|
||||
forAllConstIters(cellToMidPoint, iter)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user