controlDict: the optional graphFormat entry is now used as the default for all setFormat entries

Foam::graph superseded by the more general Foam::setWriter reducing code
maintenance overhead, simplifying usage and further development.
This commit is contained in:
Henry Weller
2023-06-12 17:14:37 +01:00
parent 1e9e0c141b
commit 618d9d33b2
72 changed files with 372 additions and 2034 deletions

View File

@ -408,7 +408,11 @@ bool Foam::functionObjects::populationBalanceSizeDistribution::read
fvMeshFunctionObject::read(dict);
formatterPtr_ = setWriter::New(dict.lookup("setFormat"), dict);
formatterPtr_ = setWriter::New
(
dict.lookupOrDefault("setFormat", time_.graphFormat()),
dict
);
return false;
}