Skip to content
Snippets Groups Projects
Commit c6501b79 authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: ddt2, zeroGradient FOs - set candidates using name match

parent 93ee308e
1 merge request!695OpenFOAM v2406
......@@ -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());
......
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