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
@ -275,7 +275,7 @@ void Foam::faMeshDecomposition::decomposeMesh()
|
||||
ioAddr.rename("faceProcAddressing");
|
||||
labelIOList fvFaceProcAddressing(ioAddr);
|
||||
|
||||
fvFaceProcAddressingHash.resize(2*fvFaceProcAddressing.size());
|
||||
fvFaceProcAddressingHash.reserve(fvFaceProcAddressing.size());
|
||||
|
||||
forAll(fvFaceProcAddressing, facei)
|
||||
{
|
||||
@ -355,7 +355,7 @@ void Foam::faMeshDecomposition::decomposeMesh()
|
||||
|
||||
Map<label>& curMap = procMeshEdgesMap_[procI];
|
||||
curMap.clear();
|
||||
curMap.resize(2*procEdges.size());
|
||||
curMap.reserve(procEdges.size());
|
||||
|
||||
forAll(procEdges, edgeI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user