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(), cyclicPolyPatch::calcTransforms(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), TableBase< Type >::check(), interpolationTable< scalar >::check(), Foam::checkNonManifoldEdge(), interpolation2DTable< scalar >::checkOrder(), triSurface::checkTriangles(), cyclicAMIPolyPatch::clone(), cellSizeFunction::coeffsDict(), triFace::collapse(), pointConstraint::combine(), contactAngleForce::correct(), LRR< BasicTurbulenceModel >::correct(), gaussGrad< Type >::correctBoundaryConditions(), Foam::fvc::correctRhoUf(), Foam::fvc::correctUf(), dynamicRefineFvMesh::count(), meshRefinement::createZoneBaffles(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), TroeFallOffFunction::ddc(), TroeFallOffFunction::ddT(), JanevReactionRate::ddT(), powerSeriesReactionRate::ddT(), QRMatrix< MatrixType >::decompose(), absorptionEmissionModel::dict(), 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(), flowRateInletVelocityFvPatchVectorField::flowRateInletVelocityFvPatchVectorField(), flowRateOutletVelocityFvPatchVectorField::flowRateOutletVelocityFvPatchVectorField(), forAll(), Foam::gAverage(), meshRefinement::gAverage(), get_edge_list(), get_num_edges_list(), boundaryMesh::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(), faceAreaWeightAMI::interArea(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), Foam::interpolateXY(), interpolation2DTable< scalar >::interpolation2DTable(), intersectedSurface::intersectedSurface(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), Foam::invertManyToMany(), ivec_indicator(), ivec_sorted_unique(), temperatureCoupledBase::kappa(), lduPrimitiveMesh::lduPrimitiveMesh(), primitiveMesh::makeFaceCentresAndAreas(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), matchedFlowRateOutletVelocityFvPatchVectorField::matchedFlowRateOutletVelocityFvPatchVectorField(), conformalVoronoiMesh::maxSurfaceProtrusion(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), Cloud< streamLineParticle >::move(), regionModel1D::moveMesh(), multiNormal::multiNormal(), Foam::mvBak(), NamedEnum< directionType, 3 >::names(), surfaceLocation::normal(), fileOperation::nProcs(), meshWave::nUnset(), minEqOp< labelPair >::operator()(), listPlusEqOp< T >::operator()(), lessProcPatches::operator()(), findUniqueIntersectOp::operator()(), directionalDiffusivity::operator()(), motionDirectionalDiffusivity::operator()(), TroeFallOffFunction::operator()(), sector::operator()(), powerSeriesReactionRate::operator()(), JanevReactionRate::operator()(), interpolationTable< scalar >::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-=(), SquareMatrix< cmptType >::operator=(), interpolationTable< scalar >::operator[](), interpolationLookUpTable< scalar >::operator[](), UPtrList< T >::iterator::operator[](), UPtrList< T >::const_iterator::operator[](), multiComponentMixture< ThermoType >::patchFaceMixture(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), surfaceFieldValue::processValues(), projectFace::project(), interpolationTable< scalar >::rateOfChange(), triangle< Point, PointRef >::ray(), STARCD::readCells(), Foam::readLabel(), Foam::readULabel(), cyclicRepeatAMIPolyPatch::resetAMI(), ODESolver::resizeField(), Foam::rotateList(), adiabaticPerfectFluid< Specie >::S(), s_len_trim(), general::sample(), multiNormal::sample(), mappedPatchBase::samplePoints(), rotorDiskSource::setFaceArea(), ConeInjection< CloudType >::setPositionAndCell(), ConeInjection< CloudType >::setProperties(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), Matrix< RectangularMatrix< Type >, Type >::shallowResize(), List< Field< scalar > >::size(), cellQuality::skewness(), snappyRefineDriver::snappyRefineDriver(), ParSortableList< Type >::sort(), fileOperation::splitProcessorPath(), SquareMatrix< cmptType >::SquareMatrix(), ensightFile::subDir(), Matrix< RectangularMatrix< Type >, Type >::T(), TAB< CloudType >::TAB(), ThermoCloud< Foam::DSMCCloud >::Tmax(), ThermoCloud< Foam::DSMCCloud >::Tmin(), fft::transform(), MeshedSurface< Foam::face >::triangulate(), thermo< Thermo, Type >::typeName(), Foam::uniqueOrder(), TAB< CloudType >::update(), movingWallVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), patchDistMethod::updateMesh(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), faceZoneSet::updateMesh(), 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(), while(), ensightFile::write(), streamLine::write(), MeshedSurface< Foam::face >::writeStats(), sha1streambuf::xsputn(), 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(), laminar< ReactionThermo >::correct(), argList::displayDoc(), dictionary::isNull(), cell::labels(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::meshEdges(), NamedEnum< directionType, 3 >::names(), Foam::operator==(), HashSet< label, Hash< label > >::operator==(), HashSet< label, Hash< label > >::operator[](), HashSet< label, Hash< label > >::operator^=(), argList::parse(), perm_check(), fvMeshDistribute::printCoupleInfo(), eddyViscosity< RASModel< BasicTurbulenceModel > >::R(), GeometricField< Type, PatchField, GeoMesh >::Boundary::readField(), PFA< CompType, ThermoType >::reduceMechanism(), DRG< CompType, ThermoType >::reduceMechanism(), DAC< CompType, ThermoType >::reduceMechanism(), DRGEP< CompType, ThermoType >::reduceMechanism(), rigidBodyMeshMotion::rigidBodyMeshMotion(), timeSelector::select(), Time::setControls(), solution::solutionDict(), and fieldValueDelta::write().
scalar random = rndGen.sample01<scalar>() |
Definition at line 33 of file TABSMDCalcMethod2.H.
Definition at line 45 of file TABSMDCalcMethod2.H.