ENH: use updated HashTable methods

This commit is contained in:
Mark Olesen
2023-09-28 16:23:10 +02:00
committed by Andrew Heather
parent 5dcced7b86
commit d9727fad1c
52 changed files with 107 additions and 119 deletions

View File

@ -102,7 +102,7 @@ void Foam::fileFormats::ensightMeshReader::readIDs
foamToElem.resize(sz+nShapes);
if (doRead)
{
elemToFoam.resize(sz+nShapes);
elemToFoam.reserve(elemToFoam.size()+nShapes);
for (label shapei = 0; shapei < nShapes; shapei++)
{
label elemi;

View File

@ -76,14 +76,14 @@ label nCells = 0;
bool hangingNodes = false;
pointField points(0);
faceList faces(0);
labelList owner(0);
labelList neighbour(0);
pointField points;
faceList faces;
labelList owner;
labelList neighbour;
// Group type and name
Map<word> groupType(128);
Map<word> groupName(128);
Map<word> groupType;
Map<word> groupName;
// Point groups
DynamicList<label> pointGroupZoneID;