mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: ddt2, zeroGradient FOs - set candidates using name match
This commit is contained in:
@ -172,10 +172,7 @@ bool Foam::functionObjects::ddt2::execute()
|
||||
{
|
||||
results_.clear();
|
||||
|
||||
wordHashSet candidates
|
||||
(
|
||||
mesh_.names(selectFields_)
|
||||
);
|
||||
wordHashSet candidates(mesh_.names<regIOobject>(selectFields_));
|
||||
|
||||
DynamicList<word> missing(selectFields_.size());
|
||||
DynamicList<word> ignored(selectFields_.size());
|
||||
|
||||
@ -134,10 +134,7 @@ bool Foam::functionObjects::zeroGradient::execute()
|
||||
{
|
||||
results_.clear();
|
||||
|
||||
wordHashSet candidates
|
||||
(
|
||||
mesh_.names(selectFields_)
|
||||
);
|
||||
wordHashSet candidates(mesh_.names<regIOobject>(selectFields_));
|
||||
|
||||
DynamicList<word> missing(selectFields_.size());
|
||||
DynamicList<word> ignored(selectFields_.size());
|
||||
|
||||
Reference in New Issue
Block a user