TABSMDCalcMethod2.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 (!found &&(n< 100))
 

Variables

scalar delta = rs/factorGamma
 
scalar minValue = min(d/2.0, 0.04*rs)
 
scalar maxValue = rs*4.0
 
scalar range = maxValue - minValue
 
scalar nExp = 3.5
 
FixedList< scalar, 100 > rrd
 
scalar probFactorMin = exp(-pow(minValue/delta, nExp))
 
scalar probFactorMax = exp(-pow(maxValue/delta, nExp))
 
scalar probFactor = 1./(probFactorMin - probFactorMax)
 
label n = 0
 
bool found = false
 
scalar random = rndGen.sample01<scalar>()
 
 rNew = minValue + range*(n - 0.5)/100.0
 

Function Documentation

◆ if()

if ( )

Definition at line 12 of file TABSMDCalcMethod2.H.

References maxValue, and minValue.

◆ forAll()

forAll ( rrd  ,
n   
)

Definition at line 25 of file TABSMDCalcMethod2.H.

References delta, Foam::exp(), minValue, n, nExp, Foam::pow(), probFactor, probFactorMin, range, and rrd.

Here is the call graph for this function:

◆ while()

while ( !found &&  n< 100)

Definition at line 35 of file TABSMDCalcMethod2.H.

References found, n, random, and rrd.

Variable Documentation

◆ delta

scalar delta = rs/factorGamma

Definition at line 5 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ minValue

scalar minValue = min(d/2.0, 0.04*rs)

Definition at line 7 of file TABSMDCalcMethod2.H.

Referenced by forAll(), and if().

◆ maxValue

scalar maxValue = rs*4.0

Definition at line 8 of file TABSMDCalcMethod2.H.

Referenced by if().

◆ range

scalar range = maxValue - minValue

Definition at line 10 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ nExp

scalar nExp = 3.5

Definition at line 18 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ rrd

FixedList<scalar, 100> rrd

Definition at line 19 of file TABSMDCalcMethod2.H.

Referenced by forAll(), and while().

◆ probFactorMin

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

Definition at line 21 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ probFactorMax

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

Definition at line 22 of file TABSMDCalcMethod2.H.

◆ probFactor

scalar probFactor = 1./(probFactorMin - probFactorMax)

Definition at line 23 of file TABSMDCalcMethod2.H.

Referenced by forAll().

◆ n

label n = 0

Definition at line 31 of file TABSMDCalcMethod2.H.

Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), preserveBaffles::add(), distribution::add(), Distribution< Type >::add(), ISQP::allocateBoundMultipliers(), temperatureCoupledBase::alpha(), setAndNormalToFaceZone::applyToSet(), normalToFace::applyToSet(), face::areaNormal(), Foam::average(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), binaryTree< CompType, ThermoType >::balance(), uniformBin::binAddr(), Foam::BitOps::bit_count(), faceAreaIntersect::calc(), Foam::meshTools::calcBoxPointNormals(), maxDeltaxyz::calcDelta(), cellToFaceStencil::calcFaceStencil(), cutCell::calcGeomDataCutFace(), faceAreaWeightAMI::calcInterArea(), Foam::calcPE15(), Foam::calcQE11(), Foam::calcQE16(), sampledSet::calcSign(), cutFace::calcSubFaceCentreAndArea(), fieldAverageItem::calculateMeanField(), nutUBlendedWallFunctionFvPatchScalarField::calcUTau(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), triSurface::checkTriangles(), averageNeighbourFvGeometryScheme::clipFaceTet(), averageNeighbourFvGeometryScheme::clipPyramids(), triFace::collapse(), edge::collapse(), wallDistAddressing::collectPatchFields(), processorColour::colour(), pointConstraint::combine(), constraintProjection::computeCorrection(), MMA::computeNewtonDirection(), ISQP::computeResiduals(), MMA::computeResiduals(), reconstructedDistanceFunction::constructRDF(), face::contactSphereDiameter(), directionalDiffusivity::correct(), motionDirectionalDiffusivity::correct(), meshWaveAddressing::correct(), exact::correct(), directionalMeshWave::correct(), meshWave::correct(), Poisson::correct(), LRR< BasicTurbulenceModel >::correct(), contactAngleForce::correct(), EBRSM< BasicTurbulenceModel >::correct(), advectionDiffusion::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), regionProperties::count(), PtrListDetail< const Foam::UList >::count(), CStringList::count(), edge::count(), meshRefinement::countFaceDirs(), ReynoldsAnalogy::Cp(), Foam::BitSetOps::create(), filmTurbulenceModel::Cw(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), binModel::decomposePatchValues(), kahipDecomp::decomposeSerial(), scotchDecomp::decomposeSerial(), formattingEntry::defaultName(), patchIdentifier::defaultName(), geometricSurfacePatch::defaultName(), surfZoneIdentifier::defaultName(), solarCalculator::diffuseSolarRad(), Foam::discard(), faceSet::distribute(), pointSet::distribute(), cellSet::distribute(), Foam::fam::div(), Foam::fac::div(), dmat_transpose_print(), dmat_transpose_print_some(), dmat_uniform(), dtris2(), meshRefinement::dupNonManifoldBoundaryPoints(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_print(), dvec_swap(), PatchTools::edgeNormals(), triSurfaceTools::edgeSide(), foamVtkBase64Layer::encodedLength(), base64Layer::encodedLength(), formatter::encodedLength(), edge::erase(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), NASCore::faceDecomposition(), ABAQUSCore::faceDecomposition(), primitiveMeshTools::faceFlatness(), Patch::faceNormals(), cellQuality::faceSkewness(), faceTriangulation::faceTriangulation(), Foam::factorial(), Antal::Fi(), TomiyamaWallLubrication::Fi(), Frank::Fi(), sensitivitySurfacePoints::finalisePointSensitivities(), refinementSurfaces::findAllIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), searchableSurfacesQueries::findNearest(), face::flip(), for(), forAll(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), Foam::gAverage(), meshRefinement::gAverage(), fvMeshDistribute::generateTestField(), get_edge_list(), get_num_edges_list(), boundaryMesh::getNearest(), searchablePlane::getNormal(), Foam::fac::grad(), LBFGS::HessianDiag(), if(), imat_transpose_print(), imat_transpose_print_some(), memorybuf::in_base::in_base(), memorybuf::in_dynamic::in_dynamic(), Foam::Math::incGammaRatio_Q(), formatter::indent(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< Foam::DSMCCloud >::info(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::info(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZoneAndDirection(), fluxSummary::initialiseSurfaceAndDirection(), Foam::stringOps::inplaceRemoveComments(), Foam::inplaceRotateList(), triangle2D::interArea(), Foam::interpolate(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), interpolationTable< scalar >::interpolateValue(), Foam::interpolateXY(), intersectedSurface::intersectedSurface(), updateMethod::inv(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), wallBoundedParticle::isTriAlongTrack(), ivec_heap_d(), ivec_indicator(), ivec_sort_heap_a(), ivec_sorted_unique(), Foam::Elliptic::JacobiAmp(), thermoCoupleProbes::jacobian(), temperatureCoupledBase::kappa(), dictionary::keys(), thermo< Thermo, Type >::Kn(), lduPrimitiveMesh::lduPrimitiveMesh(), ISQP::lineSearch(), MMA::lineSearch(), LUscalarMatrix::LUscalarMatrix(), primitiveMeshTools::makeFaceCentresAndAreas(), deltaBoundary::makeFaceCentresAndAreas_d(), averageNeighbourFvGeometryScheme::makePyrHeights(), gradAlpha::mapAlphaField(), plicRDF::mapAlphaField(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), cellToCellStencil::merge(), cellToFaceStencil::merge(), zoneCellStencils::merge(), meshRefinement::mergeEdgesUndo(), McCowan::mn(), regionModel1D::moveMesh(), Foam::mvBak(), adjointSolverManager::nActiveAdjointSolvers(), designVariablesUpdate::nAdjointSolvers(), regionProperties::names(), ijkMesh::nBoundaryFaces(), Foam::fac::ndiv(), List< Field< scalar > >::newElmt(), McCowan::newtonRapsonF2(), sliceRange::indexer::next(), ijkMesh::nFaces(), coordSetWriter::nFields(), surfaceWriter::nFields(), faPatch::ngbPolyPatchPointNormals(), Foam::fac::ngrad(), ijkMesh::nInternalFaces(), surfaceLocation::normal(), oversetFvMeshBase::normalisation(), ijkMesh::nPoints(), MeshedSurface< Foam::face >::nTriangles(), TroeFallOffFunction::operator()(), powerSeriesReactionRate::operator()(), JanevReactionRate::operator()(), sector::operator()(), csvTableReader< Type >::operator()(), polyline::operator()(), sliceRange::const_iterator::operator+(), IntRange< IntType >::const_iterator::operator+(), sliceRange::const_reverse_iterator::operator+(), IntRange< IntType >::const_reverse_iterator::operator+(), IntRange< label >::operator+=(), sliceRange::const_iterator::operator+=(), IntRange< IntType >::const_iterator::operator+=(), sliceRange::const_reverse_iterator::operator+=(), IntRange< IntType >::const_reverse_iterator::operator+=(), Matrix< RectangularMatrix< Type >, Type >::operator+=(), sliceRange::const_iterator::operator-(), IntRange< IntType >::const_iterator::operator-(), sliceRange::const_reverse_iterator::operator-(), IntRange< IntType >::const_reverse_iterator::operator-(), IntRange< label >::operator-=(), sliceRange::const_iterator::operator-=(), IntRange< IntType >::const_iterator::operator-=(), sliceRange::const_reverse_iterator::operator-=(), IntRange< IntType >::const_reverse_iterator::operator-=(), Matrix< RectangularMatrix< Type >, Type >::operator-=(), Foam::operator<<(), SymmetricSquareMatrix< Type >::operator=(), SquareMatrix< cmptType >::operator=(), pressureNormalInletOutletVelocityFvPatchVectorField::operator=(), pressurePermeableAlphaInletOutletVelocityFvPatchVectorField::operator=(), interpolationTable< scalar >::operator[](), interpolationLookUpTable< scalar >::operator[](), sliceRange::const_iterator::operator[](), IntRange< IntType >::const_iterator::operator[](), sliceRange::const_reverse_iterator::operator[](), IntRange< IntType >::const_reverse_iterator::operator[](), memorybuf::out_base::out_base(), faceAreaWeightAMI::overlaps(), faceAreaIntersect::overlaps(), scalarRanges::parse(), SortableList< T >::partialReverseSort(), SortableList< T >::partialSort(), particle< Type >::patchData(), multiComponentMixture< ThermoType >::patchFaceMixture(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), noiseFFT::Pf(), noiseModel::Pf(), cyclicAMIPolyPatch::pointFace(), ijkMesh::pointLabel(), PatchTools::pointNormals(), points_delaunay_naive_2d(), PtrDynList< Foam::profilingInformation >::pop_back(), List< Field< scalar > >::pop_back(), DynamicField< Foam::vector >::pop_back(), CircularBuffer< T >::pop_back(), DynamicList< Foam::vector >::pop_back(), PackedList< 2 >::pop_back(), ILList< LListBase, T >::pop_front(), LPtrList< LListBase, T >::pop_front(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::pop_front(), CircularBuffer< T >::pop_front(), eddy::position(), polyline::positionAndDirection(), FaceInteraction< CloudType >::postFace(), sliceRange::indexer::prev(), decompositionInformation::printDetails(), surfaceFieldValue::processSameTypeValues(), volFieldValue::processValues(), surfaceFieldValue::processValues(), projectFace::project(), cellModel::ptr(), List< Field< scalar > >::push_back(), DynamicList< Foam::vector >::push_back(), interpolationTable< scalar >::rateOfChange(), face::ray(), triangle< Point, PointRef >::ray(), uniformBin::read(), Foam::readBlock(), STARCDMeshReader::readCells(), reader::readField(), FIREMeshReader::readPoints(), FIRECore::readPoints(), fft::realTransform1D(), string::removeEnd(), AMIWeights::reportPatch(), ocharstream::reserve(), OCharStream::reserve(), ocountstream::reset(), OCountStream::reset(), memorybuf::in_dynamic::reset(), memorybuf::in_base::resetg(), memorybuf::out_base::resetp(), adaptiveSolver::resize(), SquareMatrix< cmptType >::resize(), IntRange< label >::resize(), globalIndex::resize(), FixedList< point, 2 >::resize(), token::Compound< T >::resize(), Matrix< RectangularMatrix< Type >, Type >::resize(), FixedList< point, 2 >::resize_fill(), FixedList< point, 2 >::resize_nocopy(), ODESolver::resizeField(), CircularBuffer< T >::reverse(), Foam::reverse(), ReynoldsAnalogy::rho(), Foam::rotateList(), adiabaticPerfectFluid< Specie >::S(), s_len_trim(), general::sample(), mappedPatchBase::samplePoints(), PPCG::scalarSolveCG(), Foam::BitOps::select(), UList< Foam::vector >::setAddressableSize(), UPtrList< const Foam::UList >::setAddressableSize(), PtrListDetail< const Foam::UList >::setAddressableSize(), rotorDiskSource::setFaceArea(), vtuSizing::setNumAddPoints(), vtuSizing::setNumPoints(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), IntRange< label >::setSize(), Matrix< RectangularMatrix< Type >, Type >::setSize(), PackedList< 2 >::setSize(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), Matrix< RectangularMatrix< Type >, Type >::shallowResize(), ISQP::ShermanMorrisonRank1Update(), cellQuality::skewness(), ensightSurfaceReader::skip(), ITstream::skip(), ParSortableList< Type >::sort(), regionProperties::sortedNames(), meshRefinement::splitFacesUndo(), SquareMatrix< cmptType >::SquareMatrix(), LBFGS::SR1HessianDiag(), AMIInterpolation::srcPointFace(), Foam::stepBackwardsToNextPoint(), Foam::stepForwardsToNextPoint(), string::string_printf(), Foam::subsetSubset(), reconstructionSchemes::surface(), interfaceTrackingFvMesh::surfaceTensionGrad(), SquareMatrix< cmptType >::symmetric(), Matrix< RectangularMatrix< Type >, Type >::T(), TAB< CloudType >::TAB(), fvMeshDistribute::testField(), AMIInterpolation::tgtPointFace(), dictionary::toc(), ensightFaces::totalSize(), ensightCells::totalSize(), wallBoundedParticle::trackFaceTri(), wallBoundedParticle::trackToEdge(), Matrix< RectangularMatrix< Type >, Type >::transpose(), triangle< Point, PointRef >::triangleOverlap(), MeshedSurface< Foam::face >::triangulate(), SquareMatrix< cmptType >::tridiagonal(), pointConstraint::unconstrainedDirections(), face::unitNormal(), triangle< Point, PointRef >::unitNormal(), TAB< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressurePermeableAlphaInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), primitiveMeshTools::updateFaceCentresAndAreas(), topODesignVariables::updateField(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), ISQP::updateSizes(), MMA::updateSizes(), solverInfo::updateSolverInfo(), eddy::uPrime(), movingWallVelocityFvPatchVectorField::Uwall(), sliceRange::indexer::value(), Foam::meshTools::visNormal(), faNVDscheme< Type, NVDweight >::weights(), while(), ensightCase::options::width(), foamVtkBase64Layer::write(), legacyRawFormatter::write(), appendRawFormatter::write(), Foam::vtk::write(), ABAQUSsurfaceFormat< Face >::write(), base64Layer::write(), OBJstream::write(), areaWrite::write(), ParticleZoneInfo< CloudType >::write(), Foam::vtk::write< double >(), Foam::vtk::write< float >(), Foam::vtk::write< label >(), eddy::writeCentreOBJ(), topoSet::writeDebug(), advancingFrontAMI::writeIntersectionOBJ(), MeshedSurface< Foam::face >::writeStats(), eddy::writeSurfaceOBJ(), streamLineBase::writeToFile(), Foam::Xinterpolate(), memorybuf::in_base::xsgetn(), memorybuf::out_base::xsputn(), memorybuf::out_dynamic::xsputn(), Foam::XstepForwardsToNextPoint(), and meshRefinement::zonify().

◆ found

bool found = false

Definition at line 32 of file TABSMDCalcMethod2.H.

Referenced by fieldAverage::addMeanFieldType(), fieldAverage::addPrime2MeanFieldType(), cellZoneSet::addSet(), pointZoneSet::addSet(), directMethod::appendToDirectSeeds(), patchInteractionDataList::applyToPatch(), enrichedPatch::checkSupport(), AMIInterpolation::checkSymmetricWeights(), meshRefinement::collectFaces(), eddy::eddy(), Foam::findEtcEntry(), Foam::findEtcFile(), Foam::FOAM_DEPRECATED_FOR(), parseDriver::getField(), properties::getObjectDict(), properties::getObjectProperty(), properties::getObjectResult(), MMA::getOrDefaultScalarField(), properties::hasObjectDict(), properties::hasResultObjectEntry(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::meshEdges(), multiphaseInterSystem::multiphaseInterSystem(), triSurface::New(), nullSpace::nullSpace(), properties::objectResultEntries(), properties::objectResultNames(), properties::objectResultType(), Foam::operator==(), dictionary::operator|=(), parseDriver::patchInternalField(), parseDriver::patchNeighbourField(), parseDriver::patchNormalField(), perm_check(), perrorParse(), eddyViscosity< RASModel< BasicTurbulenceModel > >::R(), MapFieldConstraint< Type >::read(), GeometricBoundaryField< Foam::vector, Foam::fvPatchField, Foam::volMesh >::readField(), updateMethod::readOrZeroField(), DRG< CompType, ThermoType >::reduceMechanism(), PFA< CompType, ThermoType >::reduceMechanism(), DAC< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), timeSelector::select(), cellSetOption::setCellSelection(), properties::setObjectProperty(), properties::setObjectResult(), MMA::setOrDefaultScalarField(), twoPhaseSystem::solve(), cellZoneSet::subset(), pointZoneSet::subset(), topoBitSet::subset(), propellerInfo::updateSampleDiskCells(), while(), STARCDsurfaceFormat< Face >::write(), ABAQUSsurfaceFormat< Face >::write(), NASsurfaceFormat< Face >::write(), FIREMeshWriter::write(), properties::writeAllResultEntries(), Foam::vtk::writeCellSetFaces(), properties::writeResultEntries(), and nastranWriter::writeTemplate().

◆ random

scalar random = rndGen.sample01<scalar>()

Definition at line 33 of file TABSMDCalcMethod2.H.

Referenced by while().

◆ rNew

rNew = minValue + range*(n - 0.5)/100.0

Definition at line 45 of file TABSMDCalcMethod2.H.