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
@ -284,8 +284,8 @@ bool Foam::functionObjects::nearWallFields::read(const dictionary& dict)
|
||||
// Generate fields with mappedField boundary condition
|
||||
|
||||
// Convert field to map
|
||||
fieldMap_.resize(2*fieldSet_.size());
|
||||
reverseFieldMap_.resize(2*fieldSet_.size());
|
||||
fieldMap_.reserve(fieldSet_.size());
|
||||
reverseFieldMap_.reserve(fieldSet_.size());
|
||||
forAll(fieldSet_, seti)
|
||||
{
|
||||
const word& fldName = fieldSet_[seti].first();
|
||||
|
||||
Reference in New Issue
Block a user