ENH: Updated wildcard handling for function object field entries

This commit is contained in:
Andrew Heather
2017-12-13 20:57:56 +00:00
parent b37fc2d4b1
commit 3da2aee4ef
8 changed files with 71 additions and 23 deletions

View File

@ -37,7 +37,7 @@ void Foam::functionObjects::fileFieldSelection::addFromFile
wordHashSet& set
) const
{
DynamicList<word> names;
DynamicList<word> names(this->size());
for (const wordRe& fieldName : *this)
{
@ -49,7 +49,7 @@ void Foam::functionObjects::fileFieldSelection::addFromFile
template<template<class> class PatchType, class MeshType>
void Foam::functionObjects::fileFieldSelection::addFileGeoFields
void Foam::functionObjects::fileFieldSelection::addGeoFieldTypes
(
wordHashSet& set
) const