This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/utilities/postProcessing/miscellaneous/pdfPlot/createFields.H

29 lines
507 B
C

IOdictionary pdfDictionary
(
IOobject
(
"pdfDictionary",
runTime.constant(),
runTime,
IOobject::MUST_READ,
IOobject::NO_WRITE
)
);
label nIntervals
(
readLabel(pdfDictionary.lookup("nIntervals"))
);
label nSamples
(
readLabel(pdfDictionary.lookup("nSamples"))
);
label samples[nIntervals];
for(label i=0;i<nIntervals;i++)
{
samples[i] = 0;
}