Loading...
Searching...
No Matches
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) )

References runTime.

Referenced by nIntervals(), nSamples(), p(), and writeData().

Here is the caller graph for this function:

◆ nIntervals()

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

References pdfDictionary().

Referenced by samples(), and uniformInterpolationTable< Type >::uniformInterpolationTable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nSamples()

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

References pdfDictionary().

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeData()

const bool writeData ( pdfDictionary.get< bool > "writeData")

References pdfDictionary().

Referenced by if().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mkDir()

◆ p()

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

References pdfDictionary(), and rndGen.

Here is the call graph for this function:

◆ if()

if ( writeData )

Definition at line 38 of file createFields.H.

References filePtr, p, pdfPath, and writeData().

Here is the call graph for this function:

◆ samples()

scalarField samples ( nIntervals ,
Zero  )

References nIntervals().

Referenced by triSurfaceSearch::calcInside(), mappedPatchBase::calcMapping(), searchableSurfacesQueries::ClassName(), mappedPatchBase::collectSamples(), inverseDistance::createStencil(), interpolationWeights::declareRunTimeSelectionTable(), conformationSurfaces::findEdgeNearest(), mappedPatchBase::findLocalSamples(), distributedTriSurfaceMesh::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementSurfaces::findNearest(), refinementSurfaces::findNearest(), searchableBox::findNearest(), searchableCone::findNearest(), searchableCylinder::findNearest(), searchableDisk::findNearest(), searchableExtrudedCircle::findNearest(), searchablePlane::findNearest(), searchablePlate::findNearest(), searchableRotatedBox::findNearest(), searchableSphere::findNearest(), searchableSurface::findNearest(), searchableSurfaceCollection::findNearest(), searchableSurfaces::findNearest(), searchableSurfaces::findNearest(), searchableSurfacesQueries::findNearest(), searchableSurfacesQueries::findNearest(), triSurfaceMesh::findNearest(), triSurfaceMesh::findNearest(), triSurfaceRegionSearch::findNearest(), triSurfaceSearch::findNearest(), refinementFeatures::findNearestEdge(), refinementFeatures::findNearestPoint(), refinementSurfaces::findNearestRegion(), refinementSurfaces::findNearestRegion(), refinementSurfaces::findNearestRegion(), refinementFeatures::findNearestRegionEdge(), mappedPatchBase::findSamples(), conformationSurfaces::findSurfaceNearest(), distributedTriSurfaceMesh::getVolumeType(), searchableSurfaceWithGaps::getVolumeType(), interpolationWeights::interpolationWeights(), TableBase< Type >::interpolator(), linearInterpolationWeights::linearInterpolationWeights(), mappedPatchFieldBase< Type >::mappedField(), inverseDistance::markDonors(), trackingInverseDistance::markDonors(), extendedEdgeMesh::nearestFeatureEdge(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), interpolationWeights::New(), offsetSurface::operator()(), sampledPatchInternalField::sampleOnPoints(), searchableSurfacesQueries::signedDistance(), splineInterpolationWeights::splineInterpolationWeights(), linearInterpolationWeights::TypeName(), splineInterpolationWeights::TypeName(), Sampled< Type >::value(), and extendedEdgeMesh::~extendedEdgeMesh().

Here is the call graph for this function:

Variable Documentation

◆ pdfPath

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

Definition at line 20 of file createFields.H.

Referenced by if(), and mkDir().

◆ rndGen

Random rndGen

Definition at line 23 of file createFields.H.

Referenced by procFacesGAMGProcAgglomeration::agglomerate(), backgroundMeshDecomposition::backgroundMeshDecomposition(), Foam::barycentric01(), Foam::barycentric2D01(), binned::binned(), binned::binned(), BrownianMotionForce< CloudType >::BrownianMotionForce(), Stochastic< CloudType >::calculate(), polyMesh::cellTree(), CellZoneInjection< CloudType >::CellZoneInjection(), distributionModel::clone(), LarsenBorgnakkeVariableHardSphere< CloudType >::collide(), VariableHardSphere< CloudType >::collide(), ConeInjection< CloudType >::ConeInjection(), ConeNozzleInjection< CloudType >::ConeNozzleInjection(), conformationSurfaces::conformationSurfaces(), MaxwellianThermal< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), distributionModel::declareRunTimeSelectionTable(), treeBoundBox::distanceCmp(), meshRefinement::distribute(), distributionModel::distributionModel(), eddy::eddy(), edgeSlipDisplacementPointPatchVectorField::edgeTree(), extendedEdgeMesh::edgeTree(), triSurfaceMesh::edgeTree(), extendedEdgeMesh::edgeTreesByType(), eddy::epsilon(), exponential::exponential(), treeBoundBox::extend(), treeBoundBox::extend(), FieldActivatedInjection< CloudType >::FieldActivatedInjection(), patchFieldProbe::findElements(), mappedPatchBase::findLocalSamples(), fixedValue::fixedValue(), general::general(), general::general(), boundBox::inflate(), InflationInjection< CloudType >::InflationInjection(), FreeStream< CloudType >::inflow(), InjectedParticleDistributionInjection< CloudType >::initialise(), KinematicSurfaceFilm< CloudType >::KinematicSurfaceFilm(), ManualInjection< CloudType >::ManualInjection(), massRosinRammler::massRosinRammler(), meshBb(), multiNormal::multiNormal(), distributionModel::New(), normal::normal(), p(), PatchFlowRateInjection< CloudType >::PatchFlowRateInjection(), PatchInjection< CloudType >::PatchInjection(), extendedEdgeMesh::pointTree(), pointAttractionDisplacementPointPatchVectorField::pointTree(), RecycleInteraction< CloudType >::postEvolve(), Foam::randomMap(), tetrahedron< Point, PointRef >::randomPoint(), tetrahedron< point, const point & >::randomPoint(), triangle< Point, PointRef >::randomPoint(), triangle< point, const point & >::randomPoint(), refinementFeatures::regionEdgeTrees(), edgeIntersections::removeDegenerates(), RosinRammler::RosinRammler(), ConeNozzleInjection< CloudType >::setPositionAndCell(), PatchFlowRateInjection< CloudType >::setPositionAndCell(), PatchInjection< CloudType >::setPositionAndCell(), ConeNozzleInjection< CloudType >::setProperties(), triSurfaceSearch::tree(), triSurfaceRegionSearch::treeByRegion(), exponential::TypeName(), fixedValue::TypeName(), general::TypeName(), massRosinRammler::TypeName(), multiNormal::TypeName(), normal::TypeName(), RosinRammler::TypeName(), uniform::TypeName(), uniform::uniform(), AtomizationModel< CloudType >::update(), BlobsSheetAtomization< CloudType >::update(), LISAAtomization< CloudType >::update(), NoAtomization< CloudType >::update(), SHF< CloudType >::update(), TAB< CloudType >::update(), and while().

◆ xMin

◆ xMax

◆ filePtr