Functions | Variables
createFields.H File Reference

Go to the source code of this file.

Functions

IOdictionary pdfDictionary (IOobject("pdfDict", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE))
 
const label nIntervals (readLabel(pdfDictionary.lookup("nIntervals")))
 
const label nSamples (readLabel(pdfDictionary.lookup("nSamples")))
 
const bool writeData (readBool(pdfDictionary.lookup("writeData")))
 
 mkDir (pdfPath)
 
cachedRandom rndGen (label(0),-1)
 
autoPtr< distributionModels::distributionModel > p (distributionModels::distributionModel::New(pdfDictionary, rndGen))
 
autoPtr< OFstream > filePtr (NULL)
 
 if (writeData)
 
scalarField samples (nIntervals, 0)
 

Variables

const fileName pdfPath = runTime.path()/"pdf"
 
const scalar xMin = p->minValue()
 
const scalar xMax = p->maxValue()
 

Function Documentation

IOdictionary pdfDictionary ( IOobject("pdfDict", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE)  )
const label nIntervals ( readLabel(pdfDictionary.lookup("nIntervals"))  )

Referenced by if(), and uniformInterpolationTable< Type >::uniformInterpolationTable().

Here is the caller graph for this function:

const label nSamples ( readLabel(pdfDictionary.lookup("nSamples"))  )

Referenced by ParticleTracks< CloudType >::postFace().

Here is the caller graph for this function:

const bool writeData ( readBool(pdfDictionary.lookup("writeData"))  )
mkDir ( pdfPath  )
cachedRandom rndGen ( label(0)  ,
1 
)
autoPtr<distributionModels::distributionModel> p ( distributionModels::distributionModel::New(pdfDictionary, rndGen )
autoPtr<OFstream> filePtr ( NULL  )

Referenced by if().

Here is the caller graph for this function:

if ( writeData  )

Definition at line 38 of file createFields.H.

References Foam::endl(), filePtr(), Foam::Info, nIntervals(), Foam::nl, p, samples(), and scalarField().

Here is the call graph for this function:

scalarField samples ( nIntervals  ,
 
)

Variable Documentation

const fileName pdfPath = runTime.path()/"pdf"

Definition at line 20 of file createFields.H.

const scalar xMin = p->minValue()

Definition at line 34 of file createFields.H.

const scalar xMax = p->maxValue()