LISASMDCalcMethod2.H File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 if (maxValue - minValue< SMALL)
 
 forAll (rrd, n)
 
 while (!success &&(k< 500))
 

Variables

scalar delta = dD/factorGamma
 
scalar minValue = dD/10.0
 
scalar maxValue = dD
 
scalar range = maxValue - minValue
 
scalar nExp = 3
 
FixedList< scalar, 500 > rrd
 
scalar probFactorMin = exp(-pow(minValue/delta, nExp))
 
scalar probFactorMax = exp(-pow(maxValue/delta, nExp))
 
scalar probFactor = 1.0/(probFactorMin - probFactorMax)
 
bool success = false
 
scalar y = rndGen.sample01<scalar>()
 
label k = 0
 
 x = minValue + range*(k - 0.5)/500.0
 

Function Documentation

◆ if()

if ( )

Definition at line 18 of file LISASMDCalcMethod2.H.

References maxValue, and minValue.

◆ forAll()

forAll ( rrd  ,
n   
)

Definition at line 31 of file LISASMDCalcMethod2.H.

References delta, minValue, n, nExp, probFactor, probFactorMin, range, and rrd.

◆ while()

while ( !success &&  k< 500)

Definition at line 43 of file LISASMDCalcMethod2.H.

References k, rrd, success, and y.

Variable Documentation

◆ delta

scalar delta = dD/factorGamma

Definition at line 8 of file LISASMDCalcMethod2.H.

Referenced by Moment< Type >::add(), maxDurationCondition::apply(), DEShybrid< Type >::blendingFactor(), valueAverageBase::calc(), highAspectRatioFvGeometryScheme::calcAspectRatioWeights(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::calculate(), dynamicKEqn< BasicTurbulenceModel >::Ce(), dynamicKEqn< BasicTurbulenceModel >::Ck(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), dynamicKEqn< BasicTurbulenceModel >::correct(), dynamicLagrangian< BasicTurbulenceModel >::correct(), kEqn< BasicTurbulenceModel >::correct(), thixotropicViscosity::correct(), curvatureSeparation::correct(), BrunDrippingInjection::correct(), drippingInjection::correct(), patchInjection::correct(), standardPhaseChange::correctModel(), waxSolventEvaporation::correctModel(), NicenoKEqn< BasicTurbulenceModel >::correctNut(), SmagorinskyZhang< BasicTurbulenceModel >::correctNut(), DeardorffDiffStress< BasicTurbulenceModel >::correctNut(), kEqn< BasicTurbulenceModel >::correctNut(), Smagorinsky< BasicTurbulenceModel >::correctNut(), WALE< BasicTurbulenceModel >::correctNut(), dynamicLagrangian< BasicTurbulenceModel >::correctNut(), dynamicKEqn< BasicTurbulenceModel >::correctNut(), fvMesh::delta(), SpalartAllmarasDDES< BasicTurbulenceModel >::dTilda(), SpalartAllmarasDES< BasicTurbulenceModel >::dTilda(), SpalartAllmarasIDDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTDDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTIDDES< BasicTurbulenceModel >::dTilda(), LESModel< BasicTurbulenceModel >::epsilon(), PDRblock::location::findIndex(), forAll(), kOmegaSSTLM< BasicTurbulenceModel >::Fthetat(), viewFactor::initialise(), Moment< Type >::interpolate(), StandardChemistryModel< ReactionThermo, ThermoType >::jacobian(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::jacobian(), TDACChemistryModel< ReactionThermo, ThermoType >::jacobian(), dynamicLagrangian< BasicTurbulenceModel >::k(), Smagorinsky< BasicTurbulenceModel >::k(), WALE< BasicTurbulenceModel >::k(), faPatch::makeCorrectionVectors(), faPatch::makeDeltaCoeffs(), basicFvGeometryScheme::nonOrthCorrectionVectors(), basicFvGeometryScheme::nonOrthDeltaCoeffs(), kOmegaSSTSAS< BasicTurbulenceModel >::Qsas(), eddyDissipationDiffusionModel< ReactionThermo, ThermoType >::rtDiff(), PPCG::scalarSolveCG(), globalIndex::setLocalSize(), CompactListList< T >::setLocalSize(), standardRadiation::Shs(), pyrolysisChemistryModel< CompType, SolidThermo, GasThermo >::solve(), laminar::Su(), LISAAtomization< CloudType >::update(), adjointFarFieldPressureFvPatchScalarField::updateCoeffs(), adjointFarFieldVelocityFvPatchVectorField::updateCoeffs(), adjointFarFieldNuaTildaFvPatchScalarField::updateCoeffs(), adjointFarFieldTMVar1FvPatchScalarField::updateCoeffs(), adjointFarFieldTMVar2FvPatchScalarField::updateCoeffs(), adjointOutletKaFvPatchScalarField::updateCoeffs(), adjointOutletNuaTildaFvPatchScalarField::updateCoeffs(), adjointOutletWaFvPatchScalarField::updateCoeffs(), reactingOneDim::updateqr(), histogram::write(), regionSizeDistribution::write(), and sizeDistribution::write().

◆ minValue

◆ maxValue

scalar maxValue = dD

Definition at line 13 of file LISASMDCalcMethod2.H.

Referenced by if().

◆ range

scalar range = maxValue - minValue

Definition at line 23 of file LISASMDCalcMethod2.H.

Referenced by forAll().

◆ nExp

scalar nExp = 3

Definition at line 25 of file LISASMDCalcMethod2.H.

Referenced by forAll(), and while().

◆ rrd

FixedList<scalar, 500> rrd

Definition at line 26 of file LISASMDCalcMethod2.H.

Referenced by forAll(), and while().

◆ probFactorMin

scalar probFactorMin = exp(-pow(minValue/delta, nExp))

Definition at line 27 of file LISASMDCalcMethod2.H.

Referenced by forAll().

◆ probFactorMax

scalar probFactorMax = exp(-pow(maxValue/delta, nExp))

Definition at line 28 of file LISASMDCalcMethod2.H.

◆ probFactor

scalar probFactor = 1.0/(probFactorMin - probFactorMax)

Definition at line 29 of file LISASMDCalcMethod2.H.

Referenced by forAll().

◆ success

bool success = false

Definition at line 38 of file LISASMDCalcMethod2.H.

Referenced by while().

◆ y

scalar y = rndGen.sample01<scalar>()

Definition at line 40 of file LISASMDCalcMethod2.H.

Referenced by while().

◆ k

label k = 0

Definition at line 41 of file LISASMDCalcMethod2.H.

Referenced by dictionary::add(), multiphaseStabilizedTurbulence::addSup(), phaseChange::addToDriftRate(), atmAmbientTurbSource::atmAmbientTurbSource(), atmBoundaryLayerInletKFvPatchScalarField::atmBoundaryLayerInletKFvPatchScalarField(), PDRblock::C(), alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::calcAlphat(), energySpectrum::calcAndWriteSpectrum(), BrownianMotionForce< CloudType >::calcCoupled(), addPatchCellLayer::calcExtrudeInfo(), LaakkonenAlopaeusAittamaaDsd::calcNik(), uniformBinary::calcNik(), atmNutkWallFunctionFvPatchScalarField::calcNut(), atmNutWallFunctionFvPatchScalarField::calcNut(), nutkRoughWallFunctionFvPatchScalarField::calcNut(), nutkWallFunctionFvPatchScalarField::calcNut(), MUCSheterogeneousRate< CloudType >::calculate(), atmEpsilonWallFunctionFvPatchScalarField::calculate(), epsilonWallFunctionFvPatchScalarField::calculate(), atmOmegaWallFunctionFvPatchScalarField::calculate(), omegaWallFunctionFvPatchScalarField::calculate(), nutkFilmWallFunctionFvPatchScalarField::calcUTau(), binaryNode< CompType, ThermoType >::calcV(), formatter::canWriteAttr(), ijkMesh::cellLabel(), ijkAddressing::checkIndex(), HashPtrTable< IOobject >::clear(), IntegralScaleBox< Type >::convolve(), diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), EDC< ReactionThermo >::correct(), daughterSizeDistributionModel::correct(), phaseChange::correct(), radiativeIntensityRay::correct(), DeardorffDiffStress< BasicTurbulenceModel >::correct(), multiphaseStabilizedTurbulence::correct(), trackedParticle::correctAfterParallelTransfer(), SmagorinskyZhang< BasicTurbulenceModel >::correctNut(), DeardorffDiffStress< BasicTurbulenceModel >::correctNut(), Smagorinsky< BasicTurbulenceModel >::correctNut(), WALE< BasicTurbulenceModel >::correctNut(), kOmegaSSTLM< BasicTurbulenceModel >::correctReThetatGammaInt(), LLTMatrix< Type >::decompose(), dmat_uniform(), kOmegaSSTDDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTDES< BasicTurbulenceModel >::dTilda(), kOmegaSSTIDDES< BasicTurbulenceModel >::dTilda(), dtris2(), PDRblock::dz(), blockDescriptor::edge(), Foam::Ek(), pairPotential::energy(), pairPotential::energyTable(), LESModel< BasicTurbulenceModel >::epsilon(), SpalartAllmaras< BasicTurbulenceModel >::epsilon(), Foam::Math::erfInv(), comfort::execute(), proudmanAcousticPower::execute(), Foam::facePointN(), blockDescriptor::facePoints(), voxelMeshSearch::fill(), inverseDistance::fill(), blockDescriptor::flatFaceOrEdge(), pairPotential::force(), pairPotential::forceTable(), Enum< injectionMethod >::get(), NURBS3DVolume::getCPID(), PDRblock::grid(), Foam::HasherInt(), ijkAddressing::index(), inverseDistance::index3(), distribution::insertMissingKeys(), BlendedInterfacialModel< ModelType >::K(), Kmesh::Kmesh(), kOmegaSSTDES< BasicTurbulenceModel >::LESRegion(), Foam::LUDecompose(), faPatch::makeCorrectionVectors(), kaqRWallFunctionFvPatchScalarField::manipulateMatrix(), distribution::mean(), Distribution< Type >::mean(), daughterSizeDistributionModel::nik(), distribution::normalised(), Distribution< Type >::normalised(), Foam::operator&(), IjkField< Type >::operator()(), Foam::operator*(), triad::operator+=(), Foam::operator^(), voxelMeshSearch::overlaps(), inverseDistance::overlaps(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), ijkMesh::pointLabel(), points_delaunay_naive_2d(), argList::printCompat(), IOobjectList::prune_0(), continuousGasKEpsilon< BasicTurbulenceModel >::R(), eddyViscosity< BasicTurbulenceModel >::R(), distribution::raw(), Distribution< Type >::raw(), energySpectrum::read(), IjkField< Type >::resize(), kOmegaSSTLM< BasicTurbulenceModel >::ReThetat0(), eddyDissipationModelBase< ReactionThermo, ThermoType >::rtTurb(), general::sample(), dictionary::set(), pairPotential::setLookupTables(), seulex::seulex(), block::shapes(), QRMatrix< MatrixType >::solve(), SIBS::solve(), seulex::solve(), Foam::solve(), extendedEdgeMesh::sortPointsAndEdges(), PDRblock::span(), SVD::SVD(), triangulation_plot_eps(), triangulation_print(), StokesI::UfBase(), StokesII::UfBase(), GradientDispersionRAS< CloudType >::update(), StochasticDispersionRAS< CloudType >::update(), LISAAtomization< CloudType >::update(), atmBoundaryLayerInletKFvPatchScalarField::updateCoeffs(), atmAlphatkWallFunctionFvPatchScalarField::updateCoeffs(), advectiveFvPatchField< Type >::updateCoeffs(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), alphatFilmWallFunctionFvPatchScalarField::updateCoeffs(), kLowReWallFunctionFvPatchScalarField::updateCoeffs(), reactingOneDim::updatePhiGas(), reactingOneDim::updateqr(), IATEsource::Ut(), PDRblock::V(), blockDescriptor::vertex(), ijkMesh::vertLabels(), while(), PDRblock::width(), ensightWrite::write(), vtkWrite::write(), voxelMeshSearch::write(), formatter::writeAttr(), voxelMeshSearch::writeGrid(), formatter::xmlAttr(), and nutkWallFunctionFvPatchScalarField::yPlus().

◆ x

x = minValue + range*(k - 0.5)/500.0

Definition at line 52 of file LISASMDCalcMethod2.H.

Referenced by Matrix< Form, Type >::Amul(), Matrix< Form, Type >::AmulImpl(), obstacleGrouping::append(), Foam::atan2(), atmCoriolisUSource::atmCoriolisUSource(), binaryTree< CompType, ThermoType >::balance(), BarycentricTensor< Cmpt >::BarycentricTensor(), Matrix< RectangularMatrix< Type >, Type >::begin(), Foam::BitOps::bit_count(), buoyancyTurbSource::buoyancyTurbSource(), targetCoeffTrim::calcCoeffs(), LaakkonenAlopaeusAittamaaDsd::calcNik(), uniformBinary::calcNik(), Foam::calcPE15(), Foam::calcQE11(), Foam::calcQE16(), Stochastic< CloudType >::calculate(), TableBase< Type >::checkMaxBounds(), TableBase< Type >::checkMinBounds(), Tensor2D< Cmpt >::cols(), Tensor< Cmpt >::cols(), EigenMatrix< cmptType >::complexEVecs(), molecule::constantProperties::constantProperties(), rotorDiskSource::constructGeometry(), treeBoundBox::corner(), triSurfaceTools::curvatures(), triad::cx(), triad::cy(), triad::cz(), d_max(), d_min(), binaryTree< CompType, ThermoType >::deleteLeaf(), Polynomial< PolySize >::derivative(), cubicEqn::derivative(), quadraticEqn::derivative(), faMeshDistributor::distribute(), Foam::Math::erfInv(), cubicEqn::error(), linearEqn::error(), quadraticEqn::error(), Grimshaw::eta(), McCowan::eta(), quaternion::eulerAngles(), BlendedInterfacialModel< ModelType >::evaluate(), setFlow::execute(), treeBoundBox::faceBits(), blockDescriptor::facePointLabel(), blockDescriptor::flatFaceOrEdge(), forAll(), rigidBodyModel::forwardDynamics(), exprDriver::getFunctionValue(), Foam::hypot(), Foam::Math::incGamma_P(), Foam::Math::incGamma_Q(), Foam::Math::incGammaRatio_P(), Foam::Math::incGammaRatio_Q(), waveModel::initialiseGeometry(), patchTransformedInterpolation::interpolate(), uniformInterpolationTable< Type >::interpolate(), uniformInterpolationTable< Type >::interpolateLog10(), uniformInterpolationTable< scalar >::interpolateLog10(), Foam::interpolateSplineXY(), Foam::interpolateXY(), QRMatrix< MatrixType >::inv(), Vector2D< Cmpt >::isClose(), thermoCoupleProbes::jacobian(), BlendedInterfacialModel< Foam::dragModel >::Kf(), Foam::kShellIntegration(), Foam::kShellMean(), Foam::LAB_to_XYZ(), Foam::less(), makeFaGradScheme(), Foam::makeGraph(), Foam::minMax(), Foam::minMaxMag(), McCowan::newtonRapsonF1(), McCowan::newtonRapsonF2(), ObukhovLength::ObukhovLength(), offsetOp< face >::operator()(), csvTableReader< Type >::operator()(), areaIntegrateOp< Type >::operator()(), volumeIntegrateOp< Type >::operator()(), offsetOp< labelledTri >::operator()(), floorOp< Scalar >::operator()(), ceilOp< Scalar >::operator()(), roundOp< Scalar >::operator()(), minMaxMagOp< T >::operator()(), offsetOp< T >::operator()(), hypotOp< T >::operator()(), minMaxOp< T >::operator()(), scalarDivideOp< T, T2 >::operator()(), scalarModuloOp< T, T2 >::operator()(), offsetOp< triFace >::operator()(), reduceFileStates::operator()(), minEqOpFace::operator()(), ifEqEqOp< value >::operator()(), unionEqOp::operator()(), minEqOp< labelPair >::operator()(), faceEqOp< T, CombineOp >::operator()(), listPlusEqOp< T >::operator()(), appendEqOp< T >::operator()(), uniqueEqOp< T >::operator()(), listUpdateOp< Type, TrackingData >::operator()(), minMaxEqOp< T >::operator()(), nearestFaceAMI::nearestEqOp::operator()(), nearestEqOp::operator()(), mappedPatchBase::nearestEqOp::operator()(), mappedPatchBase::maxProcEqOp::operator()(), mappedPatchBase::nearestWorldEqOp::operator()(), minFirstEqOp< T1 >::operator()(), maxFirstEqOp< T1 >::operator()(), combineConstraintsEqOp::operator()(), minMaxMagEqOp< T >::operator()(), UPstream::listEq::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), isNotEqOp< T >::operator()(), combine< Type, TrackingData >::operator()(), updateOp< PrimitivePatchType, Type, TrackingData >::operator()(), combineEqOp< Type, TrackingData >::operator()(), combineReduceFileStates::operator()(), volumeCombineOp::operator()(), Foam::operator*(), AveragingMethod< Type >::operator*=(), Foam::operator+(), listOp< N >::result::operator+(), AveragingMethod< Type >::operator+=(), Foam::operator/(), AveragingMethod< Type >::operator/=(), AveragingMethod< Type >::operator=(), triad::operator=(), InflationInjection< CloudType >::parcelsToInject(), Vector2D< Cmpt >::perp(), BlendedInterfacialModel< Foam::dragModel >::phaseModel(), Foam::MatrixTools::pinv(), weightedPosition::plusEqOp(), treeBoundBox::posBits(), Foam::pow(), ArdenBuck::pSatPrime(), quaternion::R(), energySpectrum::read(), fixedTrim::read(), NASedgeFormat::read(), GTSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), general::readDict(), STARCDMeshReader::readPoints(), STARCDCore::readPoints(), parProfiling::report(), Foam::RGB_to_XYZ(), cubicEqn::roots(), quadraticEqn::roots(), Roots< N >::Roots(), Tensor< Cmpt >::row(), Tensor2D< Cmpt >::row(), SymmTensor< Cmpt >::row(), Tensor2D< Cmpt >::rows(), SymmTensor< Cmpt >::rows(), Tensor< Cmpt >::rows(), massRosinRammler::sample(), normal::sample(), multiNormal::sample(), searchableDisk::searchableDisk(), binaryTree< CompType, ThermoType >::secondaryBTSearch(), scanToken::setVector(), Foam::Sn(), adaptiveSolver::solve(), QRMatrix< MatrixType >::solve(), LLTMatrix< Type >::solve(), LUscalarMatrix::solve(), Euler::solve(), EulerSI::solve(), ODESolver::solve(), RKCK45::solve(), RKDP45::solve(), RKF45::solve(), rodas23::solve(), rodas34::solve(), Rosenbrock12::solve(), Rosenbrock23::solve(), Rosenbrock34::solve(), SIBS::solve(), Trapezoid::solve(), seulex::solve(), triad::sortxyz(), Foam::srange01(), Foam::stabilise(), SVD::SVD(), swapec(), SymmTensor< Cmpt >::SymmTensor(), SymmTensor< scalar >::T(), colourTable::table(), Tensor< scalar >::Tensor(), Tensor2D< Cmpt >::Tensor2D(), Foam::tetCutPrism0(), Foam::tetCutPrism01(), Foam::tetCutPrism23(), Foam::tetCutTet(), Foam::tetReorder(), targetCoeffTrim::thetag(), Matrix< Form, Type >::Tmul(), Matrix< Form, Type >::TmulImpl(), CV2D::toPoint2D(), binaryTree< CompType, ThermoType >::treeSuccessor(), Foam::triCutQuad(), Foam::triCutTri(), Foam::triReorder(), irregularMultiDirectional::Uf(), Grimshaw::Uf(), McCowan::Uf(), StokesI::UfBase(), StokesII::UfBase(), pointConstraint::unconstrainedDirections(), azizChen::unscaledEnergy(), Foam::unzip(), Foam::unzipCols(), Foam::unzipRows(), SHF< CloudType >::update(), LISAAtomization< CloudType >::update(), KinematicLookupTableInjection< CloudType >::updateMesh(), ReactingLookupTableInjection< CloudType >::updateMesh(), ReactingMultiphaseLookupTableInjection< CloudType >::updateMesh(), ThermoLookupTableInjection< CloudType >::updateMesh(), colourTable::value(), PatchExprField< Type >::value(), CodedField< Type >::value(), UniformValueField< Type >::value(), Function1Expression< Type >::value(), CodedFunction1< Type >::value(), Polynomial< Type >::value(), TableBase< Type >::value(), Polynomial< PolySize >::value(), polynomialFunction::value(), TimeFunction1< Type >::value(), cubicEqn::value(), linearEqn::value(), quadraticEqn::value(), MappedFile< Type >::value(), Constant< Type >::value(), FieldFunction1< Function1Type >::value(), OneConstant< Type >::value(), sinImplicitFunction::value(), vbedg(), Foam::vectorMag(), Foam::vectorMagSqr(), Relaxation< CloudType >::velocityCorrection(), while(), histogram::write(), regionSizeDistribution::write(), general::writeDict(), eddy::writeSurfaceOBJ(), x3dWriter::writeTemplate(), graph::writer::writeXY(), general::x(), Foam::XYZ_to_LAB(), Foam::XYZ_to_RGB(), Foam::zip(), Foam::zipCols(), and Foam::zipRows().