Commit ca5d9123 authored by Mark Olesen's avatar Mark Olesen
Browse files

STYLE: use edgeHashes include

STYLE: use initial hash size 128 instead of 100 in a few places
parent dd9ecd49
......@@ -80,8 +80,8 @@ labelList owner(0);
labelList neighbour(0);
// Group type and name
Map<word> groupType(100);
Map<word> groupName(100);
Map<word> groupType(128);
Map<word> groupName(128);
// Point groups
DynamicList<label> pointGroupZoneID;
......
......@@ -35,7 +35,7 @@ SourceFiles
#ifndef patchToPoly2DMesh_H
#define patchToPoly2DMesh_H
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "MeshedSurface.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -123,7 +123,7 @@ SourceFiles
#include "dictionary.H"
#include "Switch.H"
#include "bitSet.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "cv2DControls.H"
#include "tolerances.H"
#include "meshTools.H"
......
......@@ -4,7 +4,7 @@
#include "cellSet.H"
#include "faceSet.H"
#include "pointSet.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "wedgePolyPatch.H"
#include "unitConversion.H"
#include "polyMeshTetDecomposition.H"
......
......@@ -97,7 +97,7 @@ Description
#include "cellSet.H"
#include "polyTopoChange.H"
#include "removeCells.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "syncTools.H"
#include "ReadFields.H"
#include "mappedWallPolyPatch.H"
......
......@@ -434,7 +434,7 @@ HashSet<Key,Hash> operator^
//- A HashSet with word keys.
typedef HashSet<> wordHashSet;
typedef HashSet<word> wordHashSet;
//- A HashSet with label keys and label hasher.
typedef HashSet<label, Hash<label>> labelHashSet;
......
......@@ -38,7 +38,7 @@ SourceFiles
#include "transform.H"
#include "List.H"
#include "Map.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "tensorField.H"
......
......@@ -25,7 +25,7 @@ License
#include "lduPrimitiveMesh.H"
#include "processorLduInterface.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "labelPair.H"
#include "processorGAMGInterface.H"
......
......@@ -34,8 +34,8 @@ Description
#ifndef EdgeMap_H
#define EdgeMap_H
#include "HashTable.H"
#include "edge.H"
#include "HashTable.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -33,9 +33,9 @@ Description
#ifndef edgeHashes_H
#define edgeHashes_H
#include "HashSet.H"
#include "edge.H"
#include "EdgeMap.H"
#include "HashSet.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -31,7 +31,7 @@ License
#include "lduSchedule.H"
#include "globalMeshData.H"
#include "stringListOps.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
......
......@@ -30,7 +30,7 @@ License
#include "demandDrivenData.H"
#include "OFstream.H"
#include "matchPoints.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "Time.H"
#include "transformField.H"
#include "SubField.H"
......
......@@ -43,7 +43,7 @@ SourceFiles
#define syncTools_H
#include "Pstream.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "bitSet.H"
#include "polyMesh.H"
#include "coupledPolyPatch.H"
......
......@@ -28,7 +28,7 @@ License
#include "ListOps.H"
#include "unitConversion.H"
#include "SortableList.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "primitiveMeshTools.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
......@@ -1586,7 +1586,7 @@ bool Foam::primitiveMesh::checkFaceFaces
label nBaffleFaces = 0;
label nErrorDuplicate = 0;
label nErrorOrder = 0;
Map<label> nCommonPoints(100);
Map<label> nCommonPoints(128);
for (label facei = 0; facei < nFaces(); facei++)
{
......
......@@ -44,7 +44,7 @@ SourceFiles
#include "Map.H"
#include "labelList.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "typeInfo.H"
#include "labelPair.H"
......
......@@ -40,7 +40,7 @@ SourceFiles
#include "labelList.H"
#include "typeInfo.H"
#include "Map.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -115,7 +115,7 @@ SourceFiles
#include "labelList.H"
#include "typeInfo.H"
#include "Map.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -29,7 +29,7 @@ License
#include "polyTopoChange.H"
#include "mapPolyMesh.H"
#include "OFstream.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
#include "syncTools.H"
#include "triPointRef.H"
......
......@@ -38,7 +38,7 @@ SourceFiles
#include "boolList.H"
#include "HashSet.H"
#include "Map.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
......@@ -36,7 +36,7 @@ SourceFiles
#define FECCellToFaceStencil_H
#include "cellToFaceStencil.H"
#include "EdgeMap.H"
#include "edgeHashes.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......
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