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:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user