MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / read

Function read

src/functionObjects/field/fieldMinMax/fieldMinMax.C:125–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
124
125bool 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
138bool Foam::functionObjects::fieldMinMax::execute()

Callers 1

fieldMinMax.CFile · 0.70

Calls 1

lookupMethod · 0.80

Tested by

no test coverage detected