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() |
IOdictionary pdfDictionary | ( | IOobject("pdfDict", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE) | ) |
const label nIntervals | ( | readLabel(pdfDictionary.lookup("nIntervals")) | ) |
Referenced by uniformInterpolationTable< scalar >::uniformInterpolationTable().
const label nSamples | ( | readLabel(pdfDictionary.lookup("nSamples")) | ) |
const bool writeData | ( | readBool(pdfDictionary.lookup("writeData")) | ) |
Referenced by externalCoupledFunctionObject::execute(), regIOobject::read(), IOdictionary::readData(), CloudToVTK< CloudType >::write(), TableFile::writeData(), Constant::writeData(), PolynomialEntry::writeData(), CSV::writeData(), TableBase::writeData(), CloudToVTK< CloudType >::writeFieldData(), regIOobject::writeObject(), rawSurfaceWriter::writeTemplate(), starcdSurfaceWriter::writeTemplate(), vtkSurfaceWriter::writeTemplate(), and dxSurfaceWriter::writeTemplate().
mkDir | ( | pdfPath | ) |
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().
autoPtr<distributionModels::distributionModel> p | ( | distributionModels::distributionModel::New(pdfDictionary, rndGen) | ) |
autoPtr<OFstream> filePtr | ( | NULL | ) |
if | ( | writeData | ) |
Definition at line 38 of file createFields.H.
References Foam::endl(), filePtr(), Foam::Info, Foam::nl, p, and pdfPath.
scalarField samples | ( | nIntervals | , |
0 | |||
) |
Referenced by triSurfaceSearch::calcInside(), mappedPatchBase::calcMapping(), mappedPatchBase::collectSamples(), refinementSurfaces::findHigherLevel(), searchableSurfaceCollection::findNearest(), triSurfaceRegionSearch::findNearest(), triSurfaceSearch::findNearest(), searchablePlane::findNearest(), searchableSphere::findNearest(), searchablePlate::findNearest(), searchableDisk::findNearest(), searchableSurfacesQueries::findNearest(), searchableCylinder::findNearest(), searchableRotatedBox::findNearest(), searchableSurfaces::findNearest(), searchableBox::findNearest(), triSurfaceMesh::findNearest(), searchableCone::findNearest(), searchableSurface::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementSurfaces::findNearest(), refinementFeatures::findNearestEdge(), refinementFeatures::findNearestPoint(), refinementSurfaces::findNearestRegion(), refinementFeatures::findNearestRegionEdge(), mappedPatchBase::findSamples(), searchableSurfaceWithGaps::getVolumeType(), sampledPatchInternalField::interpolateField(), main(), mappedPatchFieldBase< Type >::mappedField(), extendedEdgeMesh::nearestFeatureEdge(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), interpolationWeights::New(), offsetSurface::operator()(), searchableSurfacesQueries::signedDistance(), splineInterpolationWeights::splineInterpolationWeights(), and sampledSets::volFieldSampler< Type >::volFieldSampler().
const fileName pdfPath = runTime.path()/"pdf" |
Definition at line 20 of file createFields.H.
Referenced by if().
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().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.