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 (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
 

Function Documentation

◆ pdfDictionary()

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

◆ nIntervals()

const label nIntervals ( pdfDictionary.get< label >  "nIntervals")

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

Here is the caller graph for this function:

◆ nSamples()

const label nSamples ( pdfDictionary.get< label >  "nSamples")

Referenced by windowModel::apply(), inverseDistance::createStencil(), windowModel::New(), windowModel::nWindowsTotal(), ParticleTracks< CloudType >::postFace(), and windowModel::validate().

Here is the caller graph for this function:

◆ writeData()

◆ mkDir()

mkDir ( pdfPath  )

◆ p()

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

◆ 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  ,
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().

Here is the caller graph for this function:

Variable Documentation

◆ pdfPath

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

Definition at line 20 of file createFields.H.

Referenced by if().

◆ rndGen

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< Point, PointRef >::randomPoint(), triangle< Point, PointRef >::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().

◆ xMin

const scalar xMin = p->minValue()

◆ xMax

◆ filePtr

autoPtr<OFstream> filePtr

Definition at line 37 of file createFields.H.

Referenced by if().