repo.or.cz
/
foam-extend-3.2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BUGFIX: Illegal use of uninitialised value (backport)
[foam-extend-3.2.git]
/
applications
/
utilities
/
postProcessing
/
miscellaneous
/
pdfPlot
/
createFields.H
blob
c9255fc4cfb72a9e3cb92a2fc8ce7050e29b2ccb
1
IOdictionary pdfDictionary
2
(
3
IOobject
4
(
5
"pdfDictionary",
6
runTime.constant(),
7
runTime,
8
IOobject::MUST_READ,
9
IOobject::NO_WRITE
10
)
11
);
12
13
label nIntervals
14
(
15
readLabel(pdfDictionary.lookup("nIntervals"))
16
);
17
18
label nSamples
19
(
20
readLabel(pdfDictionary.lookup("nSamples"))
21
);
22
23
label samples[nIntervals];
24
25
for(label i=0;i<nIntervals;i++)
26
{
27
samples[i] = 0;
28
}
29