createFields.H
Go to the documentation of this file.
1  word dictName("noiseDict");
2  if (args.optionFound("dict"))
3  {
4  dictName = args["dict"];
5  }
6 
7  IOdictionary dict
8  (
9  IOobject
10  (
11  dictName,
12  runTime.system(),
13  runTime,
14  IOobject::MUST_READ
15  )
16  );
17 
18  // reference pressure
19  scalar pRef = dict.lookupOrDefault("pRef", 0.0);
20 
21  // number of samples in sampling window
22  label N = dict.lookupOrDefault("N", 65536);
23 
24  // number of sampling windows
25  label nw = dict.lookupOrDefault("nw", 100);
26 
27  // lower frequency of frequency band
28  scalar f1 = dict.lookupOrDefault("f1", 25.0);
29 
30  // upper frequency of frequency band
31  scalar fU = dict.lookupOrDefault("fU", 10000.0);
32 
33  // graph format
34  word graphFormat = dict.lookupOrDefault<word>("graphFormat", "raw");
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
engineTime & runTime
bool optionFound(const word &opt) const
Return true if the named option is found.
Definition: argListI.H:114
IOdictionary dict(IOobject(dictName, runTime.system(), runTime, IOobject::MUST_READ))
const word dictName("particleTrackDict")
Foam::argList args(argc, argv)