| 123 | // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // |
| 124 | |
| 125 | bool Foam::functionObjects::fieldMinMax::read(const dictionary& dict) |
| 126 | { |
| 127 | fvMeshFunctionObject::read(dict); |
| 128 | |
| 129 | location_ = dict.lookupOrDefault<Switch>("location", true); |
| 130 | |
| 131 | mode_ = modeTypeNames_[dict.lookupOrDefault<word>("mode", "magnitude")]; |
| 132 | dict.lookup("fields") >> fieldSet_; |
| 133 | |
| 134 | return true; |
| 135 | } |
| 136 | |
| 137 | |
| 138 | bool Foam::functionObjects::fieldMinMax::execute() |