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 (pdfDictionary.lookup< label >("nIntervals")) |
const label | nSamples (pdfDictionary.lookup< label >("nSamples")) |
const bool | writeData (readBool(pdfDictionary.lookup("writeData"))) |
mkDir (pdfPath) | |
Random | rndGen (label(0)) |
autoPtr< distributionModel > | p (distributionModel::New(pdfDictionary, rndGen)) |
autoPtr< OFstream > | filePtr (nullptr) |
if (writeData) | |
scalarField | samples (nIntervals, 0) |
Variables | |
const fileName | pdfPath = runTime.path()/"pdf" |
const scalar | xMin = p->minValue() |
const scalar | xMax = p->maxValue() |
IOdictionary pdfDictionary | ( | IOobject("pdfDict", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE) | ) |
const label nIntervals | ( | pdfDictionary.lookup< label > | "nIntervals" | ) |
const label nSamples | ( | pdfDictionary.lookup< label > | "nSamples" | ) |
const bool writeData | ( | readBool(pdfDictionary.lookup("writeData")) | ) |
Referenced by externalCoupledMixedFvPatchField< scalar >::evaluate(), OFstreamCollator::write(), starcdSurfaceWriter::writeData(), rawSurfaceWriter::writeData(), and DimensionedField< Type, Foam::pointMesh >::writeData().
mkDir | ( | pdfPath | ) |
Random rndGen | ( | label(0) | ) |
Referenced by procFacesGAMGProcAgglomeration::agglomerate(), Stochastic< CloudType >::calculate(), NoAtomisation< CloudType >::clone(), BlobsSheetAtomisation< CloudType >::clone(), LISAAtomisation< CloudType >::clone(), VariableHardSphere< CloudType >::collide(), LarsenBorgnakkeVariableHardSphere< CloudType >::collide(), MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), FreeStream< CloudType >::inflow(), distributionModel::New(), edgeIntersections::removeDegenerates(), randomRenumber::renumber(), PatchInjection< CloudType >::setPositionAndCell(), PatchFlowRateInjection< CloudType >::setPositionAndCell(), ConeInjection< CloudType >::setPositionAndCell(), ConeInjection< CloudType >::setProperties(), TAB< CloudType >::update(), SHF< CloudType >::update(), while(), and Stochastic< CloudType >::~Stochastic().
autoPtr<distributionModel> p | ( | distributionModel::New(pdfDictionary, rndGen) | ) |
autoPtr<OFstream> filePtr | ( | nullptr | ) |
if | ( | writeData | ) |
Definition at line 38 of file createFields.H.
References Foam::endl(), filePtr(), Foam::Info, nIntervals(), Foam::nl, p, samples(), and scalarField().
scalarField samples | ( | nIntervals | , |
0 | |||
) |
Referenced by mappedPatchBase::calcMapping(), refinementFeatures::distances(), if(), patchInternalField::interpolateField(), mappedPatchFieldBase< Type >::mappedField(), triSurfaceSearch::maxTreeDepth(), interpolationWeights::New(), surfaceFeatures::nInternalEdges(), refinementSurfaces::nRegions(), and searchableSurfaces::regionNames().
const fileName pdfPath = runTime.path()/"pdf" |
Definition at line 20 of file createFields.H.
Definition at line 34 of file createFields.H.
Definition at line 35 of file createFields.H.