openfoam/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H
2009-08-25 17:57:06 +01:00

19 lines
399 B
C

IOdictionary pdfDictionary
(
IOobject
(
"pdfDict",
runTime.constant(),
runTime,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
label nIntervals(readLabel(pdfDictionary.lookup("nIntervals")));
label nSamples(readLabel(pdfDictionary.lookup("nSamples")));
scalarField samples(nIntervals, 0);