FreeFOAM The Cross-Platform CFD Toolkit
createFields.H
Go to the documentation of this file.
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 
24 
25  for(label i=0;i<nIntervals;i++)
26  {
27  samples[i] = 0;
28  }
29 
30 
31 // ************************ vim: set sw=4 sts=4 et: ************************ //