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

Function read

src/functionObjects/lagrangian/cloudInfo/cloudInfo.C:86–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
85
86bool Foam::functionObjects::cloudInfo::read(const dictionary& dict)
87{
88 regionFunctionObject::read(dict);
89
90 logFiles::resetNames(dict.lookup("clouds"));
91
92 Info<< type() << " " << name() << ": ";
93 if (names().size())
94 {
95 Info<< "applying to clouds:" << nl;
96 forAll(names(), i)
97 {
98 Info<< " " << names()[i] << nl;
99 }
100 Info<< endl;
101 }
102 else
103 {
104 Info<< "no clouds to be processed" << nl << endl;
105 }
106
107 return true;
108}
109
110
111bool Foam::functionObjects::cloudInfo::execute()

Callers 1

cloudInfo.CFile · 0.70

Calls 7

resetNamesFunction · 0.85
namesFunction · 0.85
lookupMethod · 0.80
typeEnum · 0.50
nameFunction · 0.50
forAllFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected