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 | |
if | ( | ) |
Definition at line 12 of file TABSMDCalcMethod2.H.
Definition at line 25 of file TABSMDCalcMethod2.H.
References Foam::exp(), n, and Foam::pow().
while | ( | !found && | n< 100 | ) |
Definition at line 35 of file TABSMDCalcMethod2.H.
scalar delta = rs/factorGamma |
Definition at line 5 of file TABSMDCalcMethod2.H.
scalar minValue = min(d/2.0, 0.04*rs) |
Definition at line 7 of file TABSMDCalcMethod2.H.
scalar maxValue = rs*4.0 |
Definition at line 8 of file TABSMDCalcMethod2.H.
Definition at line 10 of file TABSMDCalcMethod2.H.
scalar nExp = 3.5 |
Definition at line 18 of file TABSMDCalcMethod2.H.
FixedList<scalar, 100> rrd |
Definition at line 19 of file TABSMDCalcMethod2.H.
Definition at line 21 of file TABSMDCalcMethod2.H.
Definition at line 22 of file TABSMDCalcMethod2.H.
scalar probFactor = 1./(probFactorMin - probFactorMax) |
Definition at line 23 of file TABSMDCalcMethod2.H.
label n = 0 |
Definition at line 31 of file TABSMDCalcMethod2.H.
Referenced by greyMean::aCont(), wideBand::aCont(), preserveBafflesConstraint::add(), distribution::add(), normalToFace::applyToSet(), Foam::average(), Matrix< RectangularMatrix< Type >, Type >::block(), cellToFaceStencil::calcFaceStencil(), decomposedBlockData::calcNumProcs(), Foam::calcPE15(), interpolationCellPointWallModified< Type >::calcPointField(), Foam::calcQE11(), Foam::calcQE16(), lineFace::calcSamples(), Foam::checkNonManifoldEdge(), triSurface::checkTriangles(), nonConformalCyclicPolyPatch::clone(), cellSizeFunction::coeffsDict(), triFace::collapse(), pointConstraint::combine(), contactAngleForce::correct(), meshWave::correct(), LRR< BasicMomentumTransportModel >::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), meshRefinement::createZoneBaffles(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), TroeFallOffFunction::ddPr(), TroeFallOffFunction::ddT(), JanevReactionRate::ddT(), powerSeriesReactionRate::ddT(), QRMatrix< MatrixType >::decompose(), absorptionEmissionModel::dict(), patchDistMethod::distribute(), distributionMap::distributionMap(), dmat_uniform(), dtris2(), Foam::duplicateOrder(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_swap(), triSurfaceTools::edgeSide(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), triSurfaceMesh::extractPointCloseness(), extrudePatchMesh::extrudePatchMesh(), primitiveMeshTools::faceFlatness(), cellQuality::faceSkewness(), Foam::factorial(), refinementSurfaces::findAllHigherIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), searchableSurfacesQueries::findNearest(), face::flip(), flowRateOutletVelocityFvPatchVectorField::flowRateOutletVelocityFvPatchVectorField(), forAll(), interfaceProperties::fraction(), Foam::gAverage(), meshRefinement::gAverage(), repatchMesh::getNearest(), correctorConvergenceControl::getNSolves(), treeDataFace::getVolumeType(), string::hash::hash(), if(), Foam::incGammaRatio_Q(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< Foam::DSMCCloud >::info(), Foam::inplaceRotateList(), tetrahedron< Point, PointRef >::inside(), linearInterpolationWeights::integrationWeights(), faceAreaWeightAMI::interArea(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), Foam::invertManyToMany(), ivec_indicator(), ivec_sorted_unique(), temperatureCoupledBase::kappa(), lduPrimitiveMesh::lduPrimitiveMesh(), momentOfInertia::massPropertiesSolid(), matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), conformalVoronoiMesh::maxSurfaceProtrusion(), cellToFaceStencil::merge(), cellToCellStencil::merge(), meshRefinement::mergeEdgesUndo(), regionModel1D::moveMesh(), movingWallSlipVelocityFvPatchVectorField::movingWallSlipVelocityFvPatchVectorField(), multiNormal::multiNormal(), Foam::mvBak(), NamedEnum< compressibleField, 8 >::names(), polygonTriangulate::nIntersections(), surfaceLocation::normal(), fileOperation::nProcs(), listPlusEqOp< T >::operator()(), findUniqueIntersectOp::operator()(), lessProcPatches::operator()(), directionalDiffusivity::operator()(), motionDirectionalDiffusivity::operator()(), TroeFallOffFunction::operator()(), sector::operator()(), JanevReactionRate::operator()(), powerSeriesReactionRate::operator()(), string::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), masterUncollatedFileOperation::readDirOp::operator()(), UPtrList< T >::iterator::operator+(), UPtrList< T >::const_iterator::operator+(), UPtrList< T >::iterator::operator+=(), UPtrList< T >::const_iterator::operator+=(), UPtrList< T >::iterator::operator-(), UPtrList< T >::const_iterator::operator-(), UPtrList< T >::iterator::operator-=(), UPtrList< T >::const_iterator::operator-=(), Foam::triIntersect::operator<<(), SquareMatrix< Foam::Field *>::operator=(), interpolationLookUpTable::operator[](), UPtrList< T >::iterator::operator[](), UPtrList< T >::const_iterator::operator[](), patchToPatch::patchDistributionMap(), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), surfaceFieldValue::processValues(), projectFace::project(), polygonTriangulate::randomPolygon(), triangle< Point, PointRef >::ray(), STARCD::readCells(), Foam::readLabel(), Foam::readULabel(), string::removeRepeated(), string::removeTrailing(), ODESolver::resizeField(), Foam::rotateList(), s_len_trim(), multiNormal::sample(), general::sample(), mappedPatchBase::samplePoints(), ConeInjection< CloudType >::setPositionAndCell(), ConeInjection< CloudType >::setProperties(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), sha1streambuf::sha1(), Matrix< RectangularMatrix< Type >, Type >::shallowResize(), List< Field< scalar > >::size(), cellQuality::skewness(), snappyRefineDriver::snappyRefineDriver(), ParSortableList< Type >::sort(), adiabaticPerfectFluid< Specie >::Sp(), fileOperation::splitProcessorPath(), SquareMatrix< Foam::Field *>::SquareMatrix(), intersection::srcBoxStatic(), ensightFile::subDir(), Matrix< RectangularMatrix< Type >, Type >::T(), TAB< CloudType >::TAB(), ThermoCloud< Foam::DSMCCloud >::Tmax(), ThermoCloud< Foam::DSMCCloud >::Tmin(), cellZoneSet::topoChange(), pointZoneSet::topoChange(), faceZoneSet::topoChange(), fft::transform(), cyclicAMIPolyPatch::transform(), MeshedSurface< Foam::face >::triangulate(), thermo< Thermo, Type >::typeName(), Foam::uniqueOrder(), TAB< CloudType >::update(), movingWallSlipVelocityFvPatchVectorField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), USERD_get_gold_part_build_info(), USERD_get_gold_variable_info(), USERD_get_maxsize_info(), USERD_get_nfaced_conn(), USERD_get_nfaced_nodes_per_face(), USERD_get_part_element_ids_by_type(), USERD_get_part_elements_by_type(), USERD_get_sol_times(), USERD_set_filenames(), linearInterpolationWeights::valueWeights(), while(), ensightFile::write(), MeshedSurface< Foam::face >::writeStats(), meshRefinement::zonify(), adaptiveSolver::~adaptiveSolver(), linearDistance::~linearDistance(), linearSpatial::~linearSpatial(), medialAxisMeshMover::~medialAxisMeshMover(), ODESolver::~ODESolver(), surfaceOffsetLinearDistance::~surfaceOffsetLinearDistance(), uniform::~uniform(), and uniformDistance::~uniformDistance().
bool found = false |
Definition at line 32 of file TABSMDCalcMethod2.H.
Referenced by directMethod::appendToDirectSeeds(), enrichedPatch::checkSupport(), meshRefinement::collectFaces(), Foam::debug::debugSwitch(), MeshObject< fvMesh, MoveableMeshObject, CentredFitSnGradData< Polynomial > >::Delete(), solution::dict(), argList::displayDoc(), fieldsExpression::execute(), Foam::debug::floatOptimisationSwitch(), fvConstraints::fvConstraints(), fvModels::fvModels(), Foam::debug::infoSwitch(), dictionary::isNull(), cell::labels(), PrimitivePatch< IndirectList< face >, const pointField & >::meshEdges(), NamedEnum< compressibleField, 8 >::names(), MeshObject< fvMesh, MoveableMeshObject, CentredFitSnGradData< Polynomial > >::New(), Foam::operator==(), HashSet< Foam::triFace, Foam::Hash< Foam::triFace > >::operator==(), HashSet< Foam::triFace, Foam::Hash< Foam::triFace > >::operator[](), HashSet< Foam::triFace, Foam::Hash< Foam::triFace > >::operator^=(), Foam::debug::optimisationSwitch(), argList::parse(), perm_check(), fvMeshDistribute::printCoupleInfo(), GeometricBoundaryField< vector, pointPatchField, pointMesh >::readField(), DRG< ThermoType >::reduceMechanism(), PFA< ThermoType >::reduceMechanism(), DAC< ThermoType >::reduceMechanism(), DRGEP< ThermoType >::reduceMechanism(), timeSelector::select(), Time::setControls(), eddyViscosity< LESModel< BasicMomentumTransportModel > >::sigma(), Foam::debug::wordOptimisationSwitch(), fieldValueDelta::write(), regionSizeDistribution::write(), and codedBase::writeCode().
scalar random = rndGen.sample01<scalar>() |
Definition at line 33 of file TABSMDCalcMethod2.H.
Definition at line 45 of file TABSMDCalcMethod2.H.