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

◆ pdfDictionary()

IOdictionary pdfDictionary ( IOobject("pdfDict", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE)  )

◆ nIntervals()

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

Referenced by uniformInterpolationTable< scalar >::uniformInterpolationTable().

Here is the caller graph for this function:

◆ nSamples()

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

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

Here is the caller graph for this function:

◆ writeData()

const bool writeData ( readBool(pdfDictionary.lookup("writeData"))  )

◆ mkDir()

mkDir ( pdfPath  )

◆ rndGen()

cachedRandom rndGen ( label(0)  ,
1 
)

Referenced by procFacesGAMGProcAgglomeration::agglomerate(), meshSearch::boundaryTree(), InteractionLists< typename CloudType::parcelType >::buildInteractionLists(), refinementFeatures::buildTrees(), patchCloudSet::calcSamples(), patchSeedSet::calcSamples(), faceHeatShading::calculate(), faceShading::calculate(), Stochastic< CloudType >::calculate(), pointToPointPlanarInterpolation::calcWeights(), meshSearch::cellTree(), polyMesh::cellTree(), VariableHardSphere< CloudType >::collide(), LarsenBorgnakkeVariableHardSphere< CloudType >::collide(), ConeNozzleInjection< CloudType >::ConeNozzleInjection(), MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), meshRefinement::distribute(), triSurfaceMesh::edgeTree(), extendedEdgeMesh::edgeTree(), extendedEdgeMesh::edgeTreesByType(), LarsenBorgnakkeVariableHardSphere< CloudType >::energyRatio(), treeBoundBox::extend(), patchProbes::findElements(), mappedPatchBase::findSamples(), faceCoupleInfo::findSlavesCoveringMaster(), FreeStream< CloudType >::inflow(), edgeIntersections::inlinePerturb(), main(), distributionModel::New(), sampledTriSurfaceMesh::nonCoupledboundaryTree(), edgeIntersections::offsetPerturb(), PatchFlowRateInjection< CloudType >::parcelsToInject(), extendedEdgeMesh::pointTree(), triangle< Foam::Vector, Foam::Vector >::randomPoint(), tetrahedron::randomPoint(), refinementFeatures::regionEdgeTrees(), edgeIntersections::removeDegenerates(), randomRenumber::renumber(), autoSnapDriver::reverseAttractMeshPoints(), edgeIntersections::rotatePerturb(), Stochastic< CloudType >::sampleGauss(), PatchInjection< CloudType >::setPositionAndCell(), PatchFlowRateInjection< CloudType >::setPositionAndCell(), ConeNozzleInjection< CloudType >::setPositionAndCell(), ConeNozzleInjection< CloudType >::setProperties(), testPackedList(), testSparseData(), triSurfaceSearch::tree(), triSurfaceRegionSearch::treeByRegion(), TAB< CloudType >::update(), SHF< CloudType >::update(), and while().

◆ p()

autoPtr<distributionModels::distributionModel> p ( distributionModels::distributionModel::New(pdfDictionary, rndGen )

◆ filePtr()

autoPtr<OFstream> filePtr ( NULL  )

Referenced by if().

Here is the caller graph for this function:

◆ if()

if ( writeData  )

Definition at line 38 of file createFields.H.

References Foam::endl(), filePtr(), Foam::Info, Foam::nl, p, and pdfPath.

Here is the call graph for this function:

◆ samples()

scalarField samples ( nIntervals  ,
 
)

Variable Documentation

◆ pdfPath

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

Definition at line 20 of file createFields.H.

Referenced by if().

◆ xMin

const scalar xMin = p->minValue()

Definition at line 34 of file createFields.H.

◆ xMax

const scalar xMax = p->maxValue()