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) | |
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 | ( | readLabel(pdfDictionary.lookup("nIntervals")) | ) |
Referenced by if(), and uniformInterpolationTable< scalar >::uniformInterpolationTable().
const label nSamples | ( | readLabel(pdfDictionary.lookup("nSamples")) | ) |
const bool writeData | ( | readBool(pdfDictionary.lookup("writeData")) | ) |
Referenced by externalCoupledMixedFvPatchField< scalar >::evaluate(), OFstreamCollator::write(), starcdSurfaceWriter::writeData(), ZeroConstant< Type >::writeData(), vtkSurfaceWriter::writeData(), rawSurfaceWriter::writeData(), DimensionedField< Type, Foam::pointMesh >::writeData(), and optionList::~optionList().
mkDir | ( | pdfPath | ) |
Random rndGen | ( | label(0) | ) |
Referenced by procFacesGAMGProcAgglomeration::agglomerate(), Stochastic< CloudType >::calculate(), NoAtomization< CloudType >::clone(), BlobsSheetAtomization< CloudType >::clone(), LISAAtomization< 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(), ConeNozzleInjection< CloudType >::setPositionAndCell(), ConeNozzleInjection< 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(), sampledPatchInternalField::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.
Referenced by uniformInterpolationTable< scalar >::interpolate(), and uniformInterpolationTable< scalar >::uniformInterpolationTable().