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.get< label >("nIntervals")) |
const label | nSamples (pdfDictionary.get< label >("nSamples")) |
const bool | writeData (pdfDictionary.get< bool >("writeData")) |
mkDir (pdfPath) | |
autoPtr< distributionModel > | p (distributionModel::New(pdfDictionary, rndGen)) |
if (writeData) | |
scalarField | samples (nIntervals, Zero) |
Variables | |
const fileName | pdfPath = runTime.path()/"pdf" |
Random | rndGen |
const scalar | xMin = p->minValue() |
const scalar | xMax = p->maxValue() |
autoPtr< OFstream > | filePtr |
IOdictionary pdfDictionary | ( | IOobject("pdfDict", runTime.constant(), runTime, IOobject::MUST_READ_IF_MODIFIED, IOobject::NO_WRITE) | ) |
const label nIntervals | ( | pdfDictionary.get< label > | "nIntervals" | ) |
Referenced by uniformInterpolationTable< scalar >::uniformInterpolationTable().
const label nSamples | ( | pdfDictionary.get< label > | "nSamples" | ) |
Referenced by windowModel::apply(), inverseDistance::createStencil(), windowModel::New(), windowModel::nWindowsTotal(), ParticleTracks< CloudType >::postFace(), and windowModel::validate().
Referenced by None< Type >::writeData(), ZeroConstant< Type >::writeData(), OneConstant< Type >::writeData(), FunctionObjectValue< Type >::writeData(), FunctionObjectTrigger< Type >::writeData(), UniformValueField< Type >::writeData(), ConstantField< Type >::writeData(), InputValueMapper< Type >::writeData(), Sampled< Type >::writeData(), MappedFile< Type >::writeData(), DimensionedField< Type, Foam::pointMesh >::writeData(), and rawWriter::writeTemplate().
mkDir | ( | pdfPath | ) |
autoPtr<distributionModel> p | ( | distributionModel::New(pdfDictionary, rndGen) | ) |
if | ( | writeData | ) |
Definition at line 38 of file createFields.H.
References Foam::endl(), filePtr, Foam::Info, Foam::nl, p, and pdfPath.
scalarField samples | ( | nIntervals | , |
Zero | |||
) |
Referenced by triSurfaceSearch::calcInside(), mappedPatchBase::calcMapping(), mappedPatchBase::collectSamples(), inverseDistance::createStencil(), mappedPatchBase::findLocalSamples(), searchableSurfacesQueries::findNearest(), triSurfaceRegionSearch::findNearest(), triSurfaceSearch::findNearest(), searchablePlane::findNearest(), searchableExtrudedCircle::findNearest(), searchablePlate::findNearest(), searchableDisk::findNearest(), searchableCylinder::findNearest(), searchableSurfaces::findNearest(), searchableSurfaceCollection::findNearest(), searchableRotatedBox::findNearest(), searchableBox::findNearest(), triSurfaceMesh::findNearest(), searchableCone::findNearest(), searchableSurface::findNearest(), searchableSphere::findNearest(), refinementSurfaces::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementFeatures::findNearestEdge(), refinementFeatures::findNearestPoint(), refinementSurfaces::findNearestRegion(), refinementFeatures::findNearestRegionEdge(), mappedPatchBase::findSamples(), searchableSurfaceWithGaps::getVolumeType(), distributedTriSurfaceMesh::getVolumeType(), TableBase< Type >::interpolator(), mappedPatchFieldBase< scalar >::mappedField(), trackingInverseDistance::markDonors(), inverseDistance::markDonors(), extendedEdgeMesh::nearestFeatureEdge(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), interpolationWeights::New(), offsetSurface::operator()(), sampledPatchInternalField::sampleOnPoints(), searchableSurfacesQueries::signedDistance(), splineInterpolationWeights::splineInterpolationWeights(), and Sampled< Type >::value().
const fileName pdfPath = runTime.path()/"pdf" |
Definition at line 20 of file createFields.H.
Referenced by if().
Random rndGen |
Definition at line 23 of file createFields.H.
Referenced by procFacesGAMGProcAgglomeration::agglomerate(), Foam::barycentric01(), Foam::barycentric2D01(), Stochastic< CloudType >::calculate(), polyMesh::cellTree(), VariableHardSphere< CloudType >::collide(), LarsenBorgnakkeVariableHardSphere< CloudType >::collide(), MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), meshRefinement::distribute(), eddy::eddy(), triSurfaceMesh::edgeTree(), extendedEdgeMesh::edgeTree(), extendedEdgeMesh::edgeTreesByType(), eddy::epsilon(), treeBoundBox::extend(), patchProbes::findElements(), mappedPatchBase::findLocalSamples(), FreeStream< CloudType >::inflow(), InjectedParticleDistributionInjection< CloudType >::initialise(), InjectedParticleDistributionInjection< CloudType >::InjectedParticleDistributionInjection(), distributionModel::New(), extendedEdgeMesh::pointTree(), RecycleInteraction< CloudType >::postEvolve(), tetrahedron::randomPoint(), triangle::randomPoint(), refinementFeatures::regionEdgeTrees(), edgeIntersections::removeDegenerates(), randomRenumber::renumber(), PatchFlowRateInjection< CloudType >::setPositionAndCell(), PatchInjection< CloudType >::setPositionAndCell(), ConeNozzleInjection< CloudType >::setPositionAndCell(), ConeNozzleInjection< CloudType >::setProperties(), triSurfaceSearch::tree(), triSurfaceRegionSearch::treeByRegion(), TAB< CloudType >::update(), SHF< CloudType >::update(), and while().
Definition at line 34 of file createFields.H.
Referenced by waveModel::initialiseGeometry(), and waveMakerPointPatchVectorField::initialiseGeometry().
Definition at line 35 of file createFields.H.
Referenced by waveModel::initialiseGeometry(), waveMakerPointPatchVectorField::initialiseGeometry(), uniformInterpolationTable< scalar >::interpolate(), and uniformInterpolationTable< scalar >::uniformInterpolationTable().
autoPtr<OFstream> filePtr |
Definition at line 37 of file createFields.H.
Referenced by if().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.