createFields.H
Go to the documentation of this file.
1 IOdictionary propsDict
2 (
3  IOobject
4  (
5  "particleTrackProperties",
6  runTime.constant(),
7  mesh,
8  IOobject::MUST_READ_IF_MODIFIED
9  )
10 );
11 
12 const word cloudName(propsDict.lookup("cloudName"));
13 
14 label sampleFrequency(readLabel(propsDict.lookup("sampleFrequency")));
15 
16 // outputMode: compositeFile, filePerTrack
17 //word outputmode(propsDict.lookup("outputMode"))
18 
19 label maxPositions(readLabel(propsDict.lookup("maxPositions")));
20 
21 // outputFormat: raw, vtk
22 //word outputFormat(propsDict.lookup("outputFormat"));
23 word setFormat(propsDict.lookupOrDefault<word>("setFormat", "vtk"));
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
IOdictionary propsDict(IOobject("particleTrackProperties", runTime.constant(), mesh, IOobject::MUST_READ_IF_MODIFIED))
const word cloudName(propsDict.lookup("cloudName"))
word setFormat(propsDict.lookupOrDefault< word >("setFormat","vtk"))
label sampleFrequency(readLabel(propsDict.lookup("sampleFrequency")))
dynamicFvMesh & mesh
label maxPositions(readLabel(propsDict.lookup("maxPositions")))
label readLabel(Istream &is)
Definition: label.H:64