mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Function objects - first pass at updating read functionality
Note: should be using the result of the parent::read(dict) when deciding whether to read local entries...
This commit is contained in:
@ -92,6 +92,8 @@ Foam::functionObjects::histogram::~histogram()
|
||||
|
||||
bool Foam::functionObjects::histogram::read(const dictionary& dict)
|
||||
{
|
||||
fvMeshFunctionObject::read(dict);
|
||||
|
||||
dict.lookup("field") >> fieldName_;
|
||||
dict.lookup("max") >> max_;
|
||||
min_ = dict.lookupOrDefault<scalar>("min", 0);
|
||||
|
||||
Reference in New Issue
Block a user