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

Function read

src/fvOptions/cellSetOption/cellSetOptionIO.C:30–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
29
30bool Foam::fv::cellSetOption::read(const dictionary& dict)
31{
32 if (option::read(dict))
33 {
34 if (coeffs_.readIfPresent("timeStart", timeStart_))
35 {
36 coeffs_.lookup("duration") >> duration_;
37 }
38 }
39
40 return true;
41}
42
43
44// ************************************************************************* //

Callers 1

cellSetOption.CFile · 0.70

Calls 2

readIfPresentMethod · 0.80
lookupMethod · 0.80

Tested by

no test coverage detected